Skip to main content

archive-repo

Captures and stores data about a GitHub repo for archival purposes

Archive command

usage: python3 -m archive-repo archive [-h] [--reference [REFFILE]] [--issues-only] [--quiet] repo githubToken [outFile]

Archive repo issues and PRs.

positional arguments:

  • repo: The GitHub repository to fetch, e.g. "quicwg/base-drafts"
  • githubToken: A token for a GitHub account with permission to read the selected repository; see https://github.com/settings/tokens
  • outfile: Where the output should be written; if omitted, stdout is used.

optional arguments:

  • -h: Displays help text
  • --reference: Optionally, previous output of this script. Makes the new run faster, since only new/changed issues and PRs need to be fetched.
  • --issues-only: Only fetch issues, not PRs
  • --quiet: Only write errors to stderr; otherwise, status is written to stderr

Note that providing an output file can make processing faster if the respository has not changed since the reference file was generated.

Generate PR Branches

usage: python3 -m archive-repo pr_branches [-h] [--include-merged] [--dry-run] input repo git_dir

Identify the source repos and forks of PRs from an archive, creating local branches as needed

positional arguments:

  • input: Archive file generated by python3 -m archive-repo archive
  • repo: Target GitHub repo
  • git_dir: Local directory with git repo (default: local directory)

optional arguments:

  • -h: Display help message
  • --include-merged: include merged PRs in analysis
  • --dry-run: Show what would be done, without making any changes

Metadata

Release files for archive-repo 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archive-repo 0.0.3
File Size Uploaded Provenance
archive-repo-0.0.3.tar.gz 10.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for archive-repo 0.0.3
File Interpreter ABI Platform
archive_repo-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / archive-repo-0.0.3.tar.gz

Download URL archive-repo-0.0.3.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
167e6d48fcd311c220857d7286d937d44a0bf7c72e01a83488abe5f519a58f10
BLAKE2b-256 checksum
How to use checksums
081883f5de16c78ac784e39b6a0c285ca4e848bfd716ac158f9603fe6739e9eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / archive_repo-0.0.3-py3-none-any.whl

Download URL archive_repo-0.0.3-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c245d7851e71ec3b87325ac33ca5df5c8054fd49ef701288b3470db92a595e2a
BLAKE2b-256 checksum
How to use checksums
2aaa3eaa91a86a8ba1b6c5cc726a427c20ba8f2bedc2813c384d443e52673b71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for archive-repo 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page