Repository navigation
Show untagged rows and link to create the next tag (schema 5) - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shows rows that no tag ships yet and links to GitLab's new-tag form for the head commit.
Each service gets an optional
untaggedfield in the report:rows,head_sha,next_tagandcreate_url.rowscounts the rows above the newest tagged row, or every row when none has a tag.next_tagis the highestX.Y.Ztag (with an optionalvprefix) with its minor version bumped. Versions compare numerically and pre-release tags are ignored. It isnullwhen no tag has that form.create_urlis<project>/-/tags/new?tag_name=<next_tag>&ref=<head_sha>, or onlyrefwithout anext_tag. GitLab'sprojects/tags/new.html.hamlreads both params to fill in the name and the "Create from" ref.nullwhen the head is tagged or the service has no rows.--jirareports get it as well.On the page, the service line shows "N untagged", and the opened service shows a "Create tag X" link. This replaces the old "no tag yet" hint. The copyable release post is unchanged.
When the walk stops at
RELEASE_SCOPE_MAX_COMMITSbefore reaching a tag, the count is a lower bound. The existing "range cut short" badge sits next to it.The report schema goes to 5, so the skill and README pin
release-scope>=0.7,<0.8, as the schema 4 change did. The skill also gains the--excludeflag from 0.6.2.