"abra recipe fetch" gives "reference not found" #397

Closed
opened 2023-02-02 19:14:41 +00:00 by decentral1se · 2 comments
Owner

It happens sometimes really fast and some times not 🤔

13] /home/d/.abra/recipes/penpot already exists caller="/home/d/work/coop-cloud/abra/pkg/git/clone.go:46 Clone" DEBU[0013] read global ignore paths: .TODO .envrc .ipy .ipython.ipy .python-version .testmondata .venv /.cache/ /.mypy_cache/ /pycache/ /node_modules/ /pip-wheel-metadata/ package-lock.json tags .passwds caller="/home/d/work/coop-cloud/abra/pkg/git/read.go:162 parseExcludesFile" FATA[0013] reference not found caller="/home/d/work/coop-cloud/abra/pkg/recipe/recipe.go:1066 UpdateRepositories.func1" stack="/home/d/work/coop-cloud/abra/pkg/recipe/recipe.go:1066 UpdateRepositories.func1\n/usr/local/go/src/runtime/asm_amd64.s:1571 goexit"

Only happens when we poll for all recipes (no args). fetch <recipe> works every time.

Maybe related to #394?

This bug is still haunting us.

It happens sometimes really fast and some times not 🤔 > 13] /home/d/.abra/recipes/penpot already exists caller="/home/d/work/coop-cloud/abra/pkg/git/clone.go:46 Clone" DEBU[0013] read global ignore paths: .TODO .envrc .ipy .ipython.ipy .python-version .testmondata .venv /.cache/ /.mypy_cache/ /__pycache__/ /node_modules/ /pip-wheel-metadata/ package-lock.json tags .passwds caller="/home/d/work/coop-cloud/abra/pkg/git/read.go:162 parseExcludesFile" FATA[0013] reference not found caller="/home/d/work/coop-cloud/abra/pkg/recipe/recipe.go:1066 UpdateRepositories.func1" stack="/home/d/work/coop-cloud/abra/pkg/recipe/recipe.go:1066 UpdateRepositories.func1\n/usr/local/go/src/runtime/asm_amd64.s:1571 goexit" Only happens when we poll for all recipes (no args). `fetch <recipe>` works every time. Maybe related to https://git.coopcloud.tech/coop-cloud/organising/issues/394? This bug is still haunting us.
decentral1se added the
bug
label 2023-02-02 19:14:41 +00:00
decentral1se changed title from abra recipe fetch gives "reference not found" to "abra recipe fetch" gives "reference not found" 2023-02-02 19:19:14 +00:00
Author
Owner

Aha, seems related to the new fetching of tags. Have 2a88491d7c and will keep digging on this one. /cc @moritz

Aha, seems related to the new fetching of tags. Have https://git.coopcloud.tech/coop-cloud/abra/commit/2a88491d7c87946c1a55bee604be6fd364f99c78 and will keep digging on this one. /cc @moritz
Author
Owner

No idea what I'm doing but maybe fixed this, got a couple of clean runs. Error messages are better now. Wish go-git wasn't hell but I imagine running git directly would be worse 😬 Onwards...

No idea what I'm doing but maybe fixed this, got a couple of clean runs. Error messages are better now. Wish `go-git` wasn't hell but I imagine running `git` directly would be worse 😬 Onwards...
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#397
No description provided.