aptblob icon indicating copy to clipboard operation
aptblob copied to clipboard

CLI for creating an APT repository on S3 or GCS

aptblob

Starting a Repository

mkdir bucket
BUCKET="file://$(pwd)/bucket"
gpg --gen-key
KEYID=42CAFE...

go run . init -k $KEYID "$BUCKET" stable <<EOF
Origin: stable
Label: stable
Codename: stable
Architectures: amd64
Description: Apt repository for Foo
EOF

go run . upload -k $KEYID "$BUCKET" stable mypackage.deb

License

Apache 2.0