On 10/24/2017 07:49 PM, Jeremy Stanley wrote:
On 2017-10-24 10:09:07 -0700 (-0700), James E. Blair wrote:
[...]
Add 'override-checkout' to support branches + tags and drop (after
a deprecation period) 'override-branch'. It's very clear what it
does, and it relates to git terminology.
[...]

It's not _entirely_ clear to me (though it probably is to others)
that the intended behavior if you specify
override-checkout=stable/ocata is to give you the stable/ocata
branch plus speculative state (assuming a dependent pipeline) while
override-checkout=newton-eol would just give you the known state for
the newton-eol tag. The difference in behaviors for branch vs
non-branch refs could lead to potential confusion. On the other
hand, this is a bit of a devil's advocate argument so I suppose the
answer is "Zuul does what most people would want, and what most
people want with override-{branch,checkout} is speculative state."
Yes, that could lead to potential confusion. But I think as the
entire repo is in a future state it still is most consistent to use
plain git terminology and let git decide if it should checkout a
branch or a tag. We still could encourage the user to use
'override-checkout: refs/heads/stable/ocata' as an unambiguous
variant.

So I vote for override-checkout.

_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to