管理云中的包存储库。
depot的Python项目详细描述
用于推送,它是reprepro+s3cmd sync和whatnot的替代品
它会对回购协议进行增量更新,因此您不再需要保留回购协议的完整本地副本。
您只需在每个包生成时为其提供数据,它会根据需要更新所有不同的元数据文件
用法
Usage: depot [options] <package> [<package> ...] -h --help show this help message and exit --version show program's version number and exit -s URI --storage=URI URI for storage provider, checks $DEPOT_STORAGE or local:// -c NAME --codename=NAME Debian distribution codename [default: lucid] --component=NAME Debian component name [default: main] -a ARCH --architecture=ARCH package architecture if not specified in package -k KEYID --gpg-key=KEYID GPG key ID to use for signing --no-sign do not sign this upload --no-public do not make cloud files public-readable
示例
depot -s s3://apt.example.com -c precise -k 6791B14F mypackage.deb
存储位置
存储位置以uri的形式给出,如local:///srv/repo或s3://key:secret@bucket任何支持的方案 libcloud应该可以工作,但是到目前为止只有本地和s3已经过测试
S3证书
您可以将aws访问密钥id和secret访问密钥作为存储uri中的用户名和密码, 或者如果不存在,depot将检查$AWS_ACCESS_KEY_ID和$AWS_SECRET_ACCESS_KEY环境变量