-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Move sdk structs to modules/structs #6905
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Thanks for PR :)
CI Fail |
needs |
needs |
Codecov Report
@@ Coverage Diff @@
## master #6905 +/- ##
=========================================
Coverage ? 41.39%
=========================================
Files ? 436
Lines ? 59618
Branches ? 0
=========================================
Hits ? 24678
Misses ? 31700
Partials ? 3240
Continue to review full report at Codecov.
|
Hmm 2 things:
|
@zeripath |
Ok. |
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
Should fixed #5954 |
* Add options to git.Clone to make it more capable * Begin the process of removing the local copy and tidy up * Remove Wiki LocalCopy Checkouts * Remove the last LocalRepo helpers * Remove WithTemporaryFile * Enable push-hooks for these routes * Ensure tests cope with hooks Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Repository.LocalCopyPath() * Move temporary repo to use the standard temporary path * Fix the tests Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove LocalWikiPath * Fix missing remove Signed-off-by: Andrew Thornton <art27@cantab.net> * Use AppURL for Oauth user link (#6894) * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go * internal/ssh: ignore env command totally (#6825) * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889 * Escape the commit message on issues update and title in telegram hook (#6901) * update sdk to latest (#6903) * improve description of branch protection (fix #6886) (#6906) The branch protection description text were not quite accurate. * Fix logging documentation (#6904) * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section * [skip ci] Updated translations via Crowdin * Move sdk structs to modules/structs (#6905) * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
This PR will move all structs maintaining APIs needed from
code.gitea.io/sdk-go
to this main repository's sub packagecode.gitea.io/gitea/modules/structs
. That will make maintaining APIs easier. When creating a new API for gitea, an extra PR tocode.gitea.io/sdk-go
will not be a necessary.