| Author |
Message |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Sat 14 Apr 2012, 13:14 Post subject:
PPM; Search with multiple terms across multiple repos |
|
I find that searching for a pet one repo at the time and only for pet names with a single (part of a) word, may not be optimal.
So I modified PPM a bit, originally in Saluki and more in XOpup (mostly the findnames.sh script), so you can:
1) use up to 3 descriptive terms to search with (no wild cards necessary)
2) search in both pet names and pet descriptions combined.
3) search only the repo you specify or all the repos selected in “PPM configuration > Choose repositories” (the ones shown in the PPM window), simultaneously.
The attached pet is for the latest Woof/Racy/Wary/Slacko but may work with other puplets too.
For Luci 528.005 or earlier, the XOpup pet v4 works just fine (though will change a bit the GUI window)
See if you like this new functionality, if it is giving you any problems and/or unexpected behavior or if you can just crash it.
Developers may want to take a look at the attached Racy_petget.patch.gz for adaptation to other puppies, but most important, for code improvement
Note:The pet is not a standalone PPM replacement. Will only update 3 files in the /usr/local/petget folder. So, you must have a functional PPM to update.
Version 2 will also check if repos are older than 1 week old and offer to update them.
 |
| Description |
PPM multi search. Repo update only in v2 |
| Filesize |
145.3 KB |
| Viewed |
623 Time(s) |

|
| Description |
Cumulative patch of version 2
|

Download |
| Filename |
Racy_petget_2.patch.gz |
| Filesize |
2.67 KB |
| Downloaded |
285 Time(s) |
| Description |
version 2 will also offer to update the repos
|

Download |
| Filename |
ppm_multi_racy-2.pet |
| Filesize |
10.64 KB |
| Downloaded |
351 Time(s) |
| Description |
Multi-term, multi-repo search for PuppyPackageManager. Racy, Wary, Slacko version
|

Download |
| Filename |
ppm_multi_racy-1.pet |
| Filesize |
10.43 KB |
| Downloaded |
275 Time(s) |
| Description |
Cumulative patch of the changes
|

Download |
| Filename |
Racy_petget.patch.gz |
| Filesize |
2.36 KB |
| Downloaded |
250 Time(s) |
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2693 Location: Earth
|
Posted: Thu 26 Apr 2012, 16:35 Post subject:
|
|
@Mavrothal.
This is a giant step forward. And, a welcomed addition for those of us wo rely on the PPM as the means for adding functionality to PUPs. Thanks for adding this needed addition.
I haven't tested as of yet. I am confused as to whether I should get a V2 PET or if I should get V2 "cumulative" for my SLACKO V5.3.3PAE. What do you recommend?
Thanks in advance
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Thu 26 Apr 2012, 17:45 Post subject:
|
|
The only difference between v1 and v2 is that v2 checks if the repos are more than a week old and recommends updates.
I prefer v2 but other people may not want to bother.
BTW works in all puppies that are build with a recent woof.
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2693 Location: Earth
|
Posted: Thu 26 Apr 2012, 18:03 Post subject:
|
|
| gcmartin wrote: | | @Mavrothal. ... I am confused as to whether I should get a V2 PET or if I should get V2 "cumulative" for my SLACKO V5.3.3PAE. What do you recommend? ... | Thanks @Mavrothal.
But, what's confusing me is whether I should get which of the following version2 products to add to SALCKO?- Filename:Racy_petget_2.patch.gz Description:Cumulative patch of
- Filename:ppm_multi_racy-2.pet
Thanks in advance
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Fri 27 Apr 2012, 01:00 Post subject:
|
|
| gcmartin wrote: |
But, what's confusing me is whether I should get which of the following version2 products to add to SALCKO?- Filename:Racy_petget_2.patch.gz Description:Cumulative patch of
- Filename:ppm_multi_racy-2.pet
Thanks in advance |
The pet.
Is always easier to install and remove.
The patch also works fine, though will give some failure message in the latest slacko since Micko already corrected in Slacko a PPM typo that the patch also corrects.
In general as the post says, the patch is for developers/ment
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
|