Hi Zack, Am Sonntag, den 05.07.2009, 15:03 +0200 schrieb Stefano Zacchiroli: > On Sun, Jul 05, 2009 at 11:35:58AM +0200, Joachim Breitner wrote: > > I knew I saw something like that once. svn-buildpackage even has code to > > to fetch the tarball from the archive or, when not found, via watch. > > 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. > > darcs-buildpackage does not have the support. And, since the support > > only affects the _retrieving_ of the source, I don’t see much merit in > > using darcs-buildpackage at all. Following the unix philosophy of small > > tools, I’d use > > I disagree on this. With svn-buildpackage the debian only layout is > used at build time. You never have upstream code unpacked where you > are, but rather elsewhere. That elsewhere is unpacked upon build. I only saw that function, I didn’t really follow through how it’s used in svn-buildpackage. A piece of code says more than thousands words, so here is a prototypial wrapper: http://people.debian.org/~nomeata/pkg-haskell-checkout > > Given that there is code in svn-buildpackage, I’d think it’s > > feasible. I’d expect that only those maintainers will use such the > > feature where it actually works :-) > > It's feasible, the point is whether the implementation is the right > way to go. Before going that way, I'd rather trigger a discussion on > -devel about that. For instance, what if get-orig-source invokes uscan > itself? I haven’t worked with get-orig-source before. Is it a standard? I thought it’s only a thin people use personally. I think I’ll stop bugging you for a while and work with the shell script linked above. If it turns out to be a good way of using a repository, I’ll come back and we can pick up the discussion. Or we talk about this at DebConf :-) Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil