-
Notifications
You must be signed in to change notification settings - Fork 41
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
Do not rebuild gotip if the HEAD does not change #6
base: master
Are you sure you want to change the base?
Conversation
On successful build a sentinel zero-byte file is written, similar to .unpacked-success in internal/version. If such file exists on next gotip download, compare HEADs before and after FETCH_HEAD checkout, and trigger the build iff they differ. In that case, sentinel file is removed to make git clean happy and indicate that rebuild is needed.
This PR (HEAD: cb27fed) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/dl/+/235117 to see it. Tip: You can toggle comments from me using the |
Message from Dmitri Shuralyov: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Gobot Gobot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=07cdb593 Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Gobot Gobot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Go Bot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=07cdb593 Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Go Bot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Go Bot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=07cdb593 Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
Message from Go Bot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/235117. |
On successful build a sentinel zero-byte file is written,
similar to .unpacked-success in internal/version. If this
file exists on next gotip download, compare HEADs before
and after FETCH_HEAD checkout, and trigger the build iff
they differ. In that case, sentinel file is removed to
make git clean happy and indicate that rebuild is needed.