Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[WIP] introduce modular deps processing
just load modules and "install" them
  • Loading branch information
dparalen committed Dec 3, 2018
1 parent cc0a521 commit 43ae38a
Show file tree
Hide file tree
Showing 2 changed files with 439 additions and 32 deletions.
4 changes: 2 additions & 2 deletions plugins/pulp_rpm/plugins/importers/yum/associate.py
Expand Up @@ -103,7 +103,7 @@ def associate(source_repo, dest_repo, import_conduit, config, units=None, solver
solver)
rpms_to_copy = None

# ------ get Module children of Errata ------
# ------ get Module children of Errata/Modules/RPMs ------
source_repo_modules = set(existing.get_existing_units(
module_search_dicts, models.Modulemd, source_repo))
dest_repo_modules = set(existing.get_existing_units(
Expand Down Expand Up @@ -237,7 +237,7 @@ def copy_rpms(units, source_repo, dest_repo, import_conduit, config, solver=None
if solver:
# This returns units that have a flattened 'provides' metadata field
# for memory purposes (RHBZ #1185868)
if config.get('conservative_recursive_copy'):
if not config.get('conservative_recursive_copy'):
_LOGGER.debug('A conservative recursive copy requested')
deps = solver.find_dependent_rpms(unit_set)
else:
Expand Down

0 comments on commit 43ae38a

Please sign in to comment.