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

Convert to Sopel 7+ URL handling #5

Merged
merged 1 commit into from Jul 10, 2020
Merged

Conversation

dgw
Copy link
Member

@dgw dgw commented May 16, 2020

Technically the @url decorator works on older Sopel versions, but 1) they're no longer supported and 2) it stops handling links if the url (title-fetcher) plugin is disabled (sopel-irc/sopel#1489).

The trade-off here is that you can match more than one link in an IRC line with @url (I guess see sopel-irc/sopel#1757), but need to require at least Sopel 7.0 to make the plugin reliable without using @rule.

I added an upper bound on the Sopel version "just in case". No current API change plans should affect this plugin until after 9.x, but it's probably good to test and release version bumps around when new Sopel releases drop anyway.

@lgtm-com
Copy link

lgtm-com bot commented May 16, 2020

This pull request introduces 1 alert when merging 075bcb6 into 13ae69b - view on LGTM.com

new alerts:

  • 1 for Unused import

@dgw dgw force-pushed the url-decorator branch 2 times, most recently from a5f6b71 to 6b0a89b Compare May 16, 2020 02:29
@RustyBower
Copy link
Collaborator

Not sure how I missed this :(

@RustyBower RustyBower merged commit 5f601da into sopel-irc:master Jul 10, 2020
@dgw dgw deleted the url-decorator branch March 7, 2021 06:31
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

2 participants