abra catalogue generate gets stuck if any tagged version has an invalid env file #256

Closed
opened 2021-11-22 12:36:13 +00:00 by 3wordchant · 0 comments
Owner

Steps to reproduce

  1. abra catalogue generate foodsoft
  2. Notice an error about FATA[0005] unexpected character "<" in variable name near "hosted by
  3. Fix the env file, commit the change, and re-run abra catalogue generate foodsoft

Describe the expected behavior

Command runs successfully.

Describe the current behavior

[0005] attempting to open git repository in '/home/f/.abra/apps/foodsoft'  caller="/home/user/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:494 GetRecipeVersions"
DEBU[0005] processing '4.7.1' for 'foodsoft'             caller="/home/user/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:514 GetRecipeVersions.func1"
DEBU[0005] successfully checked out 'refs/tags/4.7.1' in '/home/user/.abra/apps/foodsoft'  caller="/home/f/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:526 GetRecipeVersions.func1"
FATA[0005] unexpected character "<" in variable name near "hosted by <a href=\"https://yourhoster.org\">

Any idea how this might be fixed?

Maybe ignoring errors and continuing onto other tags?

Additional information

fdf4fc6 with local changes.

## Steps to reproduce 1. `abra catalogue generate foodsoft` 2. Notice an error about `FATA[0005] unexpected character "<" in variable name near "hosted by` 3. Fix the env file, commit the change, and re-run `abra catalogue generate foodsoft` ## Describe the expected behavior Command runs successfully. ## Describe the current behavior ``` [0005] attempting to open git repository in '/home/f/.abra/apps/foodsoft' caller="/home/user/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:494 GetRecipeVersions" DEBU[0005] processing '4.7.1' for 'foodsoft' caller="/home/user/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:514 GetRecipeVersions.func1" DEBU[0005] successfully checked out 'refs/tags/4.7.1' in '/home/user/.abra/apps/foodsoft' caller="/home/f/Projects/Autonomic/CoopCloud/abra/pkg/catalogue/catalogue.go:526 GetRecipeVersions.func1" FATA[0005] unexpected character "<" in variable name near "hosted by <a href=\"https://yourhoster.org\"> ``` ## Any idea how this might be fixed? Maybe ignoring errors and continuing onto other tags? ## Additional information <!-- run "abra -v" on the command-line --> `fdf4fc6` with local changes.
3wordchant added the
bug
abra
labels 2021-11-22 12:36:13 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#256
No description provided.