You are not logged in.

#1 2010-08-26 22:24:56

jalu
Member
Registered: 2009-04-05
Posts: 140

[SOLVED] Developing my first package. Which branch should I use?

I will soon be writing my first AUR package, rsync-transliterate. Because the package will be based on rsync, I checked out the rsync package source from svn.archlinux.org/packages.

Before I begin writing my package, I have one basic question -- which branch of the rsync package source should my package be based on? Should my package be based on rsync/trunk, rsync/repos/extra-i686, rsync/repos/extra-x86_64, or some combination of the three? I have a feeling it should be based on rsync/trunk, but I just wanted to be sure.

Thanks!

Last edited by jalu (2010-08-26 22:35:43)

Offline

#2 2010-08-26 22:29:55

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Developing my first package. Which branch should I use?

use the trunk branch.  Usually the branch in repo are just copies of the trunk.

Offline

#3 2010-08-26 22:31:38

jalu
Member
Registered: 2009-04-05
Posts: 140

Re: [SOLVED] Developing my first package. Which branch should I use?

Interesting, okay.

In this case, the trunk branch does differ from the repo branches (though the repo branches do not differ from each other), but I'm guessing I should go with trunk regardless?

Offline

#4 2010-08-26 22:32:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Developing my first package. Which branch should I use?

trunk is always the latest available code. The repo branches might be the snapshot, when the package was created for the repo. if you need to make use of the latest code changes, then going with trunk is the best bet.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-08-26 22:35:25

jalu
Member
Registered: 2009-04-05
Posts: 140

Re: [SOLVED] Developing my first package. Which branch should I use?

Great, that definitely makes sense. I'm sure I'll learn more as I go along.

Thanks and merci, Inxsible and Snowman.

Offline

Board footer

Powered by FluxBB