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

Explicitly refer to PR in squash-merge commit message in case of external tracker #9844

Merged
merged 3 commits into from
Jan 18, 2020

Conversation

davidsvantesson
Copy link
Contributor

To avoid creating a link to external tracker, i.e. use ! instead of #. As I think it would be controversial to change this on all repositories, I only change it for those having external tracker enabled.

This is related to changes intoduced by #9116, so could be considered for backporting to 1.11.

@codecov-io
Copy link

codecov-io commented Jan 17, 2020

Codecov Report

Merging #9844 into master will increase coverage by <.01%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9844      +/-   ##
==========================================
+ Coverage    42.3%   42.31%   +<.01%     
==========================================
  Files         604      604              
  Lines       79137    79137              
==========================================
+ Hits        33479    33486       +7     
+ Misses      41529    41524       -5     
+ Partials     4129     4127       -2
Impacted Files Coverage Δ
routers/repo/pull.go 28.73% <0%> (ø) ⬆️
routers/user/notification.go 39.81% <18.18%> (ø) ⬆️
services/pull/check.go 54.54% <0%> (-2.1%) ⬇️
models/repo.go 47.14% <0%> (+0.12%) ⬆️
services/pull/patch.go 67.92% <0%> (+5.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8809626...64cda91. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 17, 2020
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 17, 2020
@6543
Copy link
Member

6543 commented Jan 17, 2020

@davidsvantesson can you add a infomation to the documentation?

Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 17, 2020
@lunny lunny added this to the 1.12.0 milestone Jan 18, 2020
@lunny lunny added the type/enhancement An improvement of existing functionality label Jan 18, 2020
@lunny lunny merged commit aac8250 into go-gitea:master Jan 18, 2020
davidsvantesson added a commit to davidsvantesson/gitea that referenced this pull request Jan 18, 2020
…rnal tracker (go-gitea#9844)

* Explicitly refer to PR in squash-merge commit message in case of external tracker

* documentation

Co-authored-by: zeripath <art27@cantab.net>
@davidsvantesson davidsvantesson deleted the squash-merge-refer-pr branch January 18, 2020 09:33
lunny pushed a commit that referenced this pull request Jan 18, 2020
…rnal tracker (#9844) (#9855)

* Explicitly refer to PR in squash-merge commit message in case of external tracker

* documentation

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
@lafriks lafriks added the backport/done All backports for this PR have been created label Jan 18, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants