This is an archive of the discontinued LLVM Phabricator instance.

[zorg] Allow specification of svn update mode remotely
AbandonedPublic

Authored by zturner on Sep 16 2017, 4:47 PM.

Details

Reviewers
gkistanova
Summary

This would allow people to trigger remote clobbers without having to log into a build bot.

Diff Detail

Event Timeline

zturner created this revision.Sep 16 2017, 4:47 PM
gkistanova accepted this revision.Sep 21 2017, 1:06 PM

Not sure the naming is good, though. Since this is a build property, it might be a good idea to be a bit more specific of what kind of mode is that, what do you think?
How about "checkout_mode" or "svn_mode"?

And just as a generic note. With this patch only some builders would accept this property.

This revision is now accepted and ready to land.Sep 21 2017, 1:06 PM

I later found out that you can force a complete deletion of the source tree by building from revision 0. Do you think this functionality is still useful given this realization?

When you force to build a revision 0, you would get a red build before the next one will do a clean checkout. Which is not always good.

Some builders currently support a "clean" property and force a fully clean build in response, including the clean checkout.
With all the same, I'd prefer a consistent way of doing things. But it would take some time to add the support for the "clean" property to older factories, though.

Anyway, given that the immediate need in this change now is not that urgent, let's sit on for a while, shall we?

zturner abandoned this revision.Sep 21 2017, 1:40 PM