Greetings!
I’ve cut a 1.0 release for pack(tokenize)
: https://github.com/shonfeder/tokenize/releases/tag/v1.0.0 .
However, I have changed github accounts since the initial versions were released. Now, when I try to register the new version by installing from the new source, I get:
?- pack_install('https://github.com/shonfeder/tokenize/archive/v1.0.0.zip').
Verify package status (anonymously)
at "https://www.swi-prolog.org/pack/query" Y/n?
% Contacting server at https://www.swi-prolog.org/pack/query ...
ERROR: Server reported the following error:
ERROR: No permission to register pack(tokenize) `'https://github.com/shonfeder/tokenize/archive/v1.0.0.zip''
This makes sense, in order to prevent packages form getting overwritten by randos. Fortunately, I still have my original github account. So I forked the pack back to that account, and tried to sync the release by installing from there. That seemed to work:
?- pack_install('https://github.com/aBathologist/tokenize/archive/v1.0.0.zip').
Verify package status (anonymously)
at "https://www.swi-prolog.org/pack/query" Y/n?
% Contacting server at https://www.swi-prolog.org/pack/query ... ok
% "v1.0.0.zip" was downloaded 2 times
Package: tokenize
Title: A simple tokenization library
Installed version: 1.0.0
Author: Shon Feder <shon.feder@gmail.com>
Maintainer: Shon Feder <shon.feder@gmail.com>
Packager: Shon Feder <shon.feder@gmail.com>
Home page: https://github.com/shonfeder/tokenize
Download URL: https://github.com/shonfeder/tokenize/release/*.zip
Install "tokenize-1.0.0.zip" (16,003 bytes) Y/n?
% % PL-Unit: tokenize
In fact, the first time I did this, the swi pack(tokenize)
page was even updated, and I could see the new version and the changes to the source etc.
However, shortly thereafter, the pack page was reverted.
Could someone provide some guidance on how I can update the pack to point to the new location and get the new release to stick?
Thanks!