-
Notifications
You must be signed in to change notification settings - Fork 5
Automate reporting for BROKEN libraries #70
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
Comments
Great idea @SableRaf , it would really help keep an eye on the state of the contributions. with regards to the optional field for the github username in the issue template, which is then added to the contributions.yaml, that sounds good to me. |
Thanks @mingness! I made a PR to update the issue templates, but then realized that since we generate We could add the following to # (Optional) A URL to the source repository for your library (e.g., https://github.com/yourUser/yourLibrary).
repository_url=
# (Optional) Your GitHub username. Useful for linking contributions.
github_username=
# (Optional) The SPDX identifier for your library's license (e.g., LGPL-2.1-or-later).
license_spdx= Then could add optional properties to # Define a mapping of properties to YAML fields
optional_fields = {
'repository_url': 'repositoryUrl',
'github_username': 'githubUsername',
'license_spdx': 'licenseSpdx',
}
# Add optional fields if present
for prop_key, yaml_key in optional_fields.items():
value = props.get(prop_key)
if value:
props[yaml_key] = value
del props[prop_key] Let me know if I'm on the right track! |
I agree that we want the library template to collect this information. I already added an issue to the processing-library-template regarding the licensing, processing/processing-library-template#87 I think it's good if we get this information from multiple pathways. For instance, not everyone is going to port their library over to the new template, or use our template to create a new library. In that case they may not know about the extra fields we want to populate, and we can collect this information when they submit their new library. But yes, if the library properties has this information, that is the source, and that is best. What do you think? Do you think the repetitive collecting of information will be annoying? Wrt the file add_new_contribution_to_yaml.py, nothing needs to be added. The script that parses the properties file and creates the json also shouldn't need to be changed, since we tell Pydantic to accept extra fields |
Thanks @mingness for your feedback!
Makes sense. We would need to make it clear to the user in both the form and the
Noted. Thanks for clarifying!
The issue only talks about the license. Should I make a separate issue for adding the repo URL and author's GitHub handle? |
Makes sense. I think, the priority should be properties file, and then issue field? Feel free to revise the existing new issue to include other information? |
Right now, broken contributions are only visible in
contributions.yaml
through thestatus: BROKEN
flag.If a contribution go missing, we have to wait for someone to report that they don't appear in the contribution manager (like here for example)
It would be helpful to automate the reporting process when a library is first marked as
BROKEN
.For example, we could open an issue automatically when a library is reported as
BROKEN
for the first time.On a related note, we could add optional fields in
contributions.yaml
and submission issue template for the repository URL and GitHub username(s) of the author(s). This would make it easier to tag maintainers when their contribution goes down.Would love to hear thoughts on this. Happy to help if we decide to move forward!
The text was updated successfully, but these errors were encountered: