abra app move does not support commit id from branch as version
#803
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?
when trying to move an app using a commit id as a version, move aborts with the following error message:
minimum solution: improve error message.
But currently unclear if it only is relevant for commits from a branch or for all recipe versions referenced by commit id.
Also not clear if it shall be supported by move. From my point of view this is a relevant use case.
@stevensting to be clear, what happened:
deploy --chaosapp moveafterwardsHowever, that commit does not exist anymore (?) or
app movejust doesn't seem to support it? The error message looks like it tried to resolve the commit, so I'm wondering if the commit exists on your system after all?In the case of
app move'ing adeploy --chaos'd app (🙃), would you expect then toapp move --chaos? If you're in a chaotic state then I am not sure you want to be moving? It's already quite a brittle operation... however, such is life? 🤷♀️As far as I can tell, the implementation does guard against unstaged changes.
it was more:
deploywithTYPE=nextcloud:dc28ebd3496dca63890d8d363f8c170a02066ae8app moveOk, now I checked again, and the commit probably does not exist anymore. Seems it was taken from a branch (the high performance backend one) which was deleted on merge. So no surprise it did not work.
TBH, I would never try to move a chaos deployment. Maybe we should even state in the help for
abra app movethat it is not supported.What remains is, maybe make the error message a little bit clearer.