Suggestion for keeping on top of new and updated plugins in the Plugin Gallery? (OJS 3.5)

I’d like to know if PKP or any other users have suggestions for keeping apprised of a) new plugins added to the Plugin Gallery, and b) updates to plugins?

I note that there was a Plugin Update Notification plugin which did part of that (updates about plugins), but that still required regularly logging in to OJS to check - as the manager of a publishing program but not of any journal, that’s not part of my regular workflow. And that didn’t tell me when there were new items in the Gallery.

Is it possible to get updates via plugin-gallery in GitHub, for example? If so, what would be the best way of setting that up?

Thanks in advance!

Hi @tmrozewski,

Good question! Not a super elegant solution, but you can watch and get updates from the Github repository:

Any changes to the plugin gallery feed in from that plugins.xml file.
I don’t personally do any watches on Github repos in this manner, so I haven’t used this personally, but other folks do. Feel free to report back on how well this works/doesn’t for you if you give it a try.

-Roger
PKP Team

Thanks @rcgillis , I’ll give that a shot. I’d like to leave the thread open for a spell in case anyone would like to contribute.

@rcgillis I have a related question: when could I expect changes posted to plugins.xml in Github reflect in the Plugin Gallery? Is that dependent on any process?

For example, I see that ticket #510 merged to main with updates to the Crossref Reference Linking Plugin an hour ago for 3.4 and 3.5, but the changes aren’t yet visible in the Plugin Gallery of a live journal in one of those versions yet.

BTW, I’m just being nitpicky because I need to leave detailed instructions to my sabbatical backup on how to monitor and act on this information. I imagine my instruction will be, “when you see a Github alert about a commit to main in plugin.xml, wait until X happens to go into the Plugin Gallery to upgrade it,” and I just want to know what X is. Does that make sense?

Hi @tmrozewski,

Good question. I like your idea about the Github alert. My guess would be that as soon as the pull request is merged, the canonical plugins.xml in the plugin-gallery repo is updated. From there, I suspect that OJS reads the XML from its configured source (by default the official PKP plugin gallery) when checking for plugins/updates; and most deployments would fetch the live file, so in practice the change should become visible as soon as your installation next refreshes the gallery.
@asmecher - do I have this right? If not, at what interval does thi syncs up with a user’s instance?

-Roger
PKP Team

Hi all,

The plugins.xml in Github is mirrored regularly onto the PKP server at https://pkp.sfu.ca/ojs/xml/plugins.xml. I think this is done hourly, but I could be wrong.

OJS keeps its own local cache of that file for 24 hours.

So you may need to wait a day or so for changes on Github to appear in OJS; if you clear the file cache on your local install you can get that to be shorter, but it’s still not instant.

Regards,
Alec Smecher
Public Knowledge Project Team