-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't blow away uncommitted changes #87
Comments
howdy robin, if you reference some of the documentation in modulesync_configs and modulesync typically running msync is done from outside of the typical working directory this ensures the msync does not conflict with any work in progress. My personal workflow is this: cd ~/git/modulesync_configs
msync update -f my_funky_project I also highly recommend configuring a modulesync.yml file documented here: https://github.com/voxpupuli/modulesync Reference the one used by voxpupuli: ---
git_base: '[email protected]:'
namespace: voxpupuli
branch: modulesync
message: "Update from voxpupuli modulesync_config"
...
# vim: syntax=yaml Hopefully this is helpful. |
Please also reference: https://github.com/voxpupuli/modulesync_config |
Thanks @james-powis, I've already reached out elsewhere to try and understand the workflow required to use modulesync as I'm clearly not quite getting it. (To be fair, I've spent very little time trying to use it). Thanks again, R. |
Yet still, when uncommitted changes are present modulesync should abort instead of blowing up the universe. I think this is a fair expectation. Software should be safe to use. Basically, if there are any changes in a module cloned by modulesync the script should abort (or ask whether the repo should be cloned afresh). IIUC, currently we're even merging changes from a hard-coded Abort instead throw awayCan't we change the current implementation so that we first check whether there are any local changes, and abort? Instead of Also, it should be possible to omit the hardcoded |
I just managed to blow away all the uncommitted changes on a local feature branch with modulesync.
Surely it should detect uncommitted changes and abort rather than just dropping them so it can checkout the modulesync branch?
R.
The text was updated successfully, but these errors were encountered: