Skip to content

Add "Days Open" Metrics; Validate Issue Labels; CirPy.org AWS Transition; Misc Maintenance #108

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

Merged
merged 7 commits into from
Sep 17, 2019

Conversation

sommersoft
Copy link
Collaborator

This PR got a little out of hand, as multiple things got rolled into it.

Add "Days Open" Metrics

  • Calculates the number of days that an issue or PR has been open.
  • Applies to circuitpython_libraries and update_cp_org_libraries.
  • Appends the number of days open to the issue/PR on reports

Validate Issue Lables

  • Adds a new validator to check the available issue labels on each library.
  • Standard labels are: bug, documentation, enhancement, good first issue

circuitpython.org/libraries Transition to AWS

  • Removes the check that ensured update_cp_org_libraries was only run once a week, on a certain day. New system will run daily.
  • Removes the function & call that created a PR to the circuipython-org repo with updates to libraries.json. New system will rely on using the -o command line argument to output a file (will be accomplished in circuitpython-org's travis.yml).

Miscellaneous Maintenance

  • In common_funcs.is_new_or_updated(), a draft/unpublished release would cause an exception. This is now handled by ensuring that published_at contains valid data.
  • Handle empty repos in circuitpython_library_validators.validate_contents() in a way that allows them to be added to both the BUNDLE_IGNORE_LIST so subsequent validators aren't run, and is also returned as an in-work-repo.

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the fixes!!! 🌮 🌮 🌮

@kattni kattni merged commit 9fb8d33 into adafruit:master Sep 17, 2019
@sommersoft sommersoft deleted the issuepr_metrics branch March 15, 2020 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants