Bug 41032 - Open Fifth missing in plugin repos config
Summary: Open Fifth missing in plugin repos config
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-16 08:28 UTC by Fridolin Somers
Modified: 2025-12-04 13:35 UTC (History)
4 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This updates the template used when creating Koha instances - it changes the plugin repository details for Open Fifth (previously PTFS-Europe), so that you can search and install plugins using the staff interface. To update existing Koha instances (where uploading and installing plugins from Git repositories is enabled) change the PTFS-Europe details to Open Fifth in the /etc/koha/sites/<instancename>/koha-conf.xml: <repo> <name>Open Fifth</name> <org_name>openfifth</org_name> <service>github</service> </repo>
Version(s) released in:
25.11.00,25.05.06,24.11.11
Circulation function:


Attachments
Bug 41032: Fix Open Fifth missing in plugin repos config (1.98 KB, patch)
2025-11-21 14:36 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review
Bug 41032: Fix Open Fifth missing in plugin repos config (2.00 KB, patch)
2025-11-21 16:37 UTC, David Nind
Details | Diff | Splinter Review
Bug 41032: Fix Open Fifth missing in plugin repos config (2.08 KB, patch)
2025-11-24 07:44 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2025-10-16 08:28:29 UTC
PTFS Europe in etc/koha-conf.xml <plugin_repos>
Needs to be changed ?
Comment 1 David Nind 2025-11-15 20:41:53 UTC
I think I've figured out the file to change in Koha to update the repository information: debian/templates/koha-conf-site.xml.in

However, I'm not sure how to get these changes to take effect when using koha-testing-docker.

1. A reset_all or shutting down KTD and starting it up again with a patch applied don't update KTD's /etc/koha/sites/kohadev/koha-conf.xml

2. When Solutions inLibro was added in bug 33776, debian/templates/koha-conf-site.xml.in was the only file changed.

3. So, I think for testing purposes, you need to manually update /etc/koha/sites/kohadev/koha-conf.xml and restart everything.

4. To fix KTD, I think I need to do a request to update koha-testing-docker, files/templates/koha-conf-site.xml.in

Other notes:
- There are also repositories listed in etc/koha-conf.xml, but maybe this is generated when things are packaged/the packages are built?
- I have a patch ready to go, but searching seems very flaky and inconsistent results, probably related to Bug 25952 - Github search for plugin throwing errors due to API rate limits




Looking at the original bug that added this, Bug 23975 - Add ability to search and install plugins from GitHub, these were the only files changed.

Or is this one of those things that are changed when the packages are built?

1. Apply this patch.
2. Copy the <plugin_repos> block from debian/templates/koha-conf-site.xml.in to /etc/koha/sites/kohadev/koha-conf.xml
   2.1 This block should now include details for inLibro's repository. 
   2.2 Remove the comment lines (<!-- and -->).
3. Restart everything (flush_memcached and then restart_all).
4. Go to the plugins home page (Administration > Plugins > Manage plugins).
5. In the 'Search for plugins' search box (under and to the right of the Plugins heading), search for carrousel
6. The search results should include the koha-plugin-carrousel, with the organization show as Solutions inLibro.
Comment 2 Tomás Cohen Arazi (tcohen) 2025-11-21 14:14:31 UTC
This is not a Koha bug, but a KTD bug. Closing.
Comment 3 Tomás Cohen Arazi (tcohen) 2025-11-21 14:30:18 UTC
I got it wrong :-D
Comment 4 Tomás Cohen Arazi (tcohen) 2025-11-21 14:36:21 UTC
Created attachment 189851 [details] [review]
Bug 41032: Fix Open Fifth missing in plugin repos config

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Comment 5 David Nind 2025-11-21 16:37:43 UTC
Created attachment 189862 [details] [review]
Bug 41032: Fix Open Fifth missing in plugin repos config

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Comment 6 David Nind 2025-11-21 16:38:33 UTC
(In reply to David Nind from comment #1)

> 
> Looking at the original bug that added this, Bug 23975 - Add ability to
> search and install plugins from GitHub, these were the only files changed.
> 
> Or is this one of those things that are changed when the packages are built?
> 
> 1. Apply this patch.
> 2. Copy the <plugin_repos> block from debian/templates/koha-conf-site.xml.in
> to /etc/koha/sites/kohadev/koha-conf.xml
>    2.1 This block should now include details for inLibro's repository. 
>    2.2 Remove the comment lines (<!-- and -->).
> 3. Restart everything (flush_memcached and then restart_all).
> 4. Go to the plugins home page (Administration > Plugins > Manage plugins).
> 5. In the 'Search for plugins' search box (under and to the right of the
> Plugins heading), search for carrousel
> 6. The search results should include the koha-plugin-carrousel, with the
> organization show as Solutions inLibro.

Please ignore these notes in Comment #1 - they were working notes that I forgot to remove.
Comment 7 David Nind 2025-11-21 16:42:55 UTC
I've signed off, but wasn't sure exactly how to test using KTD.

With the changes made, instances created should have the correct repository details.

For KTD, does files/templates/koha-conf-site.xml.in need updating?
Comment 8 Martin Renvoize (ashimema) 2025-11-24 07:44:55 UTC
Created attachment 189901 [details] [review]
Bug 41032: Fix Open Fifth missing in plugin repos config

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 9 Tomás Cohen Arazi (tcohen) 2025-11-25 14:49:39 UTC
(In reply to David Nind from comment #7)
> 
> For KTD, does files/templates/koha-conf-site.xml.in need updating?

That's done, David. Thanks for the reminder!
Comment 10 David Nind 2025-11-25 18:02:13 UTC
(In reply to Tomás Cohen Arazi (tcohen) from comment #9)
> (In reply to David Nind from comment #7)
> > 
> > For KTD, does files/templates/koha-conf-site.xml.in need updating?
> 
> That's done, David. Thanks for the reminder!

Awesome! Thanks Tomás!
Comment 11 Lucas Gass (lukeg) 2025-11-26 17:45:06 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 12 Paul Derscheid 2025-12-01 14:55:51 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 13 Fridolin Somers 2025-12-04 13:35:54 UTC
Pushed to 24.11.x for 24.11.11