is-archived
check if the repos you're depending on are archived upstream.
Currently checks a golang go.mod
file and/or a rust Cargo.toml
Usage
vbatts@weasel:~/src/github.com/vbatts/is-archived$ is-archived
INFO[0000] found 'go.mod'. Running `go mod edit -json'
INFO[0000] checking 6 github projects ...
vbatts@possibly:~/src/cc/image-rs$ is-archived
INFO[0000] found 'Cargo.toml'
INFO[0000] "" does not match "attestation_agent"
INFO[0001] "" does not match "ocicrypt-rs"
INFO[0001] "sigstore" does not list a repository
INFO[0001] checking 28 github projects ...
vbatts@possibly:~/src/cc/image-rs$
Install
go install github.com/vbatts/is-archived@latest
Github Rate Limit
With even a project like kubernetes, you'll hit the Github rate limit on the first run.
Go create a personal access token (PAT) on your Github Setting, and export it as a local environment variable.
export GITHUB_TOKEN=<your_github_pat>
Roadmap Ideas