getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.58k stars 443 forks source link

Deprecate yapsy compatibility function names. #3730

Closed aknrdureegaesr closed 6 months ago

aknrdureegaesr commented 6 months ago

Pull Request Checklist

Description

Output a deprecation warning for people that use the old, Yapsy function names, so those can eventually be removed.

It is ok with me if my work is in the end squashed into one commit, together with the other work on the new-plugin-mananger branch.

Kwpolska commented 6 months ago

Sorry, but the proposed implementation is far too complicated. Only two plugins use this now, I’ll implement something to show a warning unconditionally instead of showing it only once and with traceback magic.

aknrdureegaesr commented 6 months ago

Fine with me.

Only two plugins use this now,

Epistemological remark: I don't think you can know all Nikola plugins 🤓.

Kwpolska commented 6 months ago

Epistemological remark: I don't think you can know all Nikola plugins 🤓.

Well, two plugins in the getnikola/plugins repository :)