Hi,
I’m updating the lbfgs pack
https://www.swi-prolog.org/pack/list?p=lbfgs
and I would like the pack to point to GitHub - friguzzi/lbfgs: An interface to call libLBFGS from within SWI-Prolog
However, if you do
pack_install('https://github.com/friguzzi/lbfgs.git').
I got
ERROR: Server reported the following error:
ERROR: No permission to register pack(lbfgs) `'https://github.com/friguzzi/lbfgs.git''
How should I proceed?
Thanks
Fabrizio
There’s some discussion about pack URLs here (including URL patterns and migrating servers):
The pack system was designed to work without a central authority. Using a URL pattern to fetch a new version allows for that. The price is indeed that you cannot migrate to another server. The central database that keep track of packs being downloaded can do so, but after some issues the rules were tightened not to allow registering a new version from a different location as well.
I think the current pack system is a bit too simple. It did prove the need for one and I guess it is time for …
IIRC, @jan needs to do something if the server changes.
Have you tried uninstalling the pack and removing all the files, then doing the pack_install
?
Yes, I tried and I obtained the message above. The problem is that the pack was created when github used the old style URLs of the form git://github.com/friguzzi/lbfgs
that are no longer working, so the pack is not accessible anymore, @jan , can you please update the address to https://github.com/friguzzi/lbfgs.git
?
jan
January 29, 2023, 4:39pm
4
Updated. Seems to be in good shape again. Also registered the latest version.