user [email protected]
usertags rsn
thanks
Simon McVittie writes ("Bug#939280: dgit push-source rejects source-only
.changes containing .orig.tar.gz.asc"):
> Package: dgit
> Version: 9.7
> Severity: normal
>
> Steps to reproduce:
Thanks for the nice clear bug report.
> * Have an upstream project that releases tarballs with detached signatures
> (in this case dbus-python_1.2.10.orig.tar.gz{,.asc})
> * Have the .asc next to your .orig.tar.gz
> * Build a source-only .changes file in a way that will pick up the orig
> tarball and detached signature
> * dgit push-source -C /path/to/dbus-python_1.2.10-1_source.changes
Thanks. I think the -C option should not be necessary. Indeed I'm
not even sure what it does (or should mean) with push-source. dgit
push-source is supposed to be used without a prior build step.
Without -C it builds its own dsc.
Ie ISTM that you ought not to need step 3 of your list above, nor the
-C option. Just dgit push-source ought to pick up and use the .asc.
Maybe the -C option ought to be rejected with push-source.
Anyway, I expect can reproduce all this with --damp-run and your
actual package.
> Actual result:
>
> > $ dgit push-source -C ~/tmp/build-area/dbus-python_latest/*_source.changes
> > Format `3.0 (quilt)', need to check/update patch stack
> > canonical suite name for unstable is sid
> > gzip: warning: GZIP environment variable is deprecated; use an alias or
> > script
> > dgit: split brain (separate dgit view) may be needed (--quilt=unapplied).
> > examining quilt state (multiple patches, unapplied mode)
> > dgit: base trees orig=b6bbca609900c3739fa8 o+d/p=b6bbca609900c3739fa8
> > dgit: quilt differences: src: == orig == gitignores: == orig ==
> > dgit: quilt differences: HEAD == o+d/p HEAD == o+d/p
> > dgit view: created (commit id 3cab30a85d7ad0c0cc2d7a98f27fa4b9d366b0ed)
> > purportedly source-only changes polluted by
> > dbus-python_1.2.10.orig.tar.gz.asc
> >
> > dgit: error: user-specified changes file is not source-only
For my reference: it's not clear to me whether dgit used the specified
-C at all. It may have built a correct .changes file an then
complained about its own output.
> Workaround:
>
> * Use dgit push instead (but give it a source-only changes file anyway)
Right.
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.