Ian Jackson <[email protected]> writes:

>> History contains tainted commit 089445ef0355a294a39643e8f4d476fd88844fb5
>> Taint recorded at time 2026-02-11 00:43:10 Z for any package
>> Reason: tag debian/0.0.4-1 referred to this object in git tree but
>> all previously pushed versions were found to have been removed from
>> NEW (ie, rejected) (or never arrived)
>> Could perhaps be forced using --deliberately.  Consult documentation.
>
> This message was unhelpful.  We have improved it.  (dgit 14.8, which
> is not yet deployed but will be in the forthcoming weeks.)
>
>> How would I recover from this situation and upload using dgit?
>
> You probably wanted --deliberately-include-questionable-history.
> The new output will make more helpful suggestions.

My reading of the man page is that --deliberately-not-fast-forward is
the relevant parameter for this situation, but it fails (I'm still on
14.7~bpo13+1) when I try it now (fortunately for this bug report the
package was REJECTED again so I got to retry this).  I will hold off
upload until I can retry with 14.8 to see if it behaves different.

The package was REJECTED for copyright reasons and the man page says:

       --deliberately-not-fast-forward
...
              When pushing to Debian, use this only when you are making  a  re‐
              newed  upload  of  an  entirely new source package whose previous
              version was not accepted for release from NEW because of problems
              with copyright or redistributibility; or, exceptionally, for  the
              very first upload with dgit.

It warns me to not use the following for this situation:

       --deliberately-include-questionable-history
              Declare  that  you are deliberately including, in the git history
              of your current push, history which contains a previously-submit‐
              ted version of this package which was not approved  (or  has  not
              yet  been  approved)  by the ftpmasters.  When pushing to Debian,
              only use this option after verifying that: none of the  rejected-
              from-NEW  (or never-accepted) versions in the git history of your
              current push, were rejected by ftpmaster for copyright or  redis‐
              tributability reasons.

/Simon

jas@frallan:~/dpkg/golang-filippo-nistec$ dgit push-built --new 
--deliberately-not-fast-forward -Cgolang-filippo-nistec_0.0.4-3_amd64.changes
Format `3.0 (quilt)', need to check/update patch stack
canonical suite name for unstable is sid
no version available from the archive
nothing quilty to commit, ok.
checking that golang-filippo-nistec_0.0.4-3.dsc corresponds to HEAD
dpkg-source: varning: extraherar osignerat källkodspaket 
(/home/jas/dpkg/golang-filippo-nistec/../golang-filippo-nistec_0.0.4-3.dsc)
dpkg-source: info: extraherar golang-filippo-nistec i unpacked
dpkg-source: info: packar upp golang-filippo-nistec_0.0.4.orig.tar.gz
dpkg-source: info: packar upp golang-filippo-nistec_0.0.4-3.debian.tar.xz

History contains tainted commit 089445ef0355a294a39643e8f4d476fd88844fb5
Taint recorded at time 2026-02-11 00:43:10 Z for any package
Reason: tag archive/debian/0.0.4-1 referred to this object in git tree but all 
previously pushed versions were found to have been removed from NEW (ie, 
rejected) (or never arrived)
Could perhaps be forced using --deliberately.  Consult documentation.

History contains tainted commit 089445ef0355a294a39643e8f4d476fd88844fb5
Taint recorded at time 2026-02-11 00:43:10 Z for any package
Reason: tag debian/0.0.4-1 referred to this object in git tree but all 
previously pushed versions were found to have been removed from NEW (ie, 
rejected) (or never arrived)
Could perhaps be forced using --deliberately.  Consult documentation.

dgit: error: pushing tainted objects (which server would reject)
! Push failed, while preparing your push.
! You can retry the push, after fixing the problem, if you like.
jas@frallan:~/dpkg/golang-filippo-nistec$ 

Attachment: signature.asc
Description: PGP signature

Reply via email to