-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix NPE on try to get tag reference via API #18245
Merged
Merged
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
issue/regression
Indicates a previously functioning feature or behavior that has broken or regressed after a change
labels
Jan 12, 2022
6543
commented
Jan 12, 2022
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
Jan 12, 2022
Codecov Report
@@ Coverage Diff @@
## main #18245 +/- ##
==========================================
+ Coverage 45.63% 45.65% +0.01%
==========================================
Files 830 830
Lines 92024 92021 -3
==========================================
+ Hits 41993 42010 +17
+ Misses 43289 43270 -19
+ Partials 6742 6741 -1
Continue to review full report at Codecov.
|
axifive
approved these changes
Jan 12, 2022
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
Jan 12, 2022
How about remove the repo field from tag? |
done |
zeripath
approved these changes
Jan 12, 2022
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
Jan 12, 2022
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jan 13, 2022
* giteaoffical/main: Fix documents for development and bug report (go-gitea#18249) Add/update SMTP auth providers via cli (go-gitea#18197) Fix NPE on try to get tag reference via API (go-gitea#18245) Fix update user bug (go-gitea#18250)
Merged
Chianina
pushed a commit
to Chianina/gitea
that referenced
this pull request
Mar 28, 2022
* fix npe * rm gitRepo from Tag
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
issue/regression
Indicates a previously functioning feature or behavior that has broken or regressed after a change
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
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.
In current situation, you need to add the gitRepo into tag, but this is not always posible as it's an unexported field. so if you try to get a tag via api it will cause a 500. this fix it.
fix: