Rename repository actions for compatibility with Borg 2 subcommand renames #915

Closed
opened 2024-09-09 14:13:06 +00:00 by witten · 2 comments
Owner

What I'd like to do and why

Borg 2 recently renamed all of its "r*" subcommands like rcreate and rinfo to "repo-*" counterparts like repo-create and repo-info. So as part of this ticket, make the corresponding renames in borgmatic's actions, while still accepting the old action names on the command-line. But don't worry building in compatibility with old versions of Borg 2 that don't accept the newly renamed subcommands; that's not worth the logic and complexity given that Borg 2 is not for production use yet.

Other notes / implementation ideas

No response

### What I'd like to do and why Borg 2 [recently renamed](https://github.com/borgbackup/borg/pull/8358) all of its "r*" subcommands like `rcreate` and `rinfo` to "repo-*" counterparts like `repo-create` and `repo-info`. So as part of this ticket, make the corresponding renames in borgmatic's actions, while still accepting the old action names on the command-line. But don't worry building in compatibility with old versions of Borg 2 that don't accept the newly renamed subcommands; that's not worth the logic and complexity given that Borg 2 is not for production use yet. ### Other notes / implementation ideas _No response_
Author
Owner

Implemented in main and will be part of the next release.

Implemented in main and will be part of the next release.
Author
Owner

Released in borgmatic 1.9.0!

Released in borgmatic 1.9.0!
Sign in to join this conversation.
No Milestone
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#915
No description provided.