-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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 repo-list private and total count bugs #11500
Conversation
Signed-off-by: Andrew Thornton <[email protected]>
(Fixes bugs reported by @CirnoT) |
Public repos of limited/private organizations still don't show as either Private or Public, only in undefined state. |
Sigh ... I've set it so that "private" shows the limited and private org public repos. |
I don't think I agree with them being classified as private, considering they are currently shown as public (both via icon as well as color); I think user expectation given visual clues would be that they show under Public |
this is kind/breaking for the API !!! |
OnlyPrivate -> AndPrivate or am I'm wrong? |
but of course this still doesn't completely work... pub repo of pub org seems not be shown. |
WHY IS THIS SUCH A MESS |
Signed-off-by: Andrew Thornton <[email protected]>
|
Signed-off-by: Andrew Thornton <[email protected]>
Please send backport |
* Fix repo-list private and total count bugs Signed-off-by: Andrew Thornton <[email protected]> * Ensure limited and private org public repos are displayed on "private" Signed-off-by: Andrew Thornton <[email protected]> * switch from onlyPrivate to is_private Signed-off-by: Andrew Thornton <[email protected]> * Generate swagger Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: guillep2k <[email protected]>
* Fix repo-list private and total count bugs Signed-off-by: Andrew Thornton <[email protected]> * Ensure limited and private org public repos are displayed on "private" Signed-off-by: Andrew Thornton <[email protected]> * switch from onlyPrivate to is_private Signed-off-by: Andrew Thornton <[email protected]> * Generate swagger Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: guillep2k <[email protected]> Co-authored-by: guillep2k <[email protected]>
* Fix repo-list private and total count bugs Signed-off-by: Andrew Thornton <[email protected]> * Ensure limited and private org public repos are displayed on "private" Signed-off-by: Andrew Thornton <[email protected]> * switch from onlyPrivate to is_private Signed-off-by: Andrew Thornton <[email protected]> * Generate swagger Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: guillep2k <[email protected]>
Fixes issue with the repo-list total count number not showing up and just sets the "private" toggle to match repo.is_private state.
A more complete refactor of these toggles is required in future but this is a simple backportable bug-fix
Signed-off-by: Andrew Thornton [email protected]