Skip to content

Commit

Permalink
Merge pull request #231 from rbikar/mutable-note
Browse files Browse the repository at this point in the history
Make some of UBI-related notes mutable [RHELDST-20307]
  • Loading branch information
rbikar authored Feb 4, 2025
2 parents 5db5ffd + cdfd8fe commit c8b2330
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pubtools/pulplib/_impl/model/repository/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,16 @@ class YumRepository(Repository):
type=list,
converter=frozenlist,
pulp_field="notes.population_sources",
mutable=True,
)
"""List of repository IDs used to populate this repository
"""

ubi_population = pulp_attrib(
default=False, type=bool, pulp_field="notes.ubi_population"
default=False,
type=bool,
pulp_field="notes.ubi_population",
mutable=True,
)
"""Flag indicating whether repo should be populated from population_sources for the purposes of UBI
"""
Expand All @@ -109,7 +113,10 @@ class YumRepository(Repository):
)

ubi_config_version = pulp_attrib(
default=None, type=str, pulp_field="notes.ubi_config_version"
default=None,
type=str,
pulp_field="notes.ubi_config_version",
mutable=True,
)
"""Version of UBI config that should be used for population of this repository."""

Expand Down

0 comments on commit c8b2330

Please sign in to comment.