Hi Guido et all. On Thu, Aug 06, 2009 at 03:50:54PM +0200, Mehdi Dogguy wrote: > We, Debian OCaml Maintainers, have some tools related to the > maintenance of our packages hosted in a Git repository. > > We think that they could be useful for other maintainers too.
Just a bit of additional context. Guido, these scripts are the one
I've told you about at the vcs-pkg BOF at DebConf9. I think there is
room to generalize them and make them more widely useful for all users
of git-buildpackage (which somehow induces a common branch layout).
> - dom-git-checkout foo: Checkouts the source package foo from its Git
> repository and tracks upstream and pristine-tar branches. It needs
> an additional argument which is the unix group on alioth used to find
> the full path of the Git repository on alioth.
A comment on the relationships among this and debcheckout. debcheckout
cannot be used (easily) before a package hit the archive, because it
doesn't know where to retrieve the repository URL. However, I'm not
sure whether the missing bits would better fit git-buildpackage or
debcheckout. Note that debcheckout also has additional features like
detecting topgit usage: it might be worth to rewrite the checkout
script so that it's a wrapper around debcheckout.
> - dom-safe-pull: Updates the repository if it's fast-forward. Helps to
> keep a clean history without a lot of administrative-merges.
"safe" should probably be dropped by the name. Also, I would like to
have a "--unsafe" switch that performs merges even when they are not
fast-forward: the current default looks sane, but a way to override
would be nice.
TIA!
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
signature.asc
Description: Digital signature

