Skip to content

Conversation

@plucia-mitre
Copy link

Summary

As mentioned in #12838, improve the create-python-mirror.py script to (optionally) save filtered metadata with (optionally) updated URLs.

This adds the following arguments:

  • --save-metadata [filepath] - Indicates metadata should be saved. If a file path is given after this argument the metadata is saved to the given file. If no path is given, the metadata is saved to the --target argument value (or it's default value) with the filename download-metadata.json.
  • --mirror-url <url> - Updates URLs in the saved metadata to the given URL.

Test Plan

Some ad-hoc testing has been performed. I'm not sure there's a more formal test procedure for this script.

@plucia-mitre plucia-mitre force-pushed the plucia-mitre/create-python-mirror-improvements branch from 58952b4 to e04e132 Compare October 28, 2025 04:09
@plucia-mitre
Copy link
Author

Tagging @MeitarR since you created #12838 and I wanted to make sure this crossed your inbox. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant