Re: debian ocaml task force - what to put on SVN?
En réponse à Stefano Zacchiroli <zack@debian.org>:
> I think that this can be the last question we need to answer before
> starting the project[1]?
>
> I found rather tricky to use CVS for full handling of debian package
> of
> which we are not also upstream authors. I've used a bit
> cvs-buildpackage
> but I've not found it very handy.
Yes, it is a bit boring. And there is not svn-buildapckage though.
> So my proposal is to keep on the Alioth SVN server only the diffs from
> the original tarball, eventually including in the debian directory a
> file which mention against which upstream version those diffs have to
> be
> applied.
OK, so the directories will look like:
<package>/debian
What needs to be put in the package/ directory is usally diffs againt
configure.in scripts when a change is necessary: running autoconf
from debian/rules is a bad practice.
For the rest of diffs, I usally use dpatch and I put all my patches
are located in <package>/debian/patches. Patches are applied
at debian/rules build, and unapplied at debian/rules clean.
> In case of simple packages which requires no changes to upstream
> directory we can keep simply the debian subdirectory, in other case
> I'm
> not sure what to do, but I guess we can use the "other way"(TM) to
> package debian stuff which I've seen in packages like X or similar.
X uses DBS which is not very handy. In that case, we can provide
a shell script that build the proper tarball from the original
source. Usually, we don't put tarballs in repositories.
> Those packages include the original tarball as is and a set of patch
> which are applied by don-t-remember-which debian tools during the
> package building process.
dpatch is a good one (apt-get install dpatch)
> I've never used this system but I will be very happy to learn
> something
> new (in addition to SVN :-)
>
> What do you think about it?
>
> Cheers.
>
> [1] well we have also another important question: who start the alioth
> project? If nobody else step forward, I volunteer ...
If you have time, you can start it. "pkg-ocaml-maint" as project
name (the leading "pkg-" is mandatory). And don't forget to follow
the rules posted by Wichert about asking for SVN (cf. d-d-a).
Cheers,
--
Jérôme Marant
Reply to: