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

Sopel 7 notes #17

Merged
merged 43 commits into from
Jan 30, 2020
Merged

Sopel 7 notes #17

merged 43 commits into from
Jan 30, 2020

Conversation

dgw
Copy link
Member

@dgw dgw commented Mar 25, 2019

Merged #13, and updating this branch to put the file in the right place therefore broke branch previews on Netlify (since the _upgrading collection isn't enabled in the branch's Jekyll config).

I don't really want to rebase the branch, so here's hoping that Netlify's PR previews are like Travis's PR builds—i.e., that they build the merge result, not the source branch.

@dgw dgw added the content label Mar 25, 2019
@dgw dgw added this to the Sopel 7.0.0 milestone Mar 25, 2019
@dgw
Copy link
Member Author

dgw commented Mar 25, 2019

And… Netlify doesn't build the merge result. Lame.

@dgw
Copy link
Member Author

dgw commented Nov 28, 2019

Rebased. On the plus side, that means Netlify will build the preview more or less accurately. For now.

@dgw
Copy link
Member Author

dgw commented Jan 11, 2020

Might have to rebase again to make sure the page-note from f8f6ada gets updated. Sopel 7 is soon to be released, and won't be in development any more at that point.

Edit: Did it. Don't want to forget.

dgw added 14 commits January 17, 2020 21:41
Includes discussion of the first major change that is definitely going
to be included: restructuring the CLI.

This branch will be updated as deprecations and breaking changes are
merged into Sopel's master branch, and probably squashed down for
publication on the live site when we get near release.
Fixed a bit of wording, and renamed some headings
All subject to change, but still far better than having no plans at all.

Motivated by merging PR 1488 into the main Sopel repo, which added
warnings when run under Python 2.
See PR 1403 in the main Sopel repo, and issue 1200 there.
Includes "fix" for labeled link nearby, since indenting those right
after a list has caused problems elsewhere on the site.
Just say "update your shit" once. No need to put it in every subsection.
`sopel-config` is already in master, and `sopel-plugins` will be merged
soon. A couple extra deprecated CLI options to `sopel` were also worth
mentioning here, per conversations on Sopel's issue tracker.
Now that the implementation is in place, some of the future-tense stuff
here no longer made sense being written in future tense.
dgw added 12 commits January 17, 2020 21:41
The new CLI layout has been updated, too. We're trying *really* hard to
make it clear what's a "plugin" (add-on functionality) and what's a
"module" (part of Sopel or its API, like `sopel.tools` & submodules).
Updated content of just about every page containing the string "module"
to use "plugin" instead when appropriate. We're all-in on this change of
terminology; even script filenames and variables are updated.

Tweaked the plugin-autodoc script to use Python 3, as well. It was not
working properly under py2 on my test system, and since Netlify's build
images all have py3 available it makes more sense to just use that than
spend time fixing the problem under 2.7 (which is EOL soon).

Now the whole Netlify build script calls python3/pip3 specifically.

Note: The plugin-autodoc script has a kludge to let upstream _sopel keep
its references to the '_usage/meetbot-module.md' page even though it's
been renamed to '_usage/meetbot-plugin.md'. At some point, that should
be removed. The script needs plenty of other cleanup, too, so…
Those plugins were removed from core and made into separate packages.
@dgw
Copy link
Member Author

dgw commented Jan 18, 2020

Merging #10 caused a conflict in the tutorial. Fixed.

Not sure what I was doing back in October with that extra PR. Keeping
both of them would make merging a pain, so cherry-picking the extra
updates from there keeps the main "Sopel 7" branch nice and clean.
dgw added 3 commits January 21, 2020 19:07
We decided to require the `callback` in `bot.unregister_url_callback`
too, very late in the cycle. Fortunately it didn't require rewriting a
whole lot of documentation.
dgw added 5 commits January 24, 2020 00:07
Sphinx is only one dependency required to build the docs. Better to just
install everything. It doesn't take long to run a `pip install`.

Also updates the _sopel submodule to a version that contains all the
correct dependencies, including Sphinx, so this commit can be built.
The spellcheck plugin was moved out of core into its own PyPI package,
meaning we don't need its dependencies any more.
A lot fewer old plugins will need to be updated now.
@dgw dgw merged commit d1ff6ba into master Jan 30, 2020
@dgw dgw deleted the sopel-7-notes branch January 30, 2020 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant