How to fork a package

Kacper Kornet draenog at pld-linux.org
Wed Jan 30 14:08:52 CET 2013


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?

-- 
  Kacper


More information about the pld-devel-en mailing list