Skip to content

feat: support purging all deleted projects at once - #115

Open
jirkasemmler wants to merge 1 commit into
mainfrom
jirka/deleted-projects-purge-all
Open

feat: support purging all deleted projects at once#115
jirkasemmler wants to merge 1 commit into
mainfrom
jirka/deleted-projects-purge-all

Conversation

@jirkasemmler

Copy link
Copy Markdown
Contributor

Changes:

  • storage:deleted-projects-purge accepts ALL as projectIds and lists the deleted projects itself via the Manage API (paginated, skipping the ones already purged), instead of requiring a hand-collected list of IDs.
  • Fixed the projectIds argument description: it claimed IDs were space-separated, while the code has always split on commas.
  • README: documented arguments, options and behaviour for this command in the format the neighbouring commands use, and corrected the usage line (argument order was wrong and --ignore-backend-errors was listed twice).

Additional notes

⚠️ Don't forget to release new version after merge

Heads-up: CI on main is already failing at c4ef6b4 for an unrelated reason - phpstan reports 4 errors in FlowMigration/ProjectClientsFactory.php, caused by #111 (manage-api client ^10) landing alongside #113 (FlowMigration); both were green on their own. This PR does not change that count: 4 before, 4 after. Locally phpunit (76 tests) and phpcs are green.

🤖 Generated with Claude Code

`storage:deleted-projects-purge` required an explicit list of project IDs, so
purging everything meant first collecting the IDs by hand. Accept `ALL` and let
the command list the deleted projects itself via the Manage API, paginating and
skipping the ones already purged.

The argument description also said IDs were space-separated while the code has
always split on commas; corrected, and the README section now documents the
arguments, options and behaviour like the neighbouring commands do.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant