You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support new branching scheme on ubi config repositories, we need to add new attr version to UbiConfig class. New branching scheme will based on versions. E.g. there will be:
ubi7, ubi7.8 ... -> this will include all config files related to ubi7
ubi8, ubi8.1 ... -> this will include all config files related to ubi8
no other branches will exist
So version can derived from branch name.
If we have version attr populated, ubipop can easily the one ubi config which is intended to use for population given ubi repository.
For details how new branching is going to look see DELIVERY-7608.
Issue Type
Feature Request
Current behavior
Currently we don't support any versioning feature on ubi repo config repos or in ubi-config tool
Desired behavior
add new attr version to UbiConfig class
when ubi config is loaded via GitLab loader, populate version field
value of version is derived from branch name e.g. ubi7.8 -> 7.8
Use case
In ubipop, we can use this in following way:
desired_config_version = "7.8"
loader = ubiconfig.get_loader(ubiconfig_dir_or_url)
ubi_conf_list = []
ubi_conf_list.extend(loader.load_all())
for ubi_conf_item in ubi_conf_list:
if ubi_conf_item.version == desired_config_version:
return ubi_conf_item
The text was updated successfully, but these errors were encountered:
Summary
In order to support new branching scheme on ubi config repositories, we need to add new attr version to UbiConfig class. New branching scheme will based on versions. E.g. there will be:
So version can derived from branch name.
If we have version attr populated, ubipop can easily the one ubi config which is intended to use for population given ubi repository.
For details how new branching is going to look see DELIVERY-7608.
Issue Type
Current behavior
Currently we don't support any versioning feature on ubi repo config repos or in ubi-config tool
Desired behavior
Use case
In ubipop, we can use this in following way:
The text was updated successfully, but these errors were encountered: