sorawee
2020-5-20 21:50:42

Re https://www.reddit.com/r/Racket/comments/gm5vmv/a_review_of_the_racket_programming_language/:

Would it make sense to prioritize single collection package over multi collection package? That is, when multi collection packages collide with single ones, prefer to keep single ones and make multi collection packages failed instead of failing both.


sorawee
2020-5-20 21:53:37

popa.bogdanp
2020-5-20 22:00:07

That seems a bit arbitrary to me. For example, the package that Sage used to “attack” mine was probably a single-collection package. It might be better to keep some persistent state on the package server between builds to avoid moving docs around between builds like this, although I don’t personally mind the current model either. In effect, his attack made my docs move so they are now less discoverable, which is not great, but they are still there and you can get to them by clicking the link in the package listing. Someone who’s installed the package locally wouldn’t have this problem because they won’t have installed the attacking package.


popa.bogdanp
2020-5-20 22:01:06

I do think it’s unfortunate that packages that have conflicts are marked with https://github.com/zyrolasting/koyo/issues/1#issue-622058782\|red, but that’s just a UI/UX thing that could be improved.


popa.bogdanp
2020-5-20 22:02:10

It’s also worth pointing out that neither PyPI nor NPM (as far as I’m aware) build your packages and host their docs.


sorawee
2020-5-20 22:22:01

Oh yeah, I just recall Rosette used to have a similar(?) problem too: https://github.com/emina/rosette/blob/master/rosette/info.rkt#L10


popa.bogdanp
2020-5-20 22:22:56

Yup, I’ve definitely run into that as well.


samth
2020-5-21 01:40:42

I think we should fix the fact that the docs moved, and go to a first pkg wins approach


samth
2020-5-21 01:41:47

Also we should just namespace all documentation so that conflict doesn’t prevent both docs from appearing, but that’s harder