silverstripe / silverstripe-akismet

Akismet module for Silverstripe
Other
2 stars 6 forks source link

Required dependency tijsverkoyen/akismet is abandoned #39

Open HeyImPhil opened 2 years ago

HeyImPhil commented 2 years ago

The required dependency https://github.com/tijsverkoyen/Akismet has been abandoned with no replacement suggested. Any advice for future development?

emteknetnz commented 2 years ago

One solution, which is probably the easiest solution, is we just copy the abandoned repository into a new /thirdparty folder in this repo. Looking at the LICENSE.md, I don't see any reason not to. @maxime-rainville what do you think?

maxime-rainville commented 2 years ago

Looking at tijsverkoyen/Akismet, it's a pretty small packages.

We've used the "thirdparty folder" approach in the past for dependencies that had never been shipped in a composer package and usually didn't have any namespace and were contain in a single file. I don't think that's the best solution here.

I would suggest those possible solutions:

In theory, we could fork tijsverkoyen/akismet but I don't want to be stuck maintaining the library for non-Silverstripe-CMS projects.

maxime-rainville commented 2 years ago

Might be worth pointing out that there's noting blocking the installation of an archived packages ... although it's not a great look when you start a new project and you see a bunch of warnings that you are using unmaintained libraries.

dhensby commented 2 years ago

I'm not really too concerned that is abandoned. It's not been updated in ~6 years and it never concerned anyone, so the fact it's just formally abandoned now isn't a big deal.

If we think it's a really big deal we can implement our own API interaction, because that module code needs a bit of modernisation

maxime-rainville commented 2 years ago

The problem is that tijsverkoyen/akismet is on our list of supported dependencies. So we have committed to look after it which puts us into a somewhat awkward situation.

Adding it there was probably a bit dumb. What we should care about is silverstripe/akismet, not any underlying library it might uses.

dhensby commented 2 years ago

Hmm, indeed - hard to claim to support a library we have no rights to.

Looks like the list needs updating and possibly the API logic just re-written for our module