android13/external/python/google-api-python-client/scripts
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
readme-gen initial 2024-06-22 20:45:49 +08:00
test_resources initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
buildprbody.py initial 2024-06-22 20:45:49 +08:00
buildprbody_test.py initial 2024-06-22 20:45:49 +08:00
changesummary.py initial 2024-06-22 20:45:49 +08:00
changesummary_test.py initial 2024-06-22 20:45:49 +08:00
createcommits.sh initial 2024-06-22 20:45:49 +08:00
decrypt-secrets.sh initial 2024-06-22 20:45:49 +08:00
requirements.txt initial 2024-06-22 20:45:49 +08:00
updatediscoveryartifacts.py initial 2024-06-22 20:45:49 +08:00

README.md

Discovery Artifact Automation

Discovery Artifacts are automatically updated using a Github Action script. This documentation is intended for users that need to maintain the repository.

Updating discovery artifacts locally

To update discovery artifacts locally:

  1. Create a virtual environment using pyenv virtualenv updateartifacts
  2. Activate the virtual environment using pyenv activate updateartifacts
  3. Clone the repository, and cd into the scripts directory
  4. Run pip install -r requirements.txt
  5. Run pip install -e ../
  6. Run git checkout -b update-discovery-artifacts-manual
  7. Run python3 updatediscoveryartifacts.py
  8. Run ./createcommits.sh
  9. Run python3 buildprbody.py
  10. Create a pull request with the changes.
  11. Copy the contents of temp/allapis.summary into the PR Body.

Questions

Feel free to submit an issue!