#1004178 creates and pushes tag for unreleased package

#1004178#5
Date:
2022-01-22 09:42:54 UTC
From:
To:
Hi,

I am currently adapting myself to using gbp push to push things. The
docs say:

       • Determine the debian tag from debian/changelog and add it the  list
         of  things to push if the changelog does not indicate an unreleased
         package.

My changelog says:

aide (0.17.4-2~0) UNRELEASED; urgency=medium

  * NOT YET RELEASED

#1004178#10
Date:
2022-01-22 13:04:46 UTC
From:
To:
Hi,

you say

gbp-push does not _create_ any tags by itself so the tag must have
been there already (see log below).

gbp-push checks for `UNRELEASED` in the changelog. You want to check why
this doesn't happen for your package (see the `is_released()` call in
`gbp/scripts/push.py`.

Here it checkes for the tag and finds it…

…here it pushes it out since it does think the package is released.

Cheers,
 -- Guido

#1004178#15
Date:
2022-01-22 13:15:12 UTC
From:
To:
Hi Guido,

you're lightning fast answering as usual. I appreciate that.

The log was created after the tag was already there. But my shell
history proves that I didnt create the tag myself.

I have grepped through all files delivered by git-buildpackage 0.9.25.
The string is_released is in none of them. Are you talking about
is_releaseable? The code that fills changelog.distribution seems to be
in gbp/deb/changelog.py, which seems to use dpkg-parsechangelog -l's
output. dpkg-parsechangelog -l returns "Distribution: UNRELEASED" so it
looks like the external tool is working.

Sorry, this is beyond my little python skills for the time being. How
would I debug this best without actually pushing tags to salsa?

Greetings
Marc

#1004178#20
Date:
2022-01-22 13:35:35 UTC
From:
To:
Hi,

…but it wasn't created by gbp-push so this part of the report seems odd.

see `--dry-run` in `man gbp-push`. Alternative: Use another remote
(which can even be local).

Cheers,
 -- Guido

#1004178#25
Date:
2022-01-22 14:15:13 UTC
From:
To:
I think we can agree on it not having been created by the call to gbp
push that generated the log.

Greetings
Marc

#1004178#30
Date:
2026-01-10 10:08:08 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.