-
Notifications
You must be signed in to change notification settings - Fork 27
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
Improve Flux combined maintainers list #135
Comments
@scottrigby Unfortunately there's yaml/yaml#48 so merging of sequences doesn't quite work like implemented in #134 - I tried writing a python script to generate some of the info, but it failed loading your YAML. |
To illustrate the problem: community on main [?]
❯ python -c "import yaml; yaml.safe_load(open('project/flux-project-maintainers.yaml').read())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_single_data
return self.construct_document(node)
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/constructor.py", line 60, in construct_document
for dummy in generator:
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/constructor.py", line 413, in construct_yaml_map
value = self.construct_mapping(node)
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/constructor.py", line 217, in construct_mapping
self.flatten_mapping(node)
File "/home/daniel/.local/lib/python3.8/site-packages/yaml/constructor.py", line 194, in flatten_mapping
raise ConstructorError("while constructing a mapping",
yaml.constructor.ConstructorError: while constructing a mapping
in "<unicode string>", line 42, column 3:
- <<: *flux2
^
expected a mapping for merging, but found scalar
in "<unicode string>", line 13, column 3:
- relu
^
community on main [?]
❯ |
This was referenced Dec 1, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow-up on #134
flux-project-maintainers.yaml
file from those machine-readable MAINTAINERS filesThe text was updated successfully, but these errors were encountered: