Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 12:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
PPM; Search with multiple terms across multiple repos
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1633

PostPosted: 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 Wink

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.
ppm-2.jpg
 Description   PPM multi search. Repo update only in v2
 Filesize   145.3 KB
 Viewed   777 Time(s)

ppm-2.jpg

Racy_petget_2.patch.gz
Description  Cumulative patch of version 2
gz

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

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

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

 Download 
Filename  Racy_petget.patch.gz 
Filesize  2.36 KB 
Downloaded  368 Time(s) 

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4288
Location: Earth

PostPosted: 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 people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1633

PostPosted: 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 Very Happy
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4288
Location: Earth

PostPosted: 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 people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1633

PostPosted: 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 Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0529s ][ Queries: 12 (0.0037s) ][ GZIP on ]