Changes default behaviour to ignore archived and deleted repos#1743
Changes default behaviour to ignore archived and deleted repos#1743schneems merged 7 commits intocodetriage:mainfrom hbontempo-br:feature/ignore-deleted-archived-repos
Conversation
schneems
left a comment
There was a problem hiding this comment.
Please change out default_scope for something else.
|
PR ended up being bigger than originally expected. |
|
Thanks for working on this. Sorry for the EXTREME delay. Looks great. I corrected a merge conflict. re-running tests now. |
|
Just signed up recently and noticed I’m still seeing archived repos (like nextcloud/gallery) in the repo list.
I saw #1743 was merged to handle this awesome work but looks like archived repos that were added before that fix are still being shown? Is a one-time cleanup planned or would a script to flag/remove old archived ones be helpful? Happy to test if needed. Thanks again for the platform, super useful otherwise! |
Same |

Description
Changes default behavior of ReposModel to deleted and archived repos.
This repos are going to remain on database but should be ignored everywhere in the application
Related Issue
Related to #1704
Should deal with #1735 / #1545
Motivation and Context
Should prevent "bad" repos to be presented to users
How Has This Been Tested?
Automated tests + rubocop analysis (locally)
Screenshots (if appropriate):
--
Types of changes
Checklist: