Rework abra recipe release #682

Open
opened 2025-10-01 10:49:00 +00:00 by iexos · 0 comments
Member

Following a recent kite-flying session, here is a proposal broken out of #663 for changes to the release command.

This rework shall serve the following purposes:

  1. simplify releasing a new recipe version
  2. enhancing history readability by prohibiting uncommitted changes to be included in the release commit
  3. solving the issue of release tags not being pushed
  4. preparing the base for adding automatic checks before releasing (separate issues)

The proposal is to make the following changes to abra recipe release:

  • bail out if recipe working directory has uncommitted changes (similar to app deploy without --chaos)
  • execute functionality of recipe sync, i.e. ask for major/minor/patch and add changes to label
    • remove recipe sync command
  • execute existing functionality of recipe release: ask for release notes/pick up release/next, create the commit, create the tag
  • publish release without asking for confirmation
    • remove --publish flag

Regarding the last point, I imagine there was (is?) a good reason that releasing and publishing were separated. Maybe from a time when catalogue generation was less automatic? I assume this separation is not sensible anymore, please tell me if that is not true.

Following a recent kite-flying session, here is a proposal broken out of [#663](https://git.coopcloud.tech/toolshed/organising/issues/663#issuecomment-22329) for changes to the release command. This rework shall serve the following purposes: 1. simplify releasing a new recipe version 2. enhancing history readability by prohibiting uncommitted changes to be included in the release commit 3. solving the issue of release tags not being pushed 4. preparing the base for adding automatic checks before releasing (separate issues) The proposal is to make the following changes to `abra recipe release`: * bail out if recipe working directory has uncommitted changes (similar to `app deploy` without `--chaos`) * execute functionality of `recipe sync`, i.e. ask for major/minor/patch and add changes to label * remove `recipe sync` command * execute existing functionality of `recipe release`: ask for release notes/pick up `release/next`, create the commit, create the tag * publish release without asking for confirmation * remove `--publish` flag Regarding the last point, I imagine there was (is?) a good reason that releasing and publishing were separated. Maybe from a time when catalogue generation was less automatic? I assume this separation is not sensible anymore, please tell me if that is not true.
decentral1se added this to the Abra v0.12 project 2025-10-01 13:21:37 +00:00
decentral1se added the
enhancement
label 2025-10-02 09:11:15 +00:00
decentral1se modified the project from Abra v0.12 to Abra "next" 2025-10-26 09:50:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#682
No description provided.