tvo / rapid

Commandline client for Spring rapid downloading system
Other
7 stars 6 forks source link

rapid crashes on list-tags #9

Closed abma closed 14 years ago

abma commented 14 years ago

this suddenly happened yesterday... i think it's an problem on parsing the versions.gz files.

http://pastebin.com/kzkMVvGY

tvo commented 14 years ago

Confirmed, it breaks everything actually, not just list-tags :-o

tvo commented 14 years ago

It's because Conflict Terra v1.02 is 5 times in the list with different MD5 hashes. Wondering now how to solve :-)

abma commented 14 years ago

don't allow to chose a tag (server-side) that already exists? :-) downloading by md5sum isn't really useful i think, because the user had to chose which md5 he wants...

btw. currently it seems to work again :)

tvo commented 14 years ago

I discussed with det and we came to the conclusion that duplicate names shouldn't be allowed. So probably he fixed the versions.gz file on the server.

I'll keep this open until I've made rapid a bit more resistant against such things. (Just ignoring the duplicate packages or so, instead of immediatlely exiting with an error...)

tvo commented 14 years ago

don't choke on multiple packages with same name, but different hex or dependencies

All but the first package with that name will be ignored completely. Closed by a884731f2defd950782a8bfeb9eaf10d05a3dcc6