add a warning if ~/.abra/servers/ has uncommitted git changes #267
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?
Describe the problem to be solved
Describe the solution you would like
We already have incrediblyrobust checking of the git status of recipe repositories in
~/.abra/apps
.What about:
~/.abra/servers/demo.coopcloud.tech/
, is a symlink, and find the target if so.~/.abra/servers
is a symlink, and find the target of that if so.~/.abra
directory is a symlink, and read that?)git status
on that folder (possibly with git's default terrifying behaviour of traversing up the entire directory tree to see if any parent directories are git repoitories..?)During, I guess, any app-involving abra operation?
I think coop-cloud/organising#467 (comment) is maybe at odds with the approach proposed in this ticket. I think the warning would be a great feature if we can detect a git repository but #467 is proposing a much more automated approach. There could a dependency on finally doing coop-cloud/organising#303 to allow different modes of collaboration to happen?