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

quickly create pull request by issue like gitlab #11888

Open
pip2099 opened this issue Jun 15, 2020 · 8 comments
Open

quickly create pull request by issue like gitlab #11888

pip2099 opened this issue Jun 15, 2020 · 8 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@pip2099
Copy link

pip2099 commented Jun 15, 2020

I suggest that gitea should study gitlab that we can creat a pull request and relate branch quickly by a issue like gitlab。
QQ截图20200615095806
QQ截图20200615095836
QQ截图20200615095914

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 7, 2020
@zeripath
Copy link
Contributor

Please explain clearly what this does and how this works - most of us don't use gitlab so referencing what gitlab does isn't a good way to describe the requested feature.

@Reinitialized
Copy link

Reinitialized commented Feb 15, 2021

Within an existing issue, the GitLab UX allows you to create a newly diverged branch and associate it with a Pull Request without needing existing changes to exist. This is more of a nice to have than anything else, but regardless would be an appreciated addition.

Here's the important part UI wise:
Screenshot from 2021-02-14 18-05-11

@everwanna
Copy link

This is a great workflow from gitlab. It works like this:

  1. One click to create a merge request with a new branch associated to the issue. As the screenshot posted by @Reinitialized
  2. Then we checkout the new issue branch and code, commit and push...
  3. Last, we merge the pull request. It merges the new branch into the source branch and closes the associated issue. Optionally, we can delete the issue branch on merging by checking a checkbox.

merge request

This is the best practice as far as I know. Thanks!

@sandzhaj
Copy link

sandzhaj commented Jul 26, 2021

Actually, that feature is so usefull (for me), that it's absence stops me from moving to gitea from gitlab

@Arkanii
Copy link

Arkanii commented Sep 3, 2021

Hi, any update on this functionality ? This is very useful and it can be a VERY good check to the issue tracker.

@jroeber
Copy link

jroeber commented Nov 19, 2022

I'm a little surprised this doesn't have more discussion. Creating a new PR/MR from an issue seems like one of the most common workflows for modern git servers. It would be really nice to see it in Gitea!

@lunny
Copy link
Member

lunny commented Nov 21, 2022

I think it's not very difficult to implement, it just to create a branch and a PR from the the issue UI but with some comments that the new PR will resolve the issue.

@doubleailes
Copy link

I switch from gitlab to github recently and this feature is really missing and slow down my flow.

@lunny lunny added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. 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

9 participants