You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main problem is that SWI prolog (when using github) expects the repository name to match the pack name, and therefore it fails because swi-mqtt-packis different frommqtt which is the pack name.
Either the repository or the pack name needs to be renamed. The only characters allowed in a pack name are 0-9a-zA-Z and _ (to prevent shell injection). So the dashes in swi-mqtt-pack also cause problems.
A solution:
Perhaps mqtt_pl would be a good choice for both the repository and the pack.
To rename the repository: Go to the settings tab of the repository, put mqtt_pl and click rename.
To rename the pack: change the name in pack.pl: name(mqtt_pl).
To enable automatic upgrades, update the download link (in pack.pl) to: download('https://github.com/olsky/mqtt_pl/releases/*.zip').
The text was updated successfully, but these errors were encountered:
That won't work, because dashes '-' are not allowed in a pack name.
I can't see any way to solve it without causing changes on the swi-prolog packs side.
Even if you change the repo name form swi-mqtt-pack to mqtt, it will need manual intervention on the swi-prolog pack side because the url has changed and the security checks will not allow the change.
Hi @olsky,
Installs of the pack are failing:
The main problem is that SWI prolog (when using github) expects the repository name to match the pack name, and therefore it fails because
swi-mqtt-pack
is different frommqtt
which is the pack name.Either the repository or the pack name needs to be renamed. The only characters allowed in a pack name are
0-9a-zA-Z
and_
(to prevent shell injection). So the dashes inswi-mqtt-pack
also cause problems.A solution:
Perhaps
mqtt_pl
would be a good choice for both the repository and the pack.mqtt_pl
and click rename.pack.pl
:name(mqtt_pl).
pack.pl
) to:download('https://github.com/olsky/mqtt_pl/releases/*.zip').
The text was updated successfully, but these errors were encountered: