The Wayback Machine - https://web.archive.org/web/20220801044012/https://github.com/go-gitea/gitea/pull/19159
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

Move init repository related functions to modules #19159

Merged
merged 8 commits into from Mar 29, 2022

Conversation

lunny
Copy link
Member

@lunny lunny commented Mar 21, 2022

No description provided.

@lunny lunny force-pushed the lunny/move_init_repo branch from ae1372d to 175242c Compare Mar 22, 2022
@lunny lunny added this to the 1.17.0 milestone Mar 22, 2022
@lunny lunny force-pushed the lunny/move_init_repo branch from 175242c to a1405ac Compare Mar 23, 2022
routers/api/v1/org/label.go Outdated Show resolved Hide resolved
routers/api/v1/repo/label.go Outdated Show resolved Hide resolved
routers/web/org/org_labels.go Outdated Show resolved Hide resolved
routers/web/repo/issue_label.go Outdated Show resolved Hide resolved
@lunny lunny force-pushed the lunny/move_init_repo branch from a1405ac to 29d1851 Compare Mar 24, 2022
@codecov-commenter
Copy link

@codecov-commenter codecov-commenter commented Mar 24, 2022

Codecov Report

No coverage uploaded for pull request base (main@a5f2894). Click here to learn what that means.
The diff coverage is 50.56%.

@@           Coverage Diff           @@
##             main   #19159   +/-   ##
=======================================
  Coverage        ?   46.54%           
=======================================
  Files           ?      857           
  Lines           ?   123194           
  Branches        ?        0           
=======================================
  Hits            ?    57344           
  Misses          ?    58906           
  Partials        ?     6944           
Impacted Files Coverage Δ
models/error.go 38.78% <ø> (ø)
models/repo.go 53.63% <ø> (ø)
models/repo_generate.go 21.05% <0.00%> (ø)
modules/repository/create.go 42.39% <0.00%> (ø)
routers/api/v1/org/label.go 80.19% <0.00%> (ø)
routers/api/v1/repo/label.go 82.53% <0.00%> (ø)
routers/web/org/org_labels.go 0.00% <0.00%> (ø)
routers/web/org/setting.go 0.00% <0.00%> (ø)
routers/web/repo/issue_label.go 37.17% <0.00%> (ø)
services/repository/adopt.go 26.64% <0.00%> (ø)
... and 4 more

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 a5f2894...29d1851. Read the comment docs.

Gusted
Gusted approved these changes Mar 28, 2022
@lunny
Copy link
Member Author

@lunny lunny commented Mar 29, 2022

make L-G-T-M work

@lunny lunny merged commit 76aa33d into go-gitea:main Mar 29, 2022
2 checks passed
@lunny lunny deleted the lunny/move_init_repo branch Mar 29, 2022
zjjhot added a commit to zjjhot/gitea that referenced this issue Mar 30, 2022
* giteaoffical/main: (31 commits)
  Add Package Registry (go-gitea#16510)
  Show messages for users if the ROOT_URL is wrong, show JavaScript errors (go-gitea#18971)
  [skip ci] Updated translations via Crowdin
  Make git.OpenRepository accept Context (go-gitea#19260)
  Use full output of git show-ref --tags to get tags for PushUpdateAddTag (go-gitea#19235)
  When conflicts have been previously detected ensure that they can be resolved (go-gitea#19247)
  More commit info from API (go-gitea#19252)
  Move some issue methods as functions (go-gitea#19255)
  Move project files into models/project sub package (go-gitea#17704)
  Granular webhook events in editHook (go-gitea#19251)
  Provide configuration to allow camo-media proxying (go-gitea#12802)
  Move init repository related functions to modules (go-gitea#19159)
  Move organization related structs into sub package (go-gitea#18518)
  Refactor repo clone button and repo clone links, fix JS error on empty repo page (go-gitea#19208)
  Show last cron messages on monitor page (go-gitea#19223)
  Allow API to create file on empty repo (go-gitea#19224)
  Use goproxy.io instead of goproxy.cn (go-gitea#19242)
  New cron task: delete old system notices (go-gitea#19219)
  Let web and API routes have different auth methods group (go-gitea#19168)
  Only send webhook events to active system webhooks and only deliver to active hooks (go-gitea#19234)
  ...
Ta180m pushed a commit to Ta180m/gitea that referenced this issue Apr 22, 2022
* Move init repository related functions to modules

* Fix lint

* Use ctx but db.DefaultContext

Co-authored-by: wxiaoguang <[email protected]>
Ta180m pushed a commit to Ta180m/gitea that referenced this issue Apr 22, 2022
* Move init repository related functions to modules

* Fix lint

* Use ctx but db.DefaultContext

Co-authored-by: wxiaoguang <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

6 participants