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

Add option to start from a specific ticket or point in history #67

Closed
e-ed opened this issue Nov 26, 2024 · 2 comments
Closed

Add option to start from a specific ticket or point in history #67

e-ed opened this issue Nov 26, 2024 · 2 comments

Comments

@e-ed
Copy link

e-ed commented Nov 26, 2024

I am trying to export 8 ish years worth of tickets and files, sometimes pivotal returns code 500 for some reason and the whole process of exporting data to a db fails.

Would it be possible to add an option so I can pick and choose a specific ticket or point in time to start from, instead of just redoing the whole process?

Thanks! @schpet

@schpet
Copy link
Member

schpet commented Nov 26, 2024

@e-ed i'm pleased to learn someone other than me has a use for this thing. sorry it's not going that smoothly!

what you're describing sounds viable, but would probably involve a number of changes. you might find that tweaking the retry logic here

retries: 5,

it uses https://www.npmjs.com/package/fetch-retry and might need some additional config to properly retry, e.g.

retryOn: [429, 500, 501, 502, 503, 504],

so i would recommend starting there.

i'm no longer using this tool, and will not be making changes, but it's here to fork and i wish you good luck!

@e-ed
Copy link
Author

e-ed commented Feb 12, 2025

Interestingly enough, a few months ago I tried the tool from another computer (on a wifi network) and it ran without issues until the end, so I was able to get the data I needed. Thank you so much!

@e-ed e-ed closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants