patches-applied and patches-unapplied, dgit and source packages (was: Re: My personal recommendation on how to create Debian packages from upstream Git)
Hi,
On Thu, May 29, 2025 at 09:39:01AM +0200, Marc Haber wrote:
> On Thu, May 29, 2025 at 05:26:31AM +0200, Joost van Baal-Ilić wrote:
> > On Wed, May 28, 2025 at 10:04:01PM +0200, Marc Haber wrote:
> > <snip>
> > > My personal pet peeve is the difference between the source package and the
> > > packaging git repository contents. Those two especially differ in the state
> > > of patches: They're applied in the unpacked source package, and not applied
> > > in the packed source package and in the git repository contents. That is for
> > > me a constant source of confusion and it would be nice if your document
> > > would contain an explanation.
> > <snip>
> >
> > Isn't this what dgit is supposed to solve?
>
> Even with dgit you still have a source package, and the dgit docs are full
> of distinction between patches-applied and patches-unapplied. dgit is one of
> the reasons why you NEED to know that.
A, indeed. Otoh the dgit-people feel a source package should be treated as an
intermediate build artifact; not something to be consumed by humans.
The problem dgit solves (afaiu) is: one can be sure the git thing one gets
from dgit is of the expected format wrt the patches.
Bye,
Joost
Reply to: