-
Notifications
You must be signed in to change notification settings - Fork 1
Switch majority of deb repos to verbatim mode #543
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -227,6 +227,7 @@ deb_package_repos: | |
| policy: immediate | ||
| distributions: stable | ||
| components: main | ||
| mirror: true | ||
| mode: verbatim | ||
| base_path: grafana/oss/apt/ | ||
| short_name: ubuntu_noble_grafana | ||
|
|
@@ -239,6 +240,8 @@ deb_package_repos: | |
| architectures: amd64 | ||
| distributions: stable | ||
| components: main | ||
| mirror: true | ||
| mode: verbatim | ||
|
Comment on lines
240
to
+244
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using In Pulp ( To resolve this, you should use |
||
| base_path: opensearch/3.x/apt/ | ||
| short_name: ubuntu_noble_opensearch | ||
| sync_group: third_party | ||
|
|
@@ -250,6 +253,8 @@ deb_package_repos: | |
| architectures: amd64 | ||
| distributions: stable | ||
| components: main | ||
| mirror: true | ||
| mode: verbatim | ||
|
Comment on lines
253
to
+257
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| base_path: opensearch-dashboards/3.x/apt/ | ||
| short_name: ubuntu_noble_opensearch_dashboards | ||
| sync_group: third_party | ||
|
|
@@ -261,6 +266,8 @@ deb_package_repos: | |
| architectures: amd64 | ||
| distributions: noble | ||
| components: main | ||
| mirror: true | ||
| mode: verbatim | ||
|
Comment on lines
266
to
+270
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
| base_path: ProxySQL/proxysql-3.0.x/noble/ | ||
| short_name: ubuntu_noble_proxysql | ||
| sync_group: third_party | ||
|
|
@@ -269,6 +276,8 @@ deb_package_repos: | |
| - name: Fluentd - Ubuntu Noble | ||
| url: https://fluentd.cdn.cncf.io/lts/6/ubuntu/noble | ||
| policy: immediate | ||
| mirror: true | ||
| mode: verbatim | ||
| base_path: fluentd/lts/6/ubuntu/noble/ | ||
| short_name: ubuntu_noble_fluentd | ||
| sync_group: third_party | ||
|
|
@@ -279,6 +288,8 @@ deb_package_repos: | |
| distributions: noble | ||
| components: main | ||
| architectures: amd64 | ||
| mirror: true | ||
| mode: verbatim | ||
|
Comment on lines
288
to
+292
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
| base_path: mariadb-server/mariadb-11.4/repo/ubuntu/ | ||
| short_name: ubuntu_noble_mariadb_11_4 | ||
| sync_group: third_party | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
mode: verbatimwhile filtering bydistributionsorcomponentswill result in broken repository metadata.In Pulp (
pulp_deb), verbatim publishing copies the upstream metadata files completely unmodified. If you filter the synced content (e.g., restricting tostableandmain), the published metadata will still list packages for other distributions or components that were filtered out during sync. When client systems attempt to update or install packages, they will encounter404 Not Founderrors for any of the filtered-out packages.To resolve this, you should use
mode: structuredinstead. This preserves the repository's suite/component structure while regenerating the metadata to match only the actually synced packages.