Hide internal package versions#20492
Merged
Merged
Conversation
noerw
approved these changes
Jul 26, 2022
silverwind
approved these changes
Jul 26, 2022
delvh
approved these changes
Jul 26, 2022
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jul 27, 2022
* giteaofficial/main: Hide internal package versions (go-gitea#20492) Fix org members bug (go-gitea#20489) Add labels to two buttons that were missing them (go-gitea#20419) fix enabling repo packages when projects are off (go-gitea#20486) Display project in issue list (go-gitea#20434) Make code review ceckboxes clickable (go-gitea#20481) Slightly simplify LastCommitCache (go-gitea#20444)
KN4CK3R
added a commit
to KN4CK3R/gitea
that referenced
this pull request
Jul 27, 2022
* Hide internal versions from most searches. * Added test.
vsysoev
pushed a commit
to IntegraSDL/gitea
that referenced
this pull request
Aug 10, 2022
* Hide internal versions from most searches. * Added test.
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.
fixes #20491
At the moment only the container packages use internal versions so I forgot to restrict the api to display these versions. This PR simply restricts all searches.
#18064 made the
IsInternaloptional which resulted in the wrong API result.