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

[Proposal] Support release types #16588

Open
delvh opened this issue Jul 31, 2021 · 3 comments
Open

[Proposal] Support release types #16588

delvh opened this issue Jul 31, 2021 · 3 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@delvh
Copy link
Member

delvh commented Jul 31, 2021

Currently, releases exist.

There is no differentiation between whether a release is a patch, a minor or a major version, something completely different, or none.
Having the ability to mark releases as i.e. one of those mentioned above can make a huge significance when displaying the releases to the user, i.e. by allowing for custom filtering, by adding a different display for releases of different types (e.g. such that major releases will be displayed more prominently than patch releases), or to show releases in a tree-like view where first the major versions comes, then when expanded the underlying minor versions and so on.

Also, when implemented such that releases know their hierarchical super-release (i.e. 1.16 would be the super-release of 1.16.2) and the super-release gets deleted, it could be possible to delete the sub-releases as well, although I do not know whether that is actually needed or wanted.

For now, it should simply be enough if the user can choose the release type himself when creating the repo or updating it (including a nil release type in case this release cannot be identified as belonging to any category). Here, user does not mean any user, but rather those with write-access for the repo or administrators only.

Later on, it could even be possible to autotag releases of repos that follow semantic versioning, i.e. by using a bot, a plugin, or even with built-in support. (I tend rather towards an external bot that simply listens to changes in the releases and updates these releases accordingly)

Originally posted by @delvh in #16585 (comment)

@delvh delvh changed the title [Proposal] Support release priorities [Proposal] Support release types Jul 31, 2021
@mattatobin
Copy link

I for one would like tags that aren't full releases to be auto-hidden ala Github except for the latest of course.

@lunny
Copy link
Member

lunny commented Aug 10, 2021

You can know if it's a minor release via that version number.

@noerw noerw added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Aug 23, 2021
@noerw
Copy link
Member

noerw commented Aug 23, 2021

I for one would like tags that aren't full releases to be auto-hidden ala Github except for the latest of course.

@mattatobin this should actually the case in 1.14+, see also #16720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants