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

Ability to create a tag on any commit from the web UI #17986

Closed
Danita opened this issue Dec 14, 2021 · 2 comments · Fixed by #17902
Closed

Ability to create a tag on any commit from the web UI #17986

Danita opened this issue Dec 14, 2021 · 2 comments · Fixed by #17902
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Danita
Copy link

Danita commented Dec 14, 2021

Feature Description

As of now, you can only create a tag from the "New release" page, but that tag ends up pointing to the last commit of the selected branch. It would be good to be able to tag any commit from that UI or even from a contextual button on the commit view.

This would be useful for example managing tags by people organizing releases on multiple huge repos, for whom there's no other use to have a full clone locally.

Screenshots

An implementation proposal:

proposal

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

lunny commented Dec 15, 2021

We could put two dropdown buttons here, one is for creating a new tag, another is for creating a new branch. Of course when you have write permission of the Code.

@silverwind
Copy link
Member

Dropdown is planned to be added in #17902.

zeripath added a commit that referenced this issue Feb 9, 2022
This code adds a simple endpoint to apply patches to repositories and
branches on gitea. This is then used along with the conflicting checking
code in #18004 to provide a basic implementation of cherry-pick revert.

Now because the buttons necessary for cherry-pick and revert have 
required us to create a dropdown next to the Browse Source button
I've also implemented Create Branch and Create Tag operations.

Fix #3880 
Fix #17986 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Chianina pushed a commit to Chianina/gitea that referenced this issue Mar 28, 2022
…#17902)

This code adds a simple endpoint to apply patches to repositories and
branches on gitea. This is then used along with the conflicting checking
code in go-gitea#18004 to provide a basic implementation of cherry-pick revert.

Now because the buttons necessary for cherry-pick and revert have 
required us to create a dropdown next to the Browse Source button
I've also implemented Create Branch and Create Tag operations.

Fix go-gitea#3880 
Fix go-gitea#17986 

Signed-off-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants