-
Notifications
You must be signed in to change notification settings - Fork 134
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
Optionally build only the latest version of a recipe. #99
base: master
Are you sure you want to change the base?
Conversation
@@ -240,11 +241,15 @@ def build_recipes( | |||
|
|||
logger.info('blacklist: %s', ', '.join(sorted(blacklist))) | |||
|
|||
get_recipes = utils.get_recipes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is handled in the if below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean this could be in an else, belonging to the if below.
if latest_only:
get_recipes = utils.get_latest_recipes
else:
get_recipes = utils.get_recipes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that is right. I did it this way because I thought it better reflects that there is a default case, and a special case (and possibly more in the future).
@johanneskoester - What is the status of this? Is it still needed? |
No description provided.