Re: [RFC] General Resolution to deploy tag2upload
Bastian Blank writes ("Re: [RFC] General Resolution to deploy tag2upload"):
> On Wed, Jun 12, 2024 at 04:23:29PM +0100, Simon McVittie wrote:
> > On Wed, 12 Jun 2024 at 15:20:45 +0100, Ian Jackson wrote:
> > > tag2upload, like dgit, ensures and insists that the git tree you are
> > > uploading corresponds precisely [1] to the generated source package.
> > >
> > > If you base your Debian git maintainer branch on the upstream git (as
> > > you should) and there is a discrepancy between the contents of the
> > > upstream git branch, and the .orig.tar.gz you're using, the upload
> > > will fail.
>
> How would it fail?
git-debpuah has code in it to try to check that your upload is likely
to succeed. It should detect this situation, and report an error
message, before it even makes the tag for you.
You can override that check, since it's just there for your
convenience. Or you could make and push the tag2upload
`please-upload` tag by hand. If you do so, the discrepancy will be
detected by the tag2upload conversion system during source package
construction. You'd receive an error report by email.
> This actually means we need to get rid of orig.tar completely.
> Something that does not exist can't differ.
.orig.tar.gz is still useful as a space optimisation for incremental
updates to source packages.
Ian.
--
Ian Jackson <ijackson@chiark.greenend.org.uk> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
Reply to: