On Sun, Jul 05, 2009 at 05:52:27PM +0200, Joachim Breitner wrote:
> > Thanks for the code, I did not know that.
> > Still, duplicating code is always bad. So, if we really want to go
> > this way, I'd prefer to add support to debcheckout to invoke some kind
> > of hooks, and have this as a possible hook. How about that?
> 
> You mean a hook inside the checked-out-repository? E.g. a file
> "debcheckout-hook" that, if present, will always be called by
> debcheckout? Seems to be risky security-wise.

No, I meant a hook on your machine which is executed always and which
will try to checkout upstream sources if they aren't there. Actually,
also the solution of a hook in the checked out repository might do the
trick, but as you observer will need an explicitly enabling flag that
triggers that only on repositories which are known to be "safe".

> A piece of code says more than thousands words, so here is a prototypial
> wrapper:
> http://people.debian.org/~nomeata/pkg-haskell-checkout

Urm, I understand the deal, but I'd prefer it to support
get-orig-source, read on.

> I haven’t worked with get-orig-source before. Is it a standard? I
> thought it’s only a thin people use personally.

Yup, is in policy. It is the target to use if your upstream tarball
needs some kind of mangling (e.g., stripping non-DFSG bits or packing
together multiple upstream tarballs for multi-upstream source
packages). What I'd love from your script is to test if
get-orig-source is defined (possibly invoking make in some dry-run
way, not just parsing debian/rules cause it can include other files)
before trying uscan.

> Or we talk about this at DebConf :-)

Deal :-)

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to