How to fork a package
Elan Ruusamäe
glen at pld-linux.org
Wed Jan 30 14:26:29 CET 2013
On 30.01.2013 15:08, Kacper Kornet wrote:
> On Fri, Oct 05, 2012 at 04:15:04PM +0200, Kacper Kornet wrote:
>> On Fri, Oct 05, 2012 at 03:49:51PM +0200, Jakub Bogusz wrote:
>>> Is there a way to just copy a repo (without setting the old one r/o)?
>> It can be done by creating a new repository and pushing to it. The only
>> thing which cannot be copied this way are auto- tags and RA- branches.
>> But if there is a demand for full copy I can add such a functionality.
>> I just didn't expect that it would be needed.
> Resurrecting the old thread. There is a new command - copy:
>
> $ ssh git at git.pld-linux.org copy <package> <newpackage>
>
> It enables to fork an existing package without flood of messages on
> pld-cvs. But there some open questions which branches and tags it should
> copy into the new repo (right now it copies everything):
>
> a) ordinary branches and tags - I think there is no doubt that all
> should be copied
>
> b) auto tags auto/<dist>/* - not sure
>
> c) distribution branches and tags e.g. AC-branch - I would prefer to
> have them copied as it is a little more tricky to exclude them as there
> is a lack on consistency in categories (tag vs. branch) and naming
>
> Any opinions?
i think, omit auto-tags when copying as these can't be cleaned up by
ordinary user
and also perhaps omit RA* branches, as these are not allowed to be
edited also by ordinary user
for AC-branch - keep it as it's possible to drop them by regular user
--
glen
More information about the pld-devel-en
mailing list