定制 artsci-webteam/terminus-mass-update 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

artsci-webteam/terminus-mass-update

最新稳定版本:1.0.0

Composer 安装命令:

composer require artsci-webteam/terminus-mass-update

包简介

Apply upstream updates to all of your sites with post-deploy tasks

README 文档

README

A Terminus plugin to apply upstream updates to multiple sites at once, with post-deploy tasks.

Features

  • Terminus 3 & 4 compatible — handles the checkProgressWorkflowProcessingTrait migration
  • Organization support — use --org=<uuid> instead of piping from site:list
  • Post-deploy tasks — run drush updb, drush cim, and drush cr after applying updates
  • Frozen site detection — automatically skips frozen sites
  • Git mode check — skips sites not in git mode
  • Dry run mode — preview what would be updated without making changes
  • Summary report — shows total/succeeded/failed/skipped counts

Installation

git clone https://github.com/artsci-webteam/terminus-mass-update.git
terminus self:plugin:install /path/to/terminus-mass-update

Usage

Apply Updates

# Apply upstream updates to a single site
echo "wustl-itartsci" | terminus site:mass-update:apply --accept-upstream

Using organization UUID (recommended for your setup):

# Apply upstream updates to all sites in your org
terminus site:mass-update:apply --org=885ff9a3-c5b0-4d79-baea-3eb9f4dd0008 --accept-upstream

# Apply with post-deploy tasks
terminus site:mass-update:apply \
  --org=885ff9a3-c5b0-4d79-baea-3eb9f4dd0008 \
  --accept-upstream \
  --updatedb \
  --config-import \
  --cache-clear

# Dry run first
terminus site:mass-update:apply \
  --org=885ff9a3-c5b0-4d79-baea-3eb9f4dd0008 \
  --accept-upstream \
  --dry-run

# Filter by specific upstream
terminus site:mass-update:apply \
  --org=885ff9a3-c5b0-4d79-baea-3eb9f4dd0008 \
  --upstream=YOUR_UPSTREAM_UUID \
  --accept-upstream \
  --updatedb \
  --config-import \
  --cache-clear

Using STDIN (original behavior):

terminus site:list --format=list | terminus site:mass-update:apply --accept-upstream

List Available Updates

# List updates for all sites in org
terminus site:mass-update:list --org=885ff9a3-c5b0-4d79-baea-3eb9f4dd0008

# List with STDIN
terminus site:list --format=list | terminus site:mass-update:list

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固