ssleert / nitch

nitch - incredibly fast system fetch written in nim
MIT License
519 stars 52 forks source link

Wrong packages count on Gentoo #23

Open xfzv opened 1 year ago

xfzv commented 1 year ago
❯ nitch -v
nitch - 0.1.5

---

❯ eix -cI | wc -l
1362

---

❯ ls -d /var/db/pkg/*/* | cut -f "5" -d "/" | wc -l
1241

image

xfzv commented 1 year ago

Same issue on 1.0.6 by the way

raynei86 commented 1 year ago

I tried implementing a fix in my fork, can you check if it works?

xfzv commented 1 year ago

I tried implementing a fix in my fork using raw string literals, can you check if it works?

Thanks! Can confirm it's fixed with https://github.com/raynei86/mitch/commit/c6690158524ddbb6a2c6f9ebdaf68f44ccf90d0f:

image

Do you plan on adding pre-built binaries on your repo by any chance?

raynei86 commented 1 year ago

I'm mainly fixing the open issues right now, but once that's done I'll add binary releases.

YSW0630 commented 1 year ago

is there any suggestion for debian/ubuntu? same issue for counting pkgs

CerealKillerJohn commented 5 months ago

And NixOS, same issue.