WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Can I search Apps panel with provides to give me exact hits?  (Read 18746 times)

aus9

  • Guest
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #30 on: April 16, 2013, 08:08:28 AM »
I have kept email but how did you get depends.nsv?

time for bed no rush to reply

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #31 on: April 16, 2013, 08:17:52 AM »
Hi aus9
Yes, words.db is tags. Because of the way words.db is formatted, I haven't yet figured out how I want to deal with it yet.
As is, you can currently only search for one tag at a time, and even then, you have to watch out for variations. For
example, searching for  editor  you'll get results just for  editor , searching for  *editor*  will return results for:
Code: [Select]
editor
editor,
editor.
editor/ide.
due to punctuation being mixed in.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #32 on: April 16, 2013, 08:22:52 AM »
Hi aus9
Code: [Select]
I have kept email but how did you get depends.nsv?I had to build that by combining all the .tree files into a .db file and then importing it.

aus9

  • Guest
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #33 on: April 16, 2013, 04:55:04 PM »
Rich

Then I can't see appsearch being able to be released and left alone. It needs some kind soul to do that depends stuff.

Maybe I am narrow minded and other users only want the header search or maybe an executable search like   "something.so"

Anyhow its nice to know I still need you!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #34 on: April 16, 2013, 05:12:35 PM »
Hi aus9
In order to viable, the provides.db file would need occasional updating. A depends file might also prove useful.
The depends file is not hard to create. I just wouldn't want people hitting the server by downloading 4200 .tree
files to build it, so it would need to be available from the server.

aus9

  • Guest
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #35 on: April 16, 2013, 05:19:20 PM »
Rich

So after its tested a little more, can users expect a 8 week update tcz?

Or am I getting excited again.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #36 on: April 16, 2013, 05:29:45 PM »
Hi aus9
In order for the .db files to be updated, there would first have to be some interest in them. I don't think they would be
packaged in a .tcz, but downloaded as as needed.

aus9

  • Guest
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #37 on: April 16, 2013, 05:33:12 PM »
umm I expressed myself poorly.

Lets try again.

You have the skills to make the depends.nsv.
The dev team do not want a high server load.
I have the time to make a tcz.

If you accept the idea.....after testing is complete.......every 8 weeks or so, you send me a new depends.nsv and I pack it and upgrade the
"appsearch.tcz"

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #38 on: April 16, 2013, 05:43:04 PM »
Hi aus9
That would break the current implementation. The config file lets you specify the directory to use for database files.
A .tcz would restrict you to a non writable fixed directory. As the program is currently written, you can import and
search any file that contains data in the same format as provides.db or words.db.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Hi aus9
I've emailed you a new version of appsearch. The database menu now contains a separate import command
specifically for the words.db file. It reformats the file so the words associated with an extension are on a single line.
Use the new command only on the words.db file. There is also a new option for the Include/Exclude fields added mainly
for searching the words.nsv file. You can now search for multiple strings in a field by separating them with an & symbol. Ex.:
Code: [Select]
*web*&*browser*or:
Code: [Select]
*browser*&*web*will return any fields containing both  web  and  browser.

aus9

  • Guest
Rich

I have not had time to test much sorry

Its very early test, but did you know that your selection d -> to database screen

Has a case sensitive W?

Being an idiot I was cussing pressing w until I put on my glasses and saw it was in Caps.

However, I can see that you have improved the quick delete of search term by offering the user the use of the

Quote
F9      Delete everything left of the cursor                                                                                                       
F10     Delete from cursor to end of line

that is sheer genius and saves me using the back space a lot

thanks again

########### trivia

when I have a lot of keyword searches I might have

apple*  and your new way means I can press ---backspace  ONCE then F9 and Bob's your Uncle

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Hi aus9
The capital W was intentional to make it stand out as being different since it should only be used on the words.db file.
Actually those quick delete functions have been there all along.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Hi aus9
Quote
Actually those quick delete functions have been there all along.
They used to be mapped to Shift-Backspace and Shift-Delete but those key mappings were not support in console
mode so I changed them to F9 and F10.
Besides the left and right arrow keys, you can also use the Home and End keys if you want to move the cursor to the
beginning or end of the line.

gordonselfish

  • Guest
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #43 on: September 14, 2013, 04:55:49 AM »
Hi
Rich I sent you a pm.....ignore it pls

Can you resend me what ever I need to get appsearch working again in 4.x pls some time
I can't see a database option


click on image to zoom

2) if NOT possible can you search the depends for TCZs that have a dependency of
Quote
v4l-dvb-3.0.21-tinycore.tcz

Thanks heaps

EDIT
ahh it may be lib4vl.tcz.dep that I need to change on import
will test later
« Last Edit: September 14, 2013, 05:07:21 AM by gordonselfish »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11261
Re: [SOLVED] Can I search Apps panel with provides to give me exact hits?
« Reply #44 on: September 14, 2013, 07:51:57 AM »
Hi gordonselfish
That screen shot looks like it's for a very old version of appsearch.
These are the apps that depend on  v4l-dvb-3.0.21-tinycore.tcz:
Code: [Select]
# In database: /home/tc/.config/appsearch/depends.nsv
# Fields including "v4l-dvb-3.0.21-tinycore.tcz*", excluding "", 1 results

v4l-dvb-3.0.21-tinycore.tcz
FreeRDP-ffmpeg.tcz
OSS_alsa.tcz
alsa-dev.tcz
alsa-modules-3.0.21-tinycore.tcz
alsa-modules-3.0.21-tinycore64.tcz
alsa-modules-3.0.3-tinycore.tcz
alsa-modules-3.0.3-tinycore64.tcz
alsa-modules-3.0.32-x1-rt52.tcz
alsa-oss-dev.tcz
alsa-oss.tcz
alsa-plugins-dev.tcz
alsa-plugins.tcz
alsa.tcz
alsaconf.tcz
aubio-dev.tcz
avidemux.tcz
cheese-dev.tcz
cheese-locale.tcz
cheese.tcz
compiz-gnome.tcz
dermixd-alsa.tcz
dvb-apps.tcz
e-modules-extra-dev.tcz
echievements-dev.tcz
ecomorph-dev.tcz
enlightenment-dev.tcz
esound-dev.tcz
ffmpeg-0.11-dev.tcz
ffmpeg-0.11.tcz
ffmpeg.tcz
firewire-3.0.21-tinycore.tcz
firewire-3.0.21-tinycore64.tcz
firewire-3.0.3-tinycore.tcz
firewire-3.0.3-tinycore64.tcz
firewire-3.0.32-x1-rt52.tcz
fldigi-locale.tcz
fldigi.tcz
frescobaldi.tcz
gnome-desktop-base.tcz
guvcview-locale.tcz
guvcview.tcz
input-tablet-touchscreen-3.0.21-tinycore.tcz
input-tablet-touchscreen-3.0.21-tinycore64.tcz
input-tablet-touchscreen-3.0.3-tinycore.tcz
input-tablet-touchscreen-3.0.3-tinycore64.tcz
input-tablet-touchscreen-3.0.32-x1-rt52.tcz
jack-dev.tcz
jack-doc.tcz
jack.tcz
kaffeine-locale.tcz
kaffeine.tcz
kde-baseapps.tcz
kde-workspace.tcz
kde4-desktop.tcz
kdeedu-dev.tcz
kdeedu.tcz
kdegraphics.tcz
kdenetwork.tcz
libavc1394-dev.tcz
libavc1394.tcz
libavcodec-dev.tcz
libavcodec.tcz
libavdevice-dev.tcz
libavdevice.tcz
libavdevice54.tcz
libavfilter-dev.tcz
libavfilter.tcz
libavformat-dev.tcz
libavformat.tcz
libdc1394-bin.tcz
libdc1394-dev.tcz
libdc1394.tcz
libffado.tcz
libraw1394-dev.tcz
libraw1394.tcz
libv4l-dev.tcz
libv4l.tcz
linphone-dev.tcz
linphone-locale.tcz
linphone-mssilk-dev.tcz
linphone-mssilk.tcz
linphone.tcz
me-tv-locale.tcz
me-tv.tcz
mixxx.tcz
motion.tcz
mpd.tcz
nestopia.tcz
network-manager-kde.tcz
nted-locale.tcz
nted.tcz
ocrfeeder-locale.tcz
ocrfeeder.tcz
opencv-dev.tcz
opencv.tcz
original-modules-3.0.21-tinycore.tcz
original-modules-3.0.21-tinycore64.tcz
original-modules-3.0.3-tinycore.tcz
original-modules-3.0.3-tinycore64.tcz
original-modules-3.0.32-x1-rt52.tcz
paprefs.tcz
phonon-backend-xine.tcz
pulseaudio-dev.tcz
pulseaudio.tcz
py-PortMidi.tcz
pysane.tcz
python-opencv.tcz
qjackctl.tcz
robot-player-dev.tcz
robot-player-python.tcz
robot-player.tcz
sane-backends-dev.tcz
sane-backends.tcz
skanlite-locale.tcz
skanlite.tcz
snack-alsa.tcz
stage.tcz
thinkpad-acpi-3.0.21-tinycore.tcz
thinkpad-acpi-3.0.21-tinycore64.tcz
thinkpad-acpi-3.0.3-tinycore.tcz
thinkpad-acpi-3.0.3-tinycore64.tcz
thinkpad-acpi-3.0.32-x1-rt52.tcz
tracker-dev.tcz
tracker-hal-dev.tcz
unixcw-dev.tcz
unixcw.tcz
vice.tcz
volumeicon.tcz
wine-dev.tcz
wine.tcz
winetricks-gui.tcz
wxcam-locale.tcz
wxcam.tcz
xine-lib-dev.tcz
xine-lib-locale.tcz
xine-lib.tcz
xine-plugin-dev.tcz
xine-plugin.tcz
xine-ui-locale.tcz
xine-ui.tcz
xsane.tcz