Skip to content

Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) #20186

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jul 1, 2022

Conversation

wxiaoguang
Copy link
Contributor

@wxiaoguang wxiaoguang commented Jun 30, 2022

Backport #20182

The dump-repo sub-command should initialize the git module before calling git commands.

And NullDownloader returned wrong error type, which stops dump-repo command, it's fixed together.

@wxiaoguang wxiaoguang changed the title Fix dump-repo git init Fix dump-repo git init (#20182) Jun 30, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jun 30, 2022
@wxiaoguang wxiaoguang changed the title Fix dump-repo git init (#20182) Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) Jun 30, 2022
@lunny
Copy link
Member

lunny commented Jun 30, 2022

CI failure is related.

@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Jul 1, 2022

CI failure is related.

https://drone.gitea.io/go-gitea/gitea/56933/3/8

I do not think it's related ......


restarted and passed.

@wxiaoguang wxiaoguang added this to the 1.17.0 milestone Jul 1, 2022
@wxiaoguang wxiaoguang added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Jul 1, 2022
@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 Jul 1, 2022
@6543
Copy link
Member

6543 commented Jul 1, 2022

🚀

@6543 6543 merged commit d22826a into go-gitea:release/v1.17 Jul 1, 2022
@wxiaoguang wxiaoguang deleted the backport-dump-repo-git-init branch July 4, 2022 05:38
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants