-
Notifications
You must be signed in to change notification settings - Fork 47
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
VCS commit should allow selecting files #128
Comments
This it why we strongly recommend to use the |
Ideally you have a clean workspace when you run RMT. the ideal situation is:
|
That's good. Ideally something that can be piped to |
@ppetermann Sure, in an ideal world. I stand to saying that adding all of the workspace, especially on release time, is, at best, error-prone. Being specific, especially with git, is always better than being generic. I, for one, always use |
Well, I believe that RMT shouldn't be committing anything that it hasn't touched itself, but that doesn't mean that the current state is more error-prone then what you are doing - infact, as @jeanmonod already pointed out, there is a check for clean working space, which should prevent people from having stuff committed thats in the wrong place. however you seem to be under the impression that something that you describe yourself as "cluttered" is positive, and it really isn't. neither is entering lists manually each time you release - your tests will run against the stuff with the files there, the release won't have the files - you forget anything, there is no warning signal anymore. |
I have a workflow in which I have plenty of non-committed files in my working directory: project files for my IDE, ngrok copy, WIP for stuff, etc.
Running
git add --all
in https://github.com/liip/RMT/blob/master/src/Liip/RMT/VCS/Git.php#L70 is bad and should be discouraged.Please at least permit a list of files to be provided.
The text was updated successfully, but these errors were encountered: