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

Make publishing of repos optional [RHELDST-21951] #221

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

drepelov
Copy link
Contributor

@drepelov drepelov commented Jan 3, 2024

After the rhel-ubi repos sync, this tool also took care of publishing the affected ubi repos to the CDN. However, this did not work for Exodus. It was decided that all publishes should be done via Pub, which is already configured and works for Exodus.

This commit prepares this tool for removal of publishing by making it possible to switch the publishing on/off as needed.

It also removes the intended deduplication of srpms in _get_pulp_actions_src_pkgs() which was a bit confusing and also unnecessary, since deduplication is done during manifest creation. Finally, it removes some forgotten unused variables and renames some variables so it's more understandable.

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4a0dbf0) 96.89% compared to head (c0dbf3a) 96.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
+ Coverage   96.89%   96.96%   +0.07%     
==========================================
  Files           8        8              
  Lines         998      990       -8     
==========================================
- Hits          967      960       -7     
+ Misses         31       30       -1     

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

ubipop/__init__.py Show resolved Hide resolved
@drepelov drepelov changed the title Remove publishing of repos [RHELDST-21951] Make publishing of repos optional [RHELDST-21951] Jan 5, 2024
After the rhel-ubi repos sync, this tool also took care of publishing
the affected ubi repos to the CDN. However, this did not work for Exodus.
It was decided that all publishes should be done via Pub, which is
already configured and works for Exodus.

This commit prepares this tool for removal of publishing by making it
possible to switch the publishing on/off as needed.

It also removes the intended deduplication of srpms in
`_get_pulp_actions_src_pkgs()` which was a bit confusing and also
unnecessary, since deduplication is done during manifest creation.
Finally, it removes some forgotten unused variables and renames some
variables so it's more understandable.
@rbikar rbikar merged commit 7911919 into release-engineering:master Jan 9, 2024
7 checks passed
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