race condition in abra app new #64
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is a race condition when trying to create a new app. Trying the command multiple times leads to either the
21.0.3 is not available?
error or the app ignoring all the args and going through the survey dialogueSeems like the version of the app that LatestVersion returns keeps changing (the printed ver it the output of that)
Ah ok found it.
b1d4f12e7d/catalogue/catalogue.go (L113)
This function is getting the last item in a map. Maps are unordered in go https://www.geeksforgeeks.org/golang-maps/
I think the confusion lies in the comment in the function. They come in ordered from the JSON but as soon as it becomes a go map it no longer is ordered. Ill write something using tagcmp to fix this and find the biggest version.
I think the only reason I found this is due to the error I'm getting due to the nextcloud version that seems to actually be the latest not being avaliable? Idk if @decentral1se you could help me with that part seperatly
Idk about this race condition but the version issue is in coop-cloud/go-abra#44 and yeah, that is a good one to fix ASAP :) Will look at this soon.
I assumed race condition at first but yeah its not on looking at it and must have forgot you already knew. Either way I did a patch but did a patch for this. You can check it in #66 cause I want some eyes on ittt
Is dupe of #44