A program to compute and display information about sets of repositories, including:
- Repository name
- Default branch
- The latest commit
- The # of days since the last commit
- The latest tagged source version
- The days since the last source version was tagged
- The number of new commits since the latest source version was tagged
You can run this either using poetry, which manages dependencies for you, or just regular python.
In this example we'll use the ros2.yaml file as an example, but other vcstool
files should work as well.
- Install
poetry
(on Linux distributions, there is usually apoetry
package). - Install dependencies of this project:
poetry install
- Gather the necessary data:
poetry run sync --config ./config/ros2.yaml
- Compute the necessary data:
poetry run compute --config ./config/ros2.yaml
- Run an http server locally:
poetry run serve
- Install
vcstool
- Gather the necessary data:
PYTHONPATH=src python3 ./src/osr_dashboard/command/sync.py --config ./config/ros2.yaml
- Compute the necessary data:
PYTHONPATH=src python3 ./src/osr_dashboard/command/compute.py --config ./config/ros2.yaml
- Run an http server locally:
PYTHONPATH=src python3 ./src/osr_dashboard/command/serve.py