Add temporary show=libs inspection view
Lets you browse exactly the packages that the libs section blacklist would remove on the next import, to review them visually before running it.
This commit is contained in:
parent
e3dff44f73
commit
3a1de72efe
2 changed files with 14 additions and 0 deletions
|
|
@ -381,6 +381,10 @@ class PackagesController < ApplicationController
|
|||
when 'without'
|
||||
packages = packages.without_screenshots
|
||||
logger.debug 'Limiting packages to those without screenshots'
|
||||
when 'libs'
|
||||
# Temporary inspection view: exactly the packages that the libs
|
||||
# section blacklist would remove on the next import
|
||||
packages = packages.where("section ~* '/?(old)?libs$'")
|
||||
end
|
||||
|
||||
packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue