[Debian-arabic-packages] xfardic, xfardix-xdb-gnulinux packages on the svn

Alan Baghumian alan at technotux.com
Fri Feb 9 18:31:55 CET 2007


Hi,

> Branches and tag are technically the same in Subversion. They are both
> copies of files (created using 'svn copy' command).
>
> There difference is what we do with them - tags are meant to be read
> only, and used as references in case we need the files of a specific
> release.
>
> Branches are meant to allow people to work on the a copy of trunk,
> without actually touch trunk. We usually used branches to do disruptive
> work which we only want to merge when it's done.
>
> Example:
> We work on a package and release a few versions of it. Each version is
> tagged after its release. Now we want to fix a bug in the first release.
>   Since the files in trunk have been changed since that release - we
> should use its tag in order to get the same files.
>
> We will copy the tag to a branches (since we don't write changes to
> tags), and work on it...
>
> Now we want to have two concurrent versions of the package, since
> upstream started working of version 2 of it. We can do a copy of trunk
> into a new branch since we won't commit the changes back to trunk.
>
> When we decide version 2 of the package is out main release tree - we
> will swap the files in trunk from the old version to version 2.
>

Thanks for the comments. It's years that I use CVS and SVN and completely
understand that what tag and branch mean. You know, in Debian, we do not
touch upstream tarballs and only create patch sets, if any change is
needed. So I feel that branches here are a little strange. That was my
real question.

>
> As you noticed in Branches we have a sun directory for upstream files.
> We can decide not to use this if we tell svn to have a flag "merge with
> upstream" that meaning when we try to buid the package, it will first
> extract upstream tarball.
>
> current is just a copy of the latest upstream dir.
>
> I prefer option 2, if the upstream tarball can be used without any
> changes after downloading it.

OK. Got it.

> Please read about svn-inject which eases the insertion of new debian
> packages into subversion. Mail me the command you think needs to be ran
> in order to add your package.

So, Let me first read svn-inject man page, then will send you commands to
confirm together.

Thanks,
Alan





More information about the Debian-arabic-packages mailing list