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

leaper: utilize project_list_family and friends to avoid hard-coding #1387

Closed
jberry-suse opened this issue Feb 6, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@jberry-suse
Copy link
Contributor

@jberry-suse jberry-suse commented Feb 6, 2018

The utilities for determining and sorting projects within a product family provided in #1386 should be very handy for re-working leaper.py and thus avoid having to update it each cycle.

@jberry-suse

This comment has been minimized.

Copy link
Contributor Author

@jberry-suse jberry-suse commented Feb 28, 2019

def config_resolve_create_family(apiurl, project, config, position, origin, values):
projects = project_list_family_prior_pattern(apiurl, origin, project)
for origin_expanded in reversed(projects):
config['origins'].insert(position, { origin_expanded: values })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.