is-archived

command module
v0.0.0-...-857035a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
gh
vcs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL