-
Notifications
You must be signed in to change notification settings - Fork 0
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
0.2.0 #130
Conversation
percy/commands/convert.py
Outdated
@@ -2,6 +2,7 @@ | |||
File: convert.py |
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.
You should just delete this file, in favor of the one in CRM.
If I run
|
percy/render/_renderer.py
Outdated
yaml_jinja.indent(mapping=2, sequence=4, offset=2) | ||
yaml_jinja.preserve_quotes = True | ||
yaml_jinja.allow_duplicate_keys = True | ||
yaml_jinja.width = 1000 |
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.
yaml_jinja.width = 1000 | |
yaml_jinja.width = 2048 |
I would recommend 2048 because I had issues with some recipes where source urls where too long.
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.
Could you check if these attributes are also useful?
yaml.sort_keys = True
yaml.explicit_start = False
When I experimented with updating recipes, I found that they are required for some cases, but, honestly, I forgot the reason
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.
addressed the width. I do not want to sort the keys. explicit_start true adds the whole content as a list item
@@ -174,20 +184,19 @@ def read_conda_build_config( | |||
recipe_dir = recipe_path.parent | |||
variants = [] | |||
|
|||
if subdir is None: | |||
if subdir is None or len(subdir) == 0: |
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.
Wouldn't be better if not subdir
?
FYI, if |
Changing the flag to |
@@ -0,0 +1,174 @@ | |||
""" | |||
Provides a sync method which can be used to sync an existing recipe with content form grayskull. |
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.
Do we want to mention perseverance-scripts diff-deps
here so both tools are known?
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 added a disclaimer in the source.
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 looks like CRM is properly integrated. There are likely other opportunities for further integration, but that's not relevant at this time.
I can't speak so much for other parts of this project, so take my approval with that nuance.
get_read_only_parser()
function.