Support branch name in .env version #468

Open
opened 2025-01-04 13:44:09 +00:00 by decentral1se · 0 comments
Owner

#453 (comment)

re: supporting RECIPE=backupbot-two:mycoolbranch

That would need:

  • Update Recipe.Get to parse the branch
  • Store the branch name on the Recipe
  • Update git.Clone (and other Git machinery potentially!) to support choosing a specific branch vs. guessing main/master

#453 was abandoned because guessing the branch is a total nightmare but if you have it in the .env then it should be much more doable.

Can someone pick it up? Testing it should be easy in the unit / integration suite as there is already a lot of prior art.

/cc @p4u1 @stevensting

https://git.coopcloud.tech/toolshed/abra/pulls/453#issuecomment-22324 re: supporting `RECIPE=backupbot-two:mycoolbranch` That would need: * Update `Recipe.Get` to parse the branch * Store the branch name on the `Recipe` * Update `git.Clone` (and other Git machinery potentially!) to support choosing a specific branch vs. guessing `main`/`master` https://git.coopcloud.tech/toolshed/abra/pulls/453 was abandoned because guessing the branch is a total nightmare but if you have it in the `.env` then it should be much more doable. Can someone pick it up? Testing it should be easy in the unit / integration suite as there is already a lot of prior art. /cc @p4u1 @stevensting
decentral1se added the
enhancement
label 2025-01-04 13:44:36 +00:00
decentral1se added this to the Abra v0.10.1 project 2025-04-20 05:48:30 +00:00
decentral1se moved this to To Do in Abra v0.10.1 on 2025-04-20 06:06:36 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-20 06:06:40 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:15 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:25 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:35 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:37 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:38 +00:00
decentral1se removed this from the Abra v0.10.1 project 2025-04-24 09:00:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#468
No description provided.