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 Mon 22 Dec 2014, 07:30
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 Posts_count  
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1900

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   949 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  452 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  506 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  430 Time(s) 
Racy_petget.patch.gz
Description  Cumulative patch of the changes
gz

 Download 
Filename  Racy_petget.patch.gz 
Filesize  2.36 KB 
Downloaded  390 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: 4507
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: 1900

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: 4507
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: 1900

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0544s ][ Queries: 13 (0.0046s) ][ GZIP on ]