Closed dkliban closed 4 months ago
0.27.0 introduced the --directory option for content uploads, but it doesn't seem to work with --chunk-size
pulp rpm content upload --directory ./ --repository my-custom-repo --chunk-size 1G
Error: Please pass in a valid size of form: [0-9] [K/M/G/T]B
Upload happens and correct chunk size is used.
i was doing it wrong. the value of chunk size should be 1GB
1GB
Summary
0.27.0 introduced the --directory option for content uploads, but it doesn't seem to work with --chunk-size
Steps to reproduce
pulp rpm content upload --directory ./ --repository my-custom-repo --chunk-size 1G
Error: Please pass in a valid size of form: [0-9] [K/M/G/T]B
Expected behavior
Upload happens and correct chunk size is used.