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

Re: Searching doc about debian dir in upstream release



On Wed, 2007-04-18 at 08:40 +0200, Maximilian Wilhelm wrote:
> Hi!
> 
> I was ask by a "upstream author" about the debian-dir in upstream
> (release) thing where to find documentation about this.
> 
> I did not find anything on the debian pages or via google by myself.
> 
> Is there any text, paper, whatever piece of text "officially"
> available on this?

I'm not really sure what you mean, but I guess that by "debian-dir in
upstream (release) thing" you mean the issue that upstream includes a
debian/ dir in released tarballs. That is generally considered a bad
idea.

I'm not aware of documentation about this in the strict sense of the
word, but here's some explanation.

You can store the debian/ dir in upstream's VCS, but is is very
undesirable to put it into released tarballs. It may seem handy now, but
it will create a strange situation when you're no longer part of
upstream, or when someone takes over package maintenance, does an NMU or
a security update. You will then get a diff.gz that diffs the old and
new debian directory.

So: keeping it in your upstream version repository is fine, but make
sure it's not released. When packaging a new upstream version, combine
the tarball with the debian dir at that point.

I'll have this added to the Debian Mentors FAQ.


Thijs

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: