Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added marker support to CloudFront.py to retrieve the next page of di… #707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fgroenendijk
Copy link

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.

@mdomsch
Copy link
Contributor

mdomsch commented Apr 5, 2016

Can you do this without the user having to specify a marker (e.g. just make
it automatic) please?

On Wed, Feb 24, 2016 at 2:22 AM, weirdall [email protected] wrote:

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.

You can view, comment on, or merge this pull request online at:

#707
Commit Summary

  • Added marker support to CloudFront.py to retrieve the next page of
    distributions for cflist

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#707.

@fviard
Copy link
Contributor

fviard commented Jun 27, 2016

@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.

@zakalibit
Copy link

zakalibit commented Sep 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants