[RFC] Community driven branch extensions

Ian Clatworthy ian.clatworthy at canonical.com
Tue Nov 10 06:36:17 GMT 2009


Alexander Belchenko wrote:
> Alexander Belchenko пишет:
>> I don't know is it possible to have with your idea of "features" but there is need for applying
>> filesystem restrictions for cross-platform projects. Mostly to make sure that in cross-platform
>> project linux devs won't screw up the tree for windows or macosx devs, e.g.:
>>
>> 1) Prohibit adding symlinks to the tree
>> 2) Prohibit adding files in the same directory which different only in case (foo vs. Foo)
>> 3) Prohibit adding unicode filenames
>> 4) Ignore changes to x-bit
> 
> Forgot one more thing:
> 
> 5) Prohibit adding files with basenames as: con, com, lpt, aux, which cannot be created on Windows.

Right. My vision is that a project could encode those rules in 
pre-commit hooks (say) defined in a "project policy" plugin that was a 
required/recommended.

Ian C.



More information about the bazaar mailing list