-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Give user a link to create PR after push #4716
Conversation
Now i wanna talk about some technical decision i took :
|
00520d7
to
37822e0
Compare
Codecov Report
@@ Coverage Diff @@
## master #4716 +/- ##
==========================================
- Coverage 37.4% 37.38% -0.03%
==========================================
Files 307 308 +1
Lines 45545 45605 +60
==========================================
+ Hits 17038 17050 +12
- Misses 26052 26097 +45
- Partials 2455 2458 +3
Continue to review full report at Codecov.
|
gitea_no_gcc should be removed. |
And you also should check if user has permission to visit and create pull request. |
I also agree that PR should be for base repository as that is default behaviour from UI |
37822e0
to
0fce8e1
Compare
0fce8e1
to
965aa2a
Compare
Ok I will first add the fork thing.
I'm not sure how to do that. I took a look at the "web" router to access to PR creation page and I found this : Lines 79 to 91 in 7781e8c
Is that what I must us implement ? |
|
@@ -0,0 +1,64 @@ | |||
package private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment head
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed my PHPStorm template for the project, thanks.
Hi guys, any news on this ? |
@JulienTant it looks good, nice work but I want to test it first before I give my approval |
Of course. I tried to lot of cases but if you find anything i'll be happy to fix/change things. |
up? |
We are feature freeze currently so need to wait until v1.6.0-rc1 is released |
New Feature
This PR offers a link to create new pull request when we push to a branch which is not the default branch.
If a PR already exists, it just give the link to the existing PR.
Output of a push when no active PR exists:
Output of a push when an active PR exists: