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

Support more urls #7

Merged
merged 3 commits into from
Nov 22, 2020
Merged

Support more urls #7

merged 3 commits into from
Nov 22, 2020

Conversation

flokli
Copy link
Owner

@flokli flokli commented Nov 21, 2020

This does relax the requirement of having /pipermail in the URL, and just tries to parse a URL not directly pointing to an mbox file as a list, and will fail if it didn't manage to retrieve any mbox files.

Fixes importing for lists.freedesktop.org.

We don't want to return anything else.
Some Mailing List Archive listings don't contain /pipermail in path.

Instead of simply giving up in this case, try to parse it as a pipermail
listing, and fail if we were not able to get any mbox URLs from it.
Also, replace `click.echo` calls with calls to the logger.
@flokli flokli merged commit fb78ec7 into master Nov 22, 2020
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.

None yet

1 participant