mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-09-13 04:09:55 +00:00
add ability to fitler by dependency list
This commit is contained in:
@ -40,5 +40,9 @@ class Rebuild(Handler):
|
||||
:param configuration: configuration instance
|
||||
"""
|
||||
application = Application(architecture, configuration)
|
||||
packages = application.repository.packages()
|
||||
packages = [
|
||||
package
|
||||
for package in application.repository.packages()
|
||||
if args.depends_on is None or args.depends_on in package.depends
|
||||
] # we have to use explicit list here for testing purpose
|
||||
application.update(packages)
|
||||
|
Reference in New Issue
Block a user