aw-index-cli
aw-index-cli is the consumer CLI for the Autoware Index registry. It
reads a distribution manifest (distributions/<rosdistro>.yaml) and composes a
vcs2l .repos file you can vcs import into a workspace.
The registry is repository-keyed: each entry is one repository with exactly
one ref and the packages it hosts.
Install
With pipx (recommended for an isolated CLI):
pipx install aw-index-cli # first install
pipx upgrade aw-index-cli # update to the latest release
Commands
compose— render a.reposfile from a distribution.check— gate a composed.reposagainst the registry and sweep history.list— list registry packages with their latest validation status.
compose
Select what you need by package, repository, or tag — the distribution is fetched from GitHub by default, so no registry checkout is required.
# Recommended: compose just the packages you want.
aw-index-cli compose --rosdistro jazzy \
--packages autoware_livox_tag_filter
# …or pull in whole repository entries by their registry key.
aw-index-cli compose --rosdistro jazzy \
--repository autoware_livox_tag_filter
# Narrow by tag (filters can be combined; they are ANDed).
aw-index-cli compose --rosdistro jazzy --tags sensing perception
# Print to stdout instead of writing a file.
aw-index-cli compose --rosdistro jazzy \
--packages autoware_livox_tag_filter --stdout
[!TIP] Omitting all of
--packages,--repository, and--tagscomposes the entire distribution — supported, but usually you want to name what you consume.
Example output for compose --rosdistro jazzy --repository livox-tools
(a monorepo entry hosting two registered packages):
# aw-index-cli 0.4.0
# source: autowarefoundation/autoware-index@main
# rosdistro: jazzy
# tags: all
# repository: livox-tools
# generated_at: 2026-06-11T12:00:00+00:00
# selected packages by repository:
# livox-tools: autoware_livox_decoder, autoware_livox_tag_filter
# Generated file — re-run 'aw-index-cli compose …' to update; do not edit by hand.
repositories:
livox-tools:
type: git
url: https://github.com/autowarefoundation/autoware_livox_tag_filter
version: main
Less common sources — a local registry checkout, or a fork / specific git ref:
# Read from a local registry checkout instead of GitHub.
aw-index-cli compose --rosdistro jazzy \
--packages autoware_livox_tag_filter \
--registry-path /path/to/autoware-index
# Fetch the distribution from a fork at a specific branch/tag/sha.
aw-index-cli compose --rosdistro jazzy \
--packages autoware_livox_tag_filter \
--registry-repo me/autoware-index-fork --registry-ref dev
How entries are composed
- Entry keys are registry repository keys — the directory
vcs importclones into. - Filters are ANDed. An unknown
--packagesname or--repositorykey is a hard error, never a silent empty result. - A monorepo collapses to one entry at its single
ref, however many of its packages match. - Each entry is pure vcs2l —
type/url/versiononly. The selected package names live in the# selected packages by repository:header comment, not the YAML body.
[!NOTE] A clone may include unregistered sibling packages the index makes no claims about. To build only the packages you selected, pass their names to colcon:
colcon build --packages-up-to autoware_livox_tag_filter # names from the header comment
Key options
--rosdistro(required): ROS distribution, e.g.jazzy.--packages/--repository/--tags: selection filters.--autoware: informational only — recorded in the header, not a ref selector.--registry-path: read a local file or registry directory instead of GitHub.--registry-repo/--registry-ref: GitHub source repo (defaultautowarefoundation/autoware-index) and git ref (defaultmain).--repo-root/--name/--output: where and under what name to write the.repos(default<repo-root>/repositories/autoware-index.repos).--stdout: print instead of writing a file.--no-timestamp: omitgenerated_atfor byte-identical output.
[!IMPORTANT] There is no
importcommand — pipecomposestraight into vcs:
aw-index-cli compose --rosdistro jazzy --packages autoware_livox_tag_filter --stdout \
| vcs import src
check
Verify a composed .repos is still current: every repository at the registry's
ref, and each package passing its latest sweep — the registry's periodic
build/test against the current Autoware release. Intended as a CI gate after
vcs import.
# Auto-discovers ./autoware-index.repos or ./*/autoware-index.repos; rosdistro is
# read from the file's header. Exit code is the gate.
aw-index-cli check
# Or point at a specific file.
aw-index-cli check --repos repositories/autoware-index.repos --rosdistro jazzy
Per repository it reports ref drift, removal from the registry, each package's
latest status (pass/fail/—) and the Autoware version tested, and — for
branch refs — whether the branch advanced past the last sweep.
- Exit
0— all pass, no drift. - Exit
1— any failing validation, ref drift, or removed package (with--strict, also unvalidated packages or a branch that advanced since the sweep). - Exit
2— could not run (bad/missing.repos, registry load error).
Options mirror compose, plus --data-ref (default data), --strict, and
--format {table,json}.
[!NOTE] Without
giton PATH the branch-drift check is silently skipped, so a green check isn't a complete guarantee.
list
Enumerate the packages registered for a distro with their latest sweep status — discovery plus a health readout, without composing anything.
aw-index-cli list --rosdistro jazzy
aw-index-cli list --rosdistro jazzy --tags sensing --format json
Accepts the same selection filters as compose. Exit 0 normally; with
--strict, exit 1 if any selected package is failing or unvalidated; exit 2
on a registry load error.
License
Apache-2.0. See LICENSE.
Release files for aw-index-cli 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aw_index_cli-0.4.0.tar.gz | 44.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aw_index_cli-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.8 kB
Release files / aw_index_cli-0.4.0.tar.gz
| Download URL | aw_index_cli-0.4.0.tar.gz |
|---|---|
| Size | 44.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cb8791eb7079036305cba077998cba6f0c596ce4a6f0d828b056eccba036bc6
|
|
BLAKE2b-256 checksum How to use checksums |
5976f394e36916772b9daec9e8ee569456ad38d3910dff933839cc1ca7bc8216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 1, 2026.
Transparency logRelease files / aw_index_cli-0.4.0-py3-none-any.whl
| Download URL | aw_index_cli-0.4.0-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a634160abecf26cf54432734fc32f5427c0c9a718bedb9086872405f668aae1f
|
|
BLAKE2b-256 checksum How to use checksums |
689a64621ae695497510f211042fcbfb7c39ac6bffb84a5263863aabfb7d9263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 1, 2026.
Transparency log