Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 26 |
Nodes: | 6 (1 / 5) |
Uptime: | 64:46:08 |
Calls: | 482 |
Calls today: | 1 |
Files: | 1,072 |
Messages: | 96,344 |
I feel that my own blog is the
best place to write of what I would *choose* as the optimal workflow
for myself and what I teach to those I mentor who are just starting
their learning journey and can't cope with too many options,
in
particular these two:
- https://optimizedbyotto.com/post/debian-packaging-from-git/
- https://optimizedbyotto.com/post/debian-source-package-git/
I have tried my best to make them relatively short, concrete and
illustrative with diagrams etc.
does it make sense to work in debian/latest and only last before pushing for review create another branch next/debian/latest? I'd always intuitively work in next/debian/latest directly.
On Wed, May 28, 2025 at 10:04:01PM +0200, Marc Haber wrote:
does it make sense to work in debian/latest and only last before pushing for
review create another branch next/debian/latest? I'd always intuitively work
in next/debian/latest directly.
I appreciate and applaus Otto's posts too, but can we please agree on debian/unstable, debian/experimental, debian/trixie, ... as our *default*? while still "allowing" debian/latest and and also debian/3.11 and
debian/3.12 and debian/foo and debian/bar?
I've come to think that dep-14 should recommend debian/* and more specifically debian/unstable for uploads to unstable.
(And since this is a rather newer fallout from http://ppc64el.reproduce.debian.net/ I thought I would share.)
Packages uploaded to the current development release should be
prepared in either a <vendor>/latest or <vendor>/<suite> branch
I appreciate and applaus Otto's posts too, but can we please agree on debian/unstable, debian/experimental, debian/trixie, ... as our *default*? while still "allowing" debian/latest and and also debian/3.11 and
debian/3.12 and debian/foo and debian/bar?
I've come to think that dep-14 should recommend debian/* and more specifically debian/unstable for uploads to unstable.
(And since this is a rather newer fallout from http://ppc64el.reproduce.debian.net/ I thought I would share.)
If you suggest that using "debian/latest" should *not* be done by
default, then it seems that requires reverting changes to DEP-14.
Personally, I don't see a problem in finalizing DEP-14 with its current wording, but I might miss something (more generally relevant than "let's
just all use git-buildpackage" which I don't think is what you are
saying here).
thanks for writing the two most comprehensive docs about packaging, git and gbp I have read in the last years.
Impressive work.
On Wed, May 28, 2025 at 06:36:00AM -0700, Otto KekΣlΣinen wrote:
in
particular these two:
- https://optimizedbyotto.com/post/debian-packaging-from-git/
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<snip>
would contain an explanation.
my biggest problem with dep14 is that it doesnt recommend *one* layout. my >biggest problem with how I see that interpreted is that I think debian/unstable
is much better than debian/latest *as a default recommendation*.
because IMO debian/latest is rather *not* helpful when uploads to experimental are involved. and because debian/unstable is rather very clear what this
branch is about.
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<snip>
would contain an explanation.
Isn't this what dgit is supposed to solve?
Perhaps, to ease the burden of those of us maintaining many packages,
we could instead have this more complex rule:
The default debian branch is the first available of these, in order:
1. debian/latest
2. debian/unstable
3. debian/experimental
Hi Holger,
Holger Levsen <holger@layer-acht.org> writes:
On Thu, May 29, 2025 at 12:21:16AM +0200, Jonas Smedegaard wrote:
If you suggest that using "debian/latest" should *not* be done by
default, then it seems that requires reverting changes to DEP-14.
yes. dep14 currently says "that uploads to unstable and experimental should
be prepared either in the debian/latest branch or respectively in the debian/unstable and debian/experimental branches."
I think it should (instead) recommend debian/unstable (for uploads to unstable)
(and in very brief) allow any debian/* branch layout & probably specifically
name certain common ones.
Personally, I don't see a problem in finalizing DEP-14 with its current
wording, but I might miss something (more generally relevant than "let's >> just all use git-buildpackage" which I don't think is what you are
saying here).
my biggest problem with dep14 is that it doesnt recommend *one* layout. my biggest problem with how I see that interpreted is that I think debian/unstable
is much better than debian/latest *as a default recommendation*.
because IMO debian/latest is rather *not* helpful when uploads to experimental are involved. and because debian/unstable is rather very clear what this
branch is about.
I am not yet a DD, but I maintain packages as a DM. Just want to
provide a perspective from a "debian/latest" user, as I found using "debian/latest" easier personally.
When I need to experiment something on experimental and intend to upload
to unstable as soon as the experiment succeeded, using "debian/latest" provides a simple linear git timeline. If I were to use
"debian/unstable", I would need to sync "debian/experimental" with "debian/unstable", do experiment there, upload; and once done, I would
need merge "debian/unstable" with "debian/experimental"; and after
future upload to unstable, "debian/experimental" becomes stale again and requires another merge in the future. As I don't intend to let the experimental version stay long, I think using two different branches for unstable and experimental unnecessarily complicates the process.
Just my two cents.
The default debian branch is the first available of these, in order:
1. debian/latest
2. debian/unstable
3. debian/experimental
4. debian
On Thu, May 29, 2025 at 09:21:13AM +0200, Jonas Smedegaard wrote:
Perhaps, to ease the burden of those of us maintaining many packages,
we could instead have this more complex rule:
The default debian branch is the first available of these, in order:
1. debian/latest
2. debian/unstable
3. debian/experimental
Please note that Otto's document is HIS personal preference and that he deliberately chose to offer HIS way without alternatives. I think he is entitled to. So, this discussion is actually about DEP-something (I hate those numbers, I always mix them up) changing, right?
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<snip>
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.
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.
Isn't this what dgit is supposed to solve?
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.
On Wed 28 May 2025 at 10:04pm +02, Marc Haber wrote:
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.
To be clear, there are several patches-applied workflows (where both >d/patches and the changed files are committed to git) in use in the
archive by high profile packages. For example, Emacs.
On Thu, May 29, 2025 at 10:27:09AM +0100, Sean Whitton wrote:
On Wed 28 May 2025 at 10:04pm +02, Marc Haber wrote:
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.
To be clear, there are several patches-applied workflows (where both >>d/patches and the changed files are committed to git) in use in the
archive by high profile packages. For example, Emacs.
Again, Otto outlined HIS personal preference to create packages, he did a marvelous job in explaining WHY he prefers THIS workflow and I personally happen to concur.
Perhaps, to ease the burden of those of us maintaining many packages,
we could instead have this more complex rule:
The default debian branch is the first available of these, in order:
1. debian/latest
2. debian/unstable
3. debian/experimental