Skip to content

Add Pulp 3 RPM resolution to KonfluxSource [RHELDST-38332]#716

Open
crungehottman wants to merge 1 commit into
release-engineering:masterfrom
crungehottman:pulp3-support
Open

Add Pulp 3 RPM resolution to KonfluxSource [RHELDST-38332]#716
crungehottman wants to merge 1 commit into
release-engineering:masterfrom
crungehottman:pulp3-support

Conversation

@crungehottman

Copy link
Copy Markdown
Member

KonfluxSource now queries Pulp 3 by SHA256 to resolve each RPM's pulp_href, which is set as RpmPushItem.src for Pulp-to-Pulp syncing.

Changes:

  • Add Pulp3Client integration: look up RPMs by SHA256 checksum and set src=pulp_href on RpmPushItem
  • Accept Pulp connection params (pulp_url, pulp_cert, pulp_key, pulp_domain) as constructor args via Source.get() query params
  • Auto-discover advisory subdirectories instead of requiring an explicit advisories parameter
  • Add pubtools-pulplib>=2.44.0 as a required dependency

@crungehottman crungehottman force-pushed the pulp3-support branch 2 times, most recently from 091d1b4 to ea65a0d Compare June 24, 2026 19:47
Comment thread src/pushsource/_impl/backend/konflux_source/konflux_source.py Outdated
Comment thread src/pushsource/_impl/backend/konflux_source/konflux_source.py
Comment thread src/pushsource/_impl/backend/konflux_source/konflux_source.py Outdated
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c329ff1) to head (e07007e).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #716   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           59        59           
  Lines         2686      2736   +50     
=========================================
+ Hits          2686      2736   +50     
Flag Coverage Δ
unit-tests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

KonfluxSource now queries Pulp 3 by SHA256 to resolve each RPM's
pulp_href, which is set as RpmPushItem.src for Pulp-to-Pulp syncing.

Changes:
- Add Pulp3Client integration: look up RPMs by SHA256 checksum and
  set src=pulp_href on RpmPushItem
- Accept Pulp connection params (pulp_url, pulp_cert, pulp_key,
  pulp_domain) as constructor args via Source.get() query params
- Auto-discover advisory subdirectories instead of requiring an
  explicit advisories parameter
- Add pubtools-pulplib>=2.44.0 as a required dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants