I just checked, the search in PPM only searches currently-selected repo. Yep, works as expected. I tested by searching for "abiword".PaulBx1 wrote:More PPM oddities.
1) I noted on Barry's blog that I'm getting results in a package search even if I have a repo selected that should return no results. I have figured this out. findnames.sh does not search only the selected repo; it searches all active repos. Not only that; within the search loop it leaves /tmp/petget_filterversion pointing at a repo other than the one that is selected.
There is one other place that writes directly to /tmp/petget_filterversion (rather than going through /tmp/filterversion.sh, which I think is innocent), and that is within pkgchooser.sh. I don't know if that one is OK or not.
I think findnames.sh should only search within the selected repo. Otherwise, if several things are found, you have no idea which repo they are in. The way it is now, they appear to be in all the repos, because whatever repo you have selected, you get the same search results.
2) I am using this in Lupu511. I am guessing, because I am using these large repos, I should have the alphabetic radiobuttons displayed. At least that's what the code says, that I can tell. But I don't see them. I haven't chased this one down yet.
3) In pkg_chooser.sh, it almost looks like the file /tmp/filterversion.sh is used (in the radiobuttons) before it has been created. Just my impression, could be wrong on this...
Note, I have posted some bugfixes for PPM since Quirky 1.4 was released. That might make a difference.