@@ -56,28 +56,58 @@ $ deb-s3 upload my-deb-package-1.0.0_amd64.deb --bucket my-bucket
56
56
57
57
```
58
58
Usage:
59
- deb-s3 upload FILE -b, --bucket=BUCKET
59
+ deb-s3 upload FILE
60
60
61
61
Options:
62
- -b, --bucket=BUCKET # The name of the S3 bucket to upload to.
62
+ -a, [--arch=ARCH] # The architecture of the package in the APT repository.
63
+ -v, [--visibility=VISIBILITY] # The access policy for the uploaded files. Can be public, private, or authenticated.
64
+ # Default: public
65
+ [--sign=SIGN] # Sign the Release file. Use --sign with your key ID to use a specific key.
66
+ -p, [--preserve-versions] # Whether to preserve other versions of a package in the repository when uploading one.
67
+ -b, [--bucket=BUCKET] # The name of the S3 bucket to upload to.
63
68
-c, [--codename=CODENAME] # The codename of the APT repository.
64
69
# Default: stable
65
70
-s, [--section=SECTION] # The section of the APT repository.
66
71
# Default: main
67
- -a, [--arch=ARCH] # The architecture of the package in the APT repository.
68
- -v, [--visibility=VISIBILITY] # The access policy for the uploaded files. Can be public, private, or authenticated.
69
- # Default: public
70
72
[--access-key=ACCESS_KEY] # The access key for connecting to S3.
71
73
# Default: $AMAZON_ACCESS_KEY_ID
72
74
[--secret-key=SECRET_KEY] # The secret key for connecting to S3.
73
75
# Default: $AMAZON_SECRET_ACCESS_KEY
74
- [--endpoint=AWS_ENDPOINT] # The aws region endpoint for connecting to S3.
75
- [--sign=SIGN] # Sign the Release file. Use --sign with your key ID to use a specific key.
76
- -p, [--preserve-versions] # Whether to preserve other versions of a package in the repository when uploading one.
76
+ [--endpoint=ENDPOINT] # The region endpoint for connecting to S3.
77
77
78
78
Uploads the given FILE to a S3 bucket as an APT repository.
79
79
```
80
80
81
+ You can also verify an existing APT repository on S3 using the ` verify ` command:
82
+
83
+ ``` console
84
+ deb-s3 verify -b my-bucket
85
+ >> Retrieving existing manifests
86
+ >> Checking for missing packages in: stable/main i386
87
+ >> Checking for missing packages in: stable/main amd64
88
+ >> Checking for missing packages in: stable/main all
89
+ ```
90
+
91
+ ```
92
+ Usage:
93
+ deb-s3 verify
94
+
95
+ Options:
96
+ -f, [--fix-manifests] # Whether to fix problems in manifests when verifying.
97
+ -b, [--bucket=BUCKET] # The name of the S3 bucket to upload to.
98
+ -c, [--codename=CODENAME] # The codename of the APT repository.
99
+ # Default: stable
100
+ -s, [--section=SECTION] # The section of the APT repository.
101
+ # Default: main
102
+ [--access-key=ACCESS_KEY] # The access key for connecting to S3.
103
+ # Default: $AMAZON_ACCESS_KEY_ID
104
+ [--secret-key=SECRET_KEY] # The secret key for connecting to S3.
105
+ # Default: $AMAZON_SECRET_ACCESS_KEY
106
+ [--endpoint=ENDPOINT] # The region endpoint for connecting to S3.
107
+
108
+ Verifies that the files in the package manifests exist
109
+ ```
110
+
81
111
## TODO
82
112
83
113
This is still experimental. These are several things to be done:
0 commit comments