Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always create annotated tags for releases #274

Open
sdruskat opened this issue Sep 24, 2024 · 3 comments
Open

Always create annotated tags for releases #274

sdruskat opened this issue Sep 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sdruskat
Copy link
Contributor

The recent releases 0.8.1b1 and 0.8.1 have been tagged with lightweight tags only.

In Software Heritage, only annotated tags are picked up as "releases" and hence get listed as such. In our case, the archive lists exactly one release, proof-of-concept, as this is an annotated tag, which, however, isn't listed as a release on GitHub with its own release page.

Using lightweight tags for releases therefore leads to a discrepancy between the information in the source code repo, that on Zenodo, and that on SWH.

To avoid disconnects between these three platforms, we should use annotated tags for all releases to make sure they're being harvested as such on SWH.

@sdruskat sdruskat added the enhancement New feature or request label Sep 24, 2024
@led02
Copy link
Member

led02 commented Sep 24, 2024

Thanks for the hint, wasn't aware of that.

Is it possible to annotate tags later or do we need to tag again?

Is this already reflected in our release process?

@sdruskat
Copy link
Contributor Author

Is it possible to annotate tags later or do we need to tag again?

With newer versions of git I think you'll have to force tag over an existing tag. I'm not sure: a) what this would do for the GitHub release, b) what this would do for the Zenodo publication. Could be checked in a test repo? (I have no time to do this though.)

Is this already reflected in our release process?

Not yet. Should I draft this up?

@zyzzyxdonta
Copy link
Contributor

We could adopt signed tags for releases. Signed tags are always annotated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants