kiss-community / kiss

KISS - Package Manager, mirror of https://codeberg.org/kiss-community/kiss
https://kisslinux.org/package-manager
MIT License
20 stars 11 forks source link

kiss doesn't immediately exit on trying to find a nonexistent package #54

Open git-bruh opened 3 years ago

git-bruh commented 3 years ago

kiss b pkg where pkg has a dependency that isn't in any repo in KISS_PATH causes kiss to fail later after downloading sources, not immediately. So the error shows up 2 times

dylanaraps commented 3 years ago

I cannot reproduce (where zlib depends on test, test2 and test3 which don't exist):

-> ./kiss b zlib
-> Resolving dependencies 
-> Building: explicit: zlib, implicit: test test2 test3 
-> Continue?: Press Enter to continue or Ctrl+C to abort here 

-> test Checking repository files
ERROR Package 'test' not in any repository 
ERROR Version file not found 
git-bruh commented 3 years ago

Seems to be fixed in latest git of kisslinux/kiss, but not here. I guess the fix is in one of the pending PRs. Current: https://termbin.com/05vh, kisslinux/kiss: https://termbin.com/gm6y (Forgot that you could just type kiss b nonexistent to reproduce too)

dylanaraps commented 3 years ago

I can still reproduce this in kisslinux/kiss (only with kiss b zlib xz non-existent though).