Skip to content
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

Weak deps migration #1151

Merged
merged 2 commits into from
Aug 6, 2018
Merged

Weak deps migration #1151

merged 2 commits into from
Aug 6, 2018

Conversation

ipanova
Copy link
Member

@ipanova ipanova commented Aug 2, 2018

No description provided.

dparalen and others added 2 commits August 2, 2018 18:18
Pulp has been ignoring the Recommends weak dependency when processing e.g
recursive unit copies.  This patch updates the RPM model to track a
recommends unit attribute and the primary.xml parser to populate this
attribute.  The libsolv dependency solver is used to process this
attribute when calculating unit dependencies.

Migration: populate the recommends attribute

Walks over the rpm units, unzipping the primary metadata XML snippets,
parsing the recommends entries and populating the recommends unit
attributes accoridingly.

Fixes: #3847
https://pulp.plan.io/issues/3847
Recommends field should be present on the model even if it is am empty list.
@ipanova
Copy link
Member Author

ipanova commented Aug 2, 2018

this PR needed some updates #1135

@ipanova
Copy link
Member Author

ipanova commented Aug 2, 2018

ok test

3 similar comments
@dparalen
Copy link

dparalen commented Aug 6, 2018

ok test

@ipanova
Copy link
Member Author

ipanova commented Aug 6, 2018

ok test

@ipanova
Copy link
Member Author

ipanova commented Aug 6, 2018

ok test

@daviddavis daviddavis merged commit c888e8e into pulp:2-master Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants