Project

Profile

Help

Story #1314

closed

Extend whitelist importer option to optionally include dependencies

Added by bmbouter over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

This story builds off of the whitelist importer option introduced in #206 and adds an option to include dependencies. In #206 the 'whitelist' attribute expects a list as the value. This story maintains the list-style, but introduces a dictionary style value with the keys "packages" which contains the list of names similar to the value of #206 and "include_deps" which will be a boolean to enable the inclusion of dependencies of whitelist items. If include_deps is not specified it defaults to false.

{
    "whitelist": {
        "packages": [
            "foo",
            "bar"
        ],
        "include_deps": true
    }
}

Dependency solving should be done in its own logic that is separate from the rpm sync code itself. It will need to be called from the sync code which implements #206.


Related issues

Blocked by RPM Support - Story #206: As a user, I can specify a whitelist of packages for syncCLOSED - WONTFIX

Actions

Also available in: Atom PDF