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

qutil improvements #361

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

Conversation

philbudne
Copy link
Contributor

fix #355 by only dumping x-mc- headers (as noted in comments)

Add --really-queue and --ignore-domain options

fix mediacloud#355
by only dumping x-mc- headers (as noted in comments)

Add --really-queue and --ignore-domain options
@philbudne philbudne requested a review from pgulley December 22, 2024 21:04
Copy link
Member

@pgulley pgulley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a note on what the alternative to 'really queue' is? why would we want not to really queue?

@philbudne
Copy link
Contributor Author

@pgulley without the option it's a "dry run" (tests whether the file is valid). I wanted to be able to test whether the file was valid before committing to actually queuing it (and encourage that behavior). TOTALLY open to better naming!!!

@pgulley
Copy link
Member

pgulley commented Dec 26, 2024

Calling the flag '--dry-run,' or '--test-run,' and defaulting it to true feels less convoluted to me, as long as there's a comment in the help message explaining that flipping it to false is necessary to actually queue

@philbudne
Copy link
Contributor Author

philbudne commented Dec 28, 2024 via email

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.

Bug Report: TypeError: Object of type datetime is not JSON serializable
2 participants