Skip to content

Conversation

@sbernhard
Copy link
Member

Currently, content filter based on the product-tags only works for RHEL. The content filter method should also be usable for other OSses, like CentOS, SuSE or even Debian/Ubuntu. With this approach, a [os-name]-[os-version] tag is created based on /etc/os-release. The tag is only generated and added if the feature is activated by setting use_os_release_product=1 in /etc/rhsm/rhsm.conf

@sbernhard sbernhard force-pushed the add_os_product_tag branch 2 times, most recently from fdd8f5b to f409870 Compare January 24, 2025 16:33
@github-actions
Copy link

github-actions bot commented Jan 24, 2025

Coverage

Coverage (computed on Fedora latest) •
FileStmtsMissCoverMissing
__init__.py00100% 
subscription_manager
   repolib.py3965586%35, 37, 47, 49–53, 86–91, 94, 99, 105, 136, 139, 186–187, 241–242, 248, 250, 414–417, 419–420, 422, 424, 426–428, 439–445, 488–491, 499–500, 507, 523–524, 530, 579, 669
subscription_manager/model
   __init__.py65395%142–143, 145
TOTAL17545451874% 

Tests Skipped Failures Errors Time
2421 14 💤 0 ❌ 0 🔥 34.115s ⏱️

@sbernhard sbernhard force-pushed the add_os_product_tag branch 8 times, most recently from 61ef1c5 to c008cf5 Compare January 25, 2025 11:02
Currently, content filter based on the product-tags only works for RHEL.
The content filter method should also be usable for other OSses, like
CentOS, SuSE or even Debian/Ubuntu. With this approach, a
[os-name]-[os-version] tag is created based on /etc/os-release. The tag
is only generated and added if the feature is activated by setting
use_os_release_product=1 in /etc/rhsm/rhsm.conf
@sbernhard sbernhard force-pushed the add_os_product_tag branch 4 times, most recently from 20964d5 to 5b18a1a Compare January 27, 2025 16:04
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