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

New repomap data format #714

Merged
merged 7 commits into from
Oct 6, 2021
Prev Previous commit
Next Next commit
targetuserspacecreator: consume RepositoriesMapping instead of Reposi…
…toriesMap

The RepositoriesMap is no longer produced by any actor regarding the
new repomap format.

Author: MichalHe <mhecko@redhat.com>
  • Loading branch information
pirat89 committed Oct 6, 2021
commit acde4c5c4cb8d59c91b09f98554a5ccacabdc3ad
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
RHSMInfo,
RHUIInfo,
Report,
RepositoriesMap,
RepositoriesMapping,
RequiredTargetUserspacePackages, # deprecated
StorageInfo,
TargetRepositories,
Expand Down Expand Up @@ -36,7 +36,7 @@ class TargetUserspaceCreator(Actor):
CustomTargetRepositoryFile,
RHSMInfo,
RHUIInfo,
RepositoriesMap,
RepositoriesMapping,
RequiredTargetUserspacePackages,
StorageInfo,
TargetRepositories,
Expand All @@ -48,5 +48,5 @@ class TargetUserspaceCreator(Actor):

def process(self):
skip_check = get_env('LEAPP_DEVEL_SKIP_CHECK_OS_RELEASE', False)
if (skip_check or version.is_supported_version()) and next(self.consume(RepositoriesMap), None):
if (skip_check or version.is_supported_version()) and next(self.consume(RepositoriesMapping), None):
userspacegen.perform()