scratchpkg icon indicating copy to clipboard operation
scratchpkg copied to clipboard

search function doesn't work

Open voncloft opened this issue 5 years ago • 10 comments

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

Looks like search function was removed from scratch.

voncloft avatar Jan 14 '20 23:01 voncloft

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

emmett1 avatar Jan 15 '20 01:01 emmett1

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

voncloft avatar Jan 15 '20 02:01 voncloft

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

emmett1 avatar Jan 15 '20 03:01 emmett1

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.

voncloft avatar Jan 15 '20 03:01 voncloft

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’.

emmett1 avatar Jan 15 '20 04:01 emmett1

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

voncloft avatar Jan 15 '20 04:01 voncloft

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

emmett1 avatar Jan 15 '20 04:01 emmett1

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

emmett1 avatar Jan 15 '20 04:01 emmett1

It works thanks again.

voncloft avatar Jan 15 '20 04:01 voncloft

No problem. :D

emmett1 avatar Jan 15 '20 04:01 emmett1