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
RFE - ignore repositories on Import #2168
Comments
parthaa
added a commit
to parthaa/pulpcore
that referenced
this issue
Jan 31, 2022
Customers want the flexibility in their import archive (since they tend to be in disconnected environments.) This patch introduces a IMPORT_MAPPED_REPOS_ONLY application wide setting that allows pulp to turn on the "leniency" mode and import only the repositories specified in the importer repository mapping and ignore the rest. The default behavior remains the same (IMPORT_MAPPED_REPOS_ONLY is false by default)
parthaa
added a commit
to parthaa/pulpcore
that referenced
this issue
Jan 31, 2022
Fixes pulp#2168 Customers want flexibility in their import archive (since they tend to be in disconnected environments.) This patch introduces a IMPORT_MAPPED_REPOS_ONLY application wide setting that allows pulp to turn on the "leniency" mode and import only the repositories specified in the importer repository mapping and ignore the rest. The default behavior remains the same (IMPORT_MAPPED_REPOS_ONLY is false by default)
parthaa
added a commit
to parthaa/pulpcore
that referenced
this issue
Jan 31, 2022
Fixes pulp#2168 Customers want flexibility in their import archive (since they tend to be in disconnected environments.) This patch introduces a IMPORT_MAPPED_REPOS_ONLY application wide setting that allows pulp to turn on the "leniency" mode and import only the repositories specified in the importer repository mapping and ignore the rest. The default behavior remains the same (IMPORT_MAPPED_REPOS_ONLY is false by default)
|
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! |
|
This issue is no longer marked for closure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Topic
Import/Export
Problem
Katello needs the ability to restrict repositories that can be imported. Idea here is that the export archive can contain repositories that need special subscriptions that the user may not have. Ideally instead of failing on import katello should be able to tell pulp "Please only import these repositories". In a disconnected environment this can be particularly painful to fix.
Suggestion
https://docs.pulpproject.org/pulpcore/restapi.html#operation/importers_core_pulp_create
When we create an Importer, Katello provides a repository mapping. Given this Pulp should
repo_mapping_onlyorrestrictedparameter in the importer. If this is true pulp will only import things that are provided in therepo_mappingand ignore the rest. This could be an application wide setting also (alternatively)exclude_repositoriesorinclude_repositoriesthat takes a list of repository ids and ignores mapping those.The text was updated successfully, but these errors were encountered: