docs/release_lookup/README.md
This tool allows users to find the earliest release that contains a specific PR or commit. It runs entirely in the browser using a static JSON index generated from the git history.
Generate the Index:
Run the Python script to generate the release_index.json file from your local git repository.
python3 generate_index.py --output release_index.json
This script:
v* and gateway-v*.Open the Tool:
Open index.html in your browser.
# You can open it directly if your browser supports local file fetch (Firefox usually does),
# or serve it locally:
python3 -m http.server
# Then go to http://localhost:8000/index.html
index.html: The UI for the lookup tool.generate_index.py: Script to build the index.release_index.json: The index file used by the UI.The tool determines the "earliest release" based on the tag creation date. It traverses tags from oldest to newest. Any commit reachable from a tag (that wasn't reachable from a previous tag) is assigned to that release.