[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] proposed v3 source format using .git.tar.gz



On Sun, 07 Oct 2007, Frank Lichtenheld wrote:
> > (It might be just me, but I'm getting the feeling that implementing
> > Wig&Pen via this v3 format is probably easier than implementing it via
> > the v2 format...)
> 
> Could you please explain what the difference between "Wig&Pen" and v2
> format is? I've seen them as identities so far.

I don't know either. But I'd like to dig in to say a few words.

I like the idea of Joey and I'd also like to improve our source packages.
I think we need to step back a bit and maybe try to come up with a more
generic design encompassing wig&pen and the work of Joey. 

But it's not as easy as it seems because we have many different
requirements as shown by Colin and others. And furthermore, the
data flow is considerably different when we integrate VCS in the picture.

I'm not even sure that we should really call v3 a 'source package'.

The goals of wig&pen were IIRC:
1/ support of other compression mechanism
2/ support of multiple tarballs (glibc case)
3/ automatic support of debian/patches


(1) should be a no-brainer

(2) is not clear: what would multiple tarballs mean with a VCS repository?

(3) patches are auto-applied at source extraction time.

In a VCS, what does it mean ? In Joey's work, all Debian changesets
are in the master branch which is auto-extracted if I understand
correctly (I haven't read the code, only the discussion here).

What about cases were multiple branches are stored? (One for upstream,
one for Debian)


Also, it seems important to keep the possibility to always generate a
"plain source package" from any VCS based source package. But we might
need some information to be able to do that properly. Exactly like we need
new information if we ever want to support generation of v2 source
packages. Is there some ground to create something common for those
two use cases? 


(Sorry, everything is still a bit blur in my mind and while I was
preparing myself to maybe hack on wig&pen as my next dpkg related project, 
this discussion took me by surprise :-))

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: