Skip to content

Commit eb47661

Browse files
committed
feat(regionmigrations): remove the commands
1 parent 137716d commit eb47661

File tree

15 files changed

+25
-1003
lines changed

15 files changed

+25
-1003
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: golangci/golangci-lint-action@v6
3434
with:
3535
# The `only-new-issues` flag is not working (https://github.com/golangci/golangci-lint-action/issues/531).
36-
# We rather decided to use the suggestion from the FAQ (https://golangci-lint.run/usage/faq/#how-to-integrate-golangci-lint-into-large-project-with-thousands-of-issues) and use `--new-from-rev`
36+
# We rather decided to use the suggestion from the FAQ (https://golangci-lint.run/welcome/faq/#how-to-integrate-golangci-lint-into-large-project-with-thousands-of-issues) and use `--new-from-rev`
3737
# only-new-issues: false
3838
args: "--config=$(pwd)/.golangci.yml --new-from-rev=${{ steps.new-from-rev.outputs.NEW_FROM_REV }}"
3939

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
### To be Released
44

5+
* feat(regionmigrations): remove the commands
6+
57
### 1.34.0
68

79
* feat(database/users): raise minimum user password length to 24 ([PR#1077](https://github.com/Scalingo/cli/pull/1077))

README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,32 @@ COMMANDS:
6565
help Shows a list of commands or help for one command
6666
6767
Addons:
68-
addons List used add-ons
69-
addons-add Provision an add-on for your application
70-
addons-remove Remove an existing addon from your app
71-
addons-upgrade Upgrade or downgrade an add-on attached to your app
72-
addons-info Display information about an add-on attached to your app
73-
backups-config Configure the periodic backups of a database
74-
database-enable-feature Enable a togglable feature from a database
75-
database-disable-feature Enable a togglable feature from a database
76-
backups List backups for an addon
77-
backups-create Ask for a new backup
78-
backups-download Download a backup
79-
backup-download Download a backup
68+
addons List used add-ons
69+
addons-add Provision an add-on for your application
70+
addons-remove Remove an existing addon from your app
71+
addons-upgrade Upgrade or downgrade an add-on attached to your app
72+
addons-info Display information about an add-on attached to your app
73+
addons-config Configure an add-on attached to your app
74+
backups-config Configure the periodic backups of a database
75+
database-enable-feature Enable a togglable feature from a database
76+
database-disable-feature Enable a togglable feature from a database
77+
database-users-list, database-list-users Print database's users
78+
database-users-delete, database-delete-user Delete a database's user
79+
database-users-create, database-create-user Create new database user
80+
database-users-update-password, database-update-user-password Update a database user's password
81+
database-maintenance-info Show a database maintenance
82+
backups List backups for an addon
83+
backups-create Ask for a new backup
84+
backups-download Download a backup
85+
backup-download Download a backup
8086
8187
Addons - Global:
8288
addons-list List all addons
8389
addons-plans List plans
8490
91+
Addons Maintenance:
92+
database-maintenance-list List the past and future maintenance on the given database
93+
8594
Alerts:
8695
alerts List the alerts of an application
8796
alerts-add Add an alert to an application metric
@@ -211,13 +220,6 @@ COMMANDS:
211220
keys-add Add a public SSH key to deploy your apps
212221
keys-remove Remove a public SSH key
213222
214-
Region migrations:
215-
migration-create Start migrating an app to another region
216-
migration-run Run a specific migration step
217-
migration-abort Abort a migration
218-
migrations List all migrations linked to an app
219-
migration-follow Follow a running migration
220-
221223
Review Apps:
222224
review-apps Show review apps of the parent application
223225
@@ -316,4 +318,4 @@ You can now update the [changelog](https://doc.scalingo.com/changelog) and tweet
316318
> [Changelog] CLI - Release of version 1.34.0 https://cli.scalingo.com - More news at https://changelog.scalingo.com #cli #paas #changelog #bugfix
317319
318320
Add in a tweets thread the changelog of this new version.
319-
1.34.0
321+
1.34.0

cmd/autocomplete/region_migrations.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

cmd/commands.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,6 @@ var (
281281
&autoscalersDisableCommand,
282282
&autoscalersEnableCommand,
283283

284-
// Migrations
285-
&migrationCreateCommand,
286-
&migrationRunCommand,
287-
&migrationAbortCommand,
288-
&migrationListCommand,
289-
&migrationFollowCommand,
290-
291284
// Log drains
292285
&logDrainsAddCommand,
293286
&logDrainsListCommand,

cmd/region_migrations.go

Lines changed: 0 additions & 177 deletions
This file was deleted.

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module github.com/Scalingo/cli
22

33
go 1.23.4
4-
toolchain go1.24.1
54

65
require (
76
github.com/AlecAivazis/survey/v2 v2.3.7

regionmigrations/confirmations.go

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)