You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(legacy): subtree merge legacy-cli 5.x updates
Merge 31 commits from platformsh/legacy-cli 5.x (adb14ee..08be158).
Notable upstream changes:
- Autoscaling settings: expanded get/set commands
- Variable app-scope: new --app-scope option for var:create/update
- CurlCli: stdout buffering for 401 retry
- Environment push: additional options
- Db dump: new options
- Various config and metadata updates
Conflicts resolved:
- legacy/src/Service/CurlCli.php: took upstream changes, fixed stdout
double-write bug in retry block
- legacy/go-tests/: removed (moved to integration-tests/ in this repo)
Additional changes in this repo:
- Port variable app-scope tests to integration-tests/ with
setupVariableTest helper and two new test functions
- Add ApplicationScope field to mockapi Variable struct
- Remove legacy Makefile go-tests targets (now in integration-tests/)
- Fix data race in api_curl_test with tokenState struct
- Suppress phpstan false positive in CurlCli.php
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update legacy/src/Service/Relationships.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(legacy): address Copilot review on subtree merge
- DbDumpCommand: invert --no-tablespaces condition so the flag is
applied for oracle-mysql (where mysqldump lacks the PROCESS
privilege to dump tablespaces). The upstream fix in
platformsh/legacy-cli#1593 has the inverse condition: it adds the
flag for non-Oracle DBs, leaving oracle-mysql still failing with
"Access denied; you need (at least one of) the PROCESS privilege(s)
for this operation". This local fix should also be sent upstream.
- VariableCommandUtil::listApps: guard against a null default_branch
before calling Api::getEnvironment(string), which would otherwise
TypeError. Matches the existing null check in DomainCommandBase.
- AutoscalingSettingsGet/Set: update AsCommand descriptions to
mention services. Upstream PR #1587 added service-level autoscaling
but left the help text saying "apps and workers" only.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: legacy/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
The **Legacy** Platform.sh CLI is the legacy version of the command-line interface for [Platform.sh](https://platform.sh). For the **current Platform.sh CLI**, check [this repository](https://github.com/platformsh/cli).
1
+
The **Legacy** CLI is the legacy version of the command-line interface for [Upsun (formerly Platform.sh)](https://upsun.com).
2
+
3
+
For the **current Upsun CLI**, check [this repository](https://github.com/platformsh/cli).
2
4
3
5
## Install
4
6
@@ -53,7 +55,7 @@ scoop update platform
53
55
54
56
## Usage
55
57
56
-
You can run the Platform.sh CLI in your shell by typing `platform`.
58
+
You can run this CLI in your shell by typing `platform`.
57
59
58
60
platform
59
61
@@ -96,7 +98,7 @@ Other customization is available via environment variables, including:
96
98
*`PLATFORMSH_CLI_SSH_AUTO_LOAD_CERT`: set to 0 to disable automatic loading of an SSH certificate when running login or SSH commands
97
99
*`PLATFORMSH_CLI_REPORT_DEPRECATIONS`: set to 1 to enable PHP deprecation notices (suppressed by default). They will only be displayed in debug mode (`-vvv`).
98
100
*`CLICOLOR_FORCE`: set to 1 or 0 to force colorized output on or off, respectively
99
-
*`http_proxy` or `https_proxy`: specify a proxy for connecting to Platform.sh
101
+
*`http_proxy` or `https_proxy`: specify an HTTP proxy
0 commit comments