- Package:
- git-buildpackage
- Source:
- git-buildpackage
- Submitter:
- Marc Haber
- Date:
- 2026-01-10 11:39:25 UTC
- Severity:
- normal
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
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
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
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
I think we can agree on it not having been created by the call to gbp push that generated the log. Greetings Marc
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.