Skip to content

updates to disqus_export to make it more robust and informative - #14

Open
tomscytale wants to merge 3 commits into
arthurk:masterfrom
tomscytale:master
Open

updates to disqus_export to make it more robust and informative#14
tomscytale wants to merge 3 commits into
arthurk:masterfrom
tomscytale:master

Conversation

@tomscytale

Copy link
Copy Markdown

I had to upload an crufty dataset to disqus with many comment records that had become corrupt. I made several changes to enable disqus_export deal more gracefully with bad data and output useful information.

details:
add option to specify a log file to which all errors will be output
--dry-run now will do full data processing but stop short of uploading data
add -j options to skip past the first comment stored (to get around broken data)
add -c option to continue on errors
rename a variable to avoid conflict with model name
give more informative output including progress report
give more informative error reporting including details of models which are corrupt
give more informative output on http errors

add -j options to skip past the first comment stored (to get around broken data)
add -c option to continue on errors
rename a variable to avoid conflict with model name
give more informative output including progress report
give more informative error reproting
give more informative output on http errors
add option to specify a log file to which all errors will be output
--dry-run now will do full data processing but stop short of uploading data
@tomscytale

Copy link
Copy Markdown
Author

hey - have you any interest in this change? If so I can test it against HEAD.

@SalahAdDin

Copy link
Copy Markdown

@tomscytale ok!

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

Successfully merging this pull request may close these issues.

2 participants