[racket] Planet2 Corrupted PNR Entry

7 views
Skip to first unread message

Ray Racine

unread,
May 22, 2013, 6:02:51 PM5/22/13
to Racket
Seems I managed to slip a bad source URL into my first Planet2 test submittal.  Reasonably sure I have a typo in the Url to github resulting in an exception on attempting to determine checksum.

If someone could blow away the 'grip' package entry I'd be appreciative.

https://pkg.racket-lang.org/info/grip

Ray

Ray Racine

unread,
May 29, 2013, 10:54:15 AM5/29/13
to Racket
Update things for the record.

When creating a package, if one naively cuts and pastes the github URL from their github page and into the Planet2 source field upon submittal the entry becomes invalid.  An immediate exception error message is presented about an invalid URL scheme.  The issue is the missing branch segment in the URL path.

BAD: github://github.com/RayRacine/grip
The first thought is to go to the Manage Packages page, Edit the bogus package with the intent of deleting the package and starting over.  However, another exception happens, an exact->inexact exception, again probably because of looking to extract the non-existent checksum numeric value.  This prevents one from deleting the package.

However, it turns out one can simply start over with "Upload a new package" and "create" the same package again.  This overwrites the existent entry, in the sense of a REST/HTTP PUT.   I learned this because, oops, I did it again.  But it's all fine now.

Asumu Takikawa

unread,
May 29, 2013, 11:02:33 AM5/29/13
to Ray Racine, Racket
On 2013-05-29 10:54:15 -0400, Ray Racine wrote:
> When creating a package, if one naively cuts and pastes the github URL
> from their github page and into the Planet2 source field upon submittal
> the entry becomes invalid.* An immediate exception error message is
> presented about an invalid URL scheme.* The issue is the missing branch
> segment in the URL path.
>
> BAD: github://[1]github.com/RayRacine/grip
> OK: github://[2]github.com/RayRacine/grip/master

I've been tripped up by this too. I also still don't like that it's
"github://" since the Github website itself doesn't use any URL like
that.

Cheers,
Asumu
____________________
Racket Users list:
http://lists.racket-lang.org/users

Ray Racine

unread,
May 29, 2013, 11:09:17 AM5/29/13
to Asumu Takikawa, Racket
There is for a read-only, git protocol URL.  Which is the one I keep pasting.
git://github.com/RayRacine/grommet.git

However for Planet2:


The Planet2 documentation is clear on the expected form of the URL.

Reply all
Reply to author
Forward
0 new messages