-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Treat existence of managed directories as a part of repository dirtiness. #8564
Conversation
irengrig
commented
Jun 5, 2019
- If managed directory is declared for the external repository and does not exist (probably was deleted by user), make external repository dirty and re-fetch it.
- Add tests to demonstrate the added behavior to ManagedDirectoriesBlackBoxTest.
- Closes Managed directories should rerun repository rule if directory is deleted or timestamp changes #8487.
…ess: - If managed directory is declared for the external repository and does not exist (probably was deleted by user), make external repository dirty and re-fetch it. - Add tests to demonstrate the added behavior to ManagedDirectoriesBlackBoxTest. - Closes bazelbuild#8487.
@irengrig will this be cherry picked into the 0.26 and/or 0.27 release? |
Asked for cherry-pick into 0.27, as 0.26.1 is already out. |
@alexeagle do we absolutely need this cherry-picked for 0.27? Or is it ok for this fix to be in 0.28? |
When you think a bug should be a release blocker, please add the release blocker label (if you can) and cc the release manager (the person assigned to the release tracking issue). The bug was filed 9 days ago. If it was critical, it would have been useful to mention it earlier. |
We haven't been able to adopt the managed_directories feature, so this bug is a show-stopper for us. So it is quite important for us to have it fixed in next release, yes. Is it risky/difficult to cherry-pick? reasoning: |
@alexeagle what if we fix it in 0.28 (July) release? |
Then it is another month before we can finish rolling out the feature, which makes me worry we'll miss other problems that require some dogfooder adoption. |
Related discussion around release frequency: https://groups.google.com/d/msg/bazel-dev/Ez4B3N_YEQY/PVzVJZL3BAAJ |
@laurentlb what do you think about cherry-picking this given @alexeagle comments? |
…ess. - If managed directory is declared for the external repository and does not exist (probably was deleted by user), make external repository dirty and re-fetch it. - Add tests to demonstrate the added behavior to ManagedDirectoriesBlackBoxTest. - Closes #8487. Closes #8564. PiperOrigin-RevId: 251882207
…ess. - If managed directory is declared for the external repository and does not exist (probably was deleted by user), make external repository dirty and re-fetch it. - Add tests to demonstrate the added behavior to ManagedDirectoriesBlackBoxTest. - Closes bazelbuild#8487. Closes bazelbuild#8564. PiperOrigin-RevId: 251882207
…ess. - If managed directory is declared for the external repository and does not exist (probably was deleted by user), make external repository dirty and re-fetch it. - Add tests to demonstrate the added behavior to ManagedDirectoriesBlackBoxTest. - Closes bazelbuild#8487. Closes bazelbuild#8564. PiperOrigin-RevId: 251882207