-
Notifications
You must be signed in to change notification settings - Fork 11
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
requirements.lock is not removed when deploying per rsync #107
Comments
Alright. So the problem here was that we were iterating over the local top-level entries so we can blacklist some of them. However, this caused us to not delete-sync top-level elements that did not exist any longer because we never added them as sync targets. I've rewritten the affected code to do a single rsync step and use a subclass leveraging the built-in filter to provide the blacklist. |
I have to undo this fix for because it has a major impact on how it combines with ignoring some files: pytest-dev/execnet#134 This can lead to major issues because this will consistently remove the |
I wonder whether we could do something related to #235 that would fix this, too? |
I am still confused with the title and the actual aim of this ticket. Why should the requirements.lock be removed in any case when deploying? I thought this would pin the version to be consistent? I do understand that there might be a reason to have untracked files to be removed on the remote part (deployment) but is this the issue which should be solved here? |
The problem is in this situation:
I wonder whether we should decide that the requirements.lock must always exist and never do unclean environments at all? Not sure which drawbacks that would have. |
I think you mean I would vote for an error in case the lock-file is not present. At least in my workflow, it is not often, that I have to change the batou requirements very often. Is there a use-case where this is different? |
Yeah, I meant requirements.lock. Fixed it in my comment. |
It is implemented in flyingcircusio/appenv#31 but has to be copied to this project after successful merge. |
Update appenv to include changes that fixed #107
No description provided.
The text was updated successfully, but these errors were encountered: