Allow API to create file on empty repo#19224
Merged
6543 merged 8 commits intoMar 28, 2022
Merged
Conversation
This PR adds the necessary work to make it possible to create files on empty repos using the API. Fix go-gitea#10993 Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
commented
Mar 26, 2022
zeripath
commented
Mar 26, 2022
This comment was marked as resolved.
This comment was marked as resolved.
…e-file-to-run-on-empty-repo
Signed-off-by: Andrew Thornton <art27@cantab.net>
…-run-on-empty-repo' into fix-10993-allow-create-file-to-run-on-empty-repo
This comment was marked as resolved.
This comment was marked as resolved.
Gusted
approved these changes
Mar 28, 2022
6543
reviewed
Mar 28, 2022
Co-authored-by: Gusted <williamzijl7@hotmail.com>
6543
approved these changes
Mar 28, 2022
Codecov Report
@@ Coverage Diff @@
## main #19224 +/- ##
=======================================
Coverage ? 46.57%
=======================================
Files ? 860
Lines ? 123267
Branches ? 0
=======================================
Hits ? 57409
Misses ? 58908
Partials ? 6950
Continue to review full report at Codecov.
|
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
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) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the necessary work to make it possible to create files on empty
repos using the API.
Fix #10993
Signed-off-by: Andrew Thornton art27@cantab.net