-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[API] Only Return Json #13511
Merged
techknowlogick
merged 9 commits into
go-gitea:master
from
6543-forks:fix-13502_api_return-json-error
Nov 14, 2020
Merged
[API] Only Return Json #13511
techknowlogick
merged 9 commits into
go-gitea:master
from
6543-forks:fix-13502_api_return-json-error
Nov 14, 2020
Conversation
This file contains 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
6543
added
modifies/api
This PR adds API routes or modifies them
type/bug
backport/v1.13
labels
Nov 10, 2020
6543
changed the title
Fix 13502 api return json error
[API] Let GetBranch return json error if not found
Nov 10, 2020
6543
changed the title
[API] Let GetBranch return json error if not found
[API] Let Branch and Raw endpoint return json error if not found
Nov 10, 2020
6543
changed the title
[API] Let Branch and Raw endpoint return json error if not found
[API] Let Branch and Raw Endpoint return json error if not found
Nov 10, 2020
6543
commented
Nov 11, 2020
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
Nov 11, 2020
6543
force-pushed
the
fix-13502_api_return-json-error
branch
from
November 11, 2020 00:58
7b945f6
to
4e278b5
Compare
…directly" This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04.
6543
commented
Nov 11, 2020
6543
added
the
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
label
Nov 11, 2020
6543
changed the title
[API] Let Branch and Raw Endpoint return json error if not found
[API] Only Return json
Nov 11, 2020
Codecov Report
@@ Coverage Diff @@
## master #13511 +/- ##
==========================================
- Coverage 42.16% 42.15% -0.02%
==========================================
Files 696 696
Lines 76447 76480 +33
==========================================
+ Hits 32234 32239 +5
- Misses 38923 38947 +24
- Partials 5290 5294 +4
Continue to review full report at Codecov.
|
a1012112796
reviewed
Nov 11, 2020
zeripath
approved these changes
Nov 13, 2020
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
Nov 13, 2020
@a1012112796 Is something holding this back? |
zeripath
approved these changes
Nov 14, 2020
mrsdizzie
approved these changes
Nov 14, 2020
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
Nov 14, 2020
🚀 |
6543
added a commit
to 6543-forks/gitea
that referenced
this pull request
Nov 14, 2020
* Let Branch and Raw Endpoint return json error if not found * Revert "RM RepoRefByTypeForAPI and move needed parts into GetRawFile directly" This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04. * more similar to RepoRefByType * dedub-code * API should just speak JSON * nice name Co-authored-by: zeripath <[email protected]>
6543
added a commit
to 6543-forks/gitea
that referenced
this pull request
Nov 14, 2020
* Let Branch and Raw Endpoint return json error if not found * Revert "RM RepoRefByTypeForAPI and move needed parts into GetRawFile directly" This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04. * more similar to RepoRefByType * dedub-code * API should just speak JSON * nice name Co-authored-by: zeripath <[email protected]>
zeripath
added a commit
that referenced
this pull request
Nov 15, 2020
Backport #13511 Co-authored-by: zeripath <[email protected]>
zeripath
added a commit
that referenced
this pull request
Nov 15, 2020
Backport #13511 Co-authored-by: zeripath <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
backport/done
All backports for this PR have been created
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
modifies/api
This PR adds API routes or modifies them
type/bug
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
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.
close #13502