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

Check for 'main' as potential default branch name #14193

Merged
merged 2 commits into from
Dec 30, 2020
Merged

Check for 'main' as potential default branch name #14193

merged 2 commits into from
Dec 30, 2020

Conversation

skyline75489
Copy link
Contributor

There are repos out there that switched to 'main' as the default branch. This PR improves the importing experience of repos who use 'main' as the default branch instead of 'master'.

@codecov-io
Copy link

Codecov Report

Merging #14193 (ec5d9e7) into master (8e5aea8) will decrease coverage by 0.01%.
The diff coverage is 10.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14193      +/-   ##
==========================================
- Coverage   42.01%   42.00%   -0.02%     
==========================================
  Files         733      733              
  Lines       78704    78713       +9     
==========================================
- Hits        33071    33062       -9     
- Misses      40201    40218      +17     
- Partials     5432     5433       +1     
Impacted Files Coverage Δ
modules/repository/init.go 40.79% <0.00%> (-1.05%) ⬇️
services/mirror/mirror.go 15.57% <0.00%> (-0.18%) ⬇️
routers/private/hook.go 32.29% <100.00%> (ø)
modules/git/repo_language_stats_nogogit.go 57.44% <0.00%> (-6.39%) ⬇️
models/unit.go 46.57% <0.00%> (-2.74%) ⬇️
modules/git/batch_reader_nogogit.go 44.77% <0.00%> (-1.50%) ⬇️
routers/repo/view.go 37.60% <0.00%> (-0.65%) ⬇️
services/pull/pull.go 42.35% <0.00%> (ø)
modules/indexer/stats/db.go 60.00% <0.00%> (ø)
modules/git/repo_commit_nogogit.go 65.00% <0.00%> (+1.66%) ⬆️

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 af2fe9a...ec5d9e7. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 30, 2020
@a1012112796 a1012112796 added the type/enhancement An improvement of existing functionality label Dec 30, 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 Dec 30, 2020
@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 Dec 30, 2020
@zeripath
Copy link
Contributor

make lg-tm work

@zeripath zeripath merged commit 632800e into go-gitea:master Dec 30, 2020
@a1012112796 a1012112796 added this to the 1.14.0 milestone Dec 31, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

6 participants