Skip to main content

Automation for analyzing changes to the rosdep database and rosdistro index

Project description

rosdistro-reviewer

build coverage pypi

Automation for analyzing changes to the rosdep database and rosdistro index

The rosdistro index and rosdep database hold a significant amount of semi-manually curated information about various types of packages and how they are associated. To facilitate maintenance of this data and discourage modifications which might introduce unexpected behavior for users, robust automation is needed to validate proposed changes.

This tool analyzes a git repository containing changes to the rosdistro index and/or rosdep database and provides specific and actionable feedback. It is also capable of posting that feedback directly to a content forge like GitHub as a pull request review.

Invoking rosdistro-reviewer locally

Nearly all of the validation that rosdistro-review does can be performed locally. To run the analysis, just run rosdistro-reviewer from anywhere in the git repository you'd like to check. By default, the tool will only analyze uncommitted changes against the most recent commit. If you've already committed your changes and you'd still like to check them, you can choose a different target ref with the --target-ref option. For example:

$ rosdistro-reviewer --target-ref origin/master

  ✅ No changes recommended
 /————————————————————————————————————————————————————————————————————————————\
 | For changes related to rosdep:                                             |
 | * ✅ New rosdep keys are named appropriately                               |
 |                                                                            |
 | For changes related to yamllint:                                           |
 | * ✅ All new lines of YAML pass linter checks                              |
 \————————————————————————————————————————————————————————————————————————————/

Running rosdistro-reviewer in GitHub Actions

When a rosdistro pull request is opened or updated on GitHub which contains changes that this tool can process, it is invoked using GitHub Actions and the resulting analysis is posted to the pull request as a review by the user github-actions[bot]. The rosdistro review team uses the information presented by this review to determine if proposed commits require changes before merging.

example GitHub pull request review

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosdistro-reviewer-0.1.3.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

rosdistro_reviewer-0.1.3-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file rosdistro-reviewer-0.1.3.tar.gz.

File metadata

  • Download URL: rosdistro-reviewer-0.1.3.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/59.8.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for rosdistro-reviewer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4ec3b6cf6bd434861d19786f12d08ddfda62d5c94dac6dd3e9dc400680f0c21c
MD5 d2f6397540ae4b1348752e4777aa1f5b
BLAKE2b-256 57d6cb81d90facde0166ff7c37a9a914974e2642c7878088b2df7293cc6f9842

See more details on using hashes here.

File details

Details for the file rosdistro_reviewer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rosdistro_reviewer-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/59.8.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for rosdistro_reviewer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8fb50f4933b3cbef1389133831a8813a104c04ad289a133dfd5e09907852fe9
MD5 e06443711933cbadfaa2897a26404a38
BLAKE2b-256 b3b8e9d172a36eed0e29f771e170cad92811f64fb8d07dece5f9a7780b0d4626

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page