RFC: advisory "branch_status" flag in branch.conf

Alexander Belchenko bialix at ukr.net
Thu May 5 08:42:07 UTC 2011


vila пишет:
>>>>>> Jelmer Vernooij <jelmer at samba.org> writes:
> 
> <snip/>
> 
>     >> As a better way of handling this, I am proposing an option in
>     >> branch.conf called "branch_status" with possible values including at
>     >> least "active" and "inactive".  bzr-colo could then use this flag to
>     >> hide branches marked with "branch_status = inactive".  The reason that
>     >> I bring this up on list is that I wonder if such an option could be
>     >> used profitably by other parts of the Bazaar ecosystem (qbzr,
>     >> bzr-explorer, etc.)  Interested parties could add other values of the
>     >> option for their own purposes.  Also, this option would occupy the
>     >> default branch.conf namespace and so the option name "branch_status"
>     >> couldn't be used by anyone else.
> 
> Thanks for rfc'ing about config option names !
> 
> Note that the current plan[1] is to introduce a more formalized name space
> to address this kind of issue by prefixing plugin specific options by
> the plugin name. In this case, you can just use 'colo.branch.status' and
> don't worry about collisions.

Although I'm not quite agree with Vincent about using dotted names for 
options but I have no strong arguments against it and we have already 
discussed that with vila, so... listen to the wise Vincent man! ;-)



More information about the bazaar mailing list