Added marker support to CloudFront.py to retrieve the next page of di…#707
Added marker support to CloudFront.py to retrieve the next page of di…#707fgroenendijk wants to merge 1 commit intos3tools:masterfrom fgroenendijk:master
Conversation
…stributions for cflist
|
Can you do this without the user having to specify a marker (e.g. just make On Wed, Feb 24, 2016 at 2:22 AM, weirdall notifications@github.com wrote:
|
|
@weirdall As mdomsch said, it would be better to have the list cloudfront command list all the entries automatically by following all the markers. Without user interaction. Like what is done for S3 list entries. |
|
It still makes sense to have a marker option, so we can tell where the listing should start, see #1211, we have huge buckets in production and we had to list the whole bucket at some point, a long running s3cmd ls can be killed for some reason, like out of memory, as current impl gathers the whole list in memory before printing, so having the marker option allows to resume the ls command. |
Added marker support to CloudFront.py to retrieve the next page of distributions for cflist. Will show the current and next marker as well as maximum items and item count before displaying the cloudfront list. This is concerning the s3cmd cflist command.