venomlinux / scratchpkg

Package Manager used by Venom Linux
https://venomlinux.org/
GNU General Public License v3.0
70 stars 33 forks source link

search function doesn't work #10

Open voncloft opened 4 years ago

voncloft commented 4 years ago

when I type scratch search kate it says function is not available

Looks like search function was removed from scratch.

emmett1 commented 4 years ago

Hey, i’m sorry about that. I’m separated some of ‘scratch’ function to ‘pkgquery’. Run ‘scratch help’ and ‘pkgquery help’ to see options.

voncloft commented 4 years ago

I tried pkgquery search it works but the color coding does not work its just white text

emmett1 commented 4 years ago

Yes, i did not make ‘pkgquery’ colorize, only ‘scratch’ has colorize.

voncloft commented 4 years ago

Curious as to why pkguery would not have color...just makes more sense to categorize the text.

Since scratch search no longer works and pkgquery is the only way to search for packages now.

emmett1 commented 4 years ago

Bcoz I wrote ‘pkgquery’ in more simpler format. And ‘scratch’ is a little mess up get me confuse sometimes to maintain it. Thats why i’m sparating most of ‘quering’ function. If this affect users, i might bring back ‘search’ function to ‘scratch’.

voncloft commented 4 years ago

Each to their own.... luckily I had a backup of scratch that still uses search and overwrote the new version on this pc

emmett1 commented 4 years ago

Old scratch is very different from new one. Give me like few hours, i’ll try bring back search function to scratch.

emmett1 commented 4 years ago

Hey, i'm bring back old search function to scratch, maybe a little bit different bcoz its posix now, but the output is same. https://github.com/venomlinux/scratchpkg/commit/3b7a73c0d813c18cd21e13ab2e2d8876c1b6d62d

voncloft commented 4 years ago

It works thanks again.

emmett1 commented 4 years ago

No problem. :D