Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.vote > #4512

Re: How is the original tarball obtained in tag2upload

From Phil Morrell <debian@emorrp1.name>
Newsgroups linux.debian.vote
Subject Re: How is the original tarball obtained in tag2upload
Date 2024-06-14 23:30 +0200
Message-ID <IPmEF-2XXX-3@gated-at.bofh.it> (permalink)
References <IPcFj-2RQ9-3@gated-at.bofh.it> <IPdi1-2Sio-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jun 14, 2024 at 12:26:50PM +0100, Ian Jackson wrote:
> Andreas Tille writes ("How is the original tarball obtained in tag2upload"):
> > In many teams we keep the metadata about the
> > orig.tar.$COMPRESSION tarball in pristine-tar branch.  In most cases
> > this works flawlessly but I've observed some exceptions and read about
> > potential problems with pristine-tar.
> 
> Firstly, if there is an orig in the archive, the t2u robot will use
> that.  Failing that, it will use "git-deborig" which will call
> "git-archive".  Currently there isn't any support for pristine-tar;
> that would be possible in principle.

(risking doing design on debian-vote, but it's a bit late for that)

It's been my impression [citation needed] that pristine-tar/lfs still
exists mainly out of inertia and simple tooling around it that makes it
more of a why not. If we're gaining a mostly git-native upload workflow
out of this, I think it would be wise to second-guess if this support is
even needed in tag2upload.

You're already using the archive to obtain the orig.tar where available,
which neuters one of pristine-tar's purposes: to get everything needed
to build past releases from just a git clone [1]. New upstream versions
*for likely users of tag2upload*, I believe the git-archive generated
tarball would be a sufficient incidental artifact to be uploaded -
making tag2upload the authoritative one-off source instead of
(presumably) upstream's forge generator.
--
emorrp1

[1]: speaking of which, and the answer might be "just learn to use dgit",
but it'd nice to have whatever mechanism is doing this built into e.g.
`gbp buildpackage` in the same way pristine-tar currently is.

Back to linux.debian.vote | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How is the original tarball obtained in tag2upload Andreas Tille <andreas@an3as.eu> - 2024-06-14 12:50 +0200
  Re: How is the original tarball obtained in tag2upload Ian Jackson <ijackson@chiark.greenend.org.uk> - 2024-06-14 13:30 +0200
    Re: How is the original tarball obtained in tag2upload Simon McVittie <smcv@debian.org> - 2024-06-14 14:10 +0200
      Re: How is the original tarball obtained in tag2upload Ian Jackson <ijackson@chiark.greenend.org.uk> - 2024-06-14 15:50 +0200
    Re: How is the original tarball obtained in tag2upload Phil Morrell <debian@emorrp1.name> - 2024-06-14 23:30 +0200
      Re: How is the original tarball obtained in tag2upload Russ Allbery <rra@debian.org> - 2024-06-14 23:40 +0200
        Re: How is the original tarball obtained in tag2upload Antonio Terceiro <terceiro@debian.org> - 2024-06-17 14:10 +0200
      Re: How is the original tarball obtained in tag2upload Simon Josefsson <simon@josefsson.org> - 2024-06-15 09:10 +0200
        Re: How is the original tarball obtained in tag2upload Matthias Urlichs <matthias@urlichs.de> - 2024-06-16 23:00 +0200
          Re: How is the original tarball obtained in tag2upload Salvo Tomaselli <tiposchi@tiscali.it> - 2024-06-16 23:50 +0200
            Re: How is the original tarball obtained in tag2upload [and 1 more messages] Ian Jackson <ijackson@chiark.greenend.org.uk> - 2024-06-17 13:30 +0200
            Re: How is the original tarball obtained in tag2upload Sean Whitton <spwhitton@spwhitton.name> - 2024-06-20 07:50 +0200

csiph-web