PetCheck - views files in Pets or installed packages

Miscellaneous tools
Post Reply
Message
Author
jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

PetCheck - views files in Pets or installed packages

#1 Post by jpeps »

Note: requires recent gtkdialog 0.7.21 (which has fileselect filters).


Views files in Pets or installed packages... shows potential overwrites of already installed files and builtins. Color-list shows all files together (separated by colors); option to view files with links.

"Install-NoClobber" opens a checklist with already installed files unchecked by default. Select desired files for installation, and click "OK"

Run "Builtin Installer (once) " to see builtins listed; otherwise they'll just be listed with the installed files; installer creates a file in /mnt/home.

Change Log: 9/2/11 user-installed-packages reflects package names as ||$NAME-nc.pet||
9/3/11: compress builtin list in /mnt/home; read uncompressed copy in /tmp
9/24/11 Version 1.5 Uses gtimer process widget
1/29/12 Version 2.0 Uses checklist instead of editbox
Attachments
gtimer.pet
Process widget
(1.1 KiB) Downloaded 695 times
PetCheck-2.0.pet
Version 2.0
(5.15 KiB) Downloaded 842 times
PetCheck.png
(105.69 KiB) Downloaded 1670 times
Last edited by jpeps on Sun 29 Jan 2012, 10:50, edited 8 times in total.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#2 Post by 8-bit »

One very big thankyou from me to you.
This is one I will have to check out.

I am back after having previously installed yad-0.13.0-i486.pet.
That pet had no language files (not needed by me) and no man file (wanted). I also had zenity installed as a binary file.
So I told PetCheck I wanted to install yad-0.12.2-i486.pet and clicked Color-List.
I was shown the files in yad-0.12.2-i486.pet that I already had installed in blue.
I then selected Install-NoClobber and was shown an editable list of the files to be installed with the ones I had already installed prefixed by a question mark. I put a question mark before other files I did not want installed and selected install from the popup.
I then checked /root/.packages/yad-0.12.2-i486-nc.files and it contained only the selected files.
So all in all, I think it is a really great utility and it is going to change the way I install downloaded PET packages.
Almost everything was easily understood other than knowing one should run the Builtin Installer.

Thank you again and you can use this post as a testimonial to the usefulness of PetCheck! :D :D :D

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#3 Post by jpeps »

Hi 8-bit,

Thanks for the feedback. I'm glad it's working. I made PetCheck so it will work without installing the builtin filelist if desired....then they just show up as installed files.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#4 Post by jpeps »

Updated to compress builtin list. In 525 saves 258K.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#5 Post by jpeps »

Version 1.5: Uses gtimer process widget.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#6 Post by jpeps »

Version 2.0: Replaced the editbox with a combo-checklist for no-clobber install file selection. By default, already installed files load as unchecked. Also includes some bug fixes (sed escapes, link file issues)

Pelo

petcheck

#7 Post by Pelo »

:P :P :P très bien !

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Re: petcheck

#8 Post by RSH »

Pelo wrote::P :P :P très bien !
Yes, that's a nice find, Pelo.

Even though, it seems you have an amount of free time much too big, to search for such old threads, a really nice find!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#9 Post by RSH »

Hi.

I have made some tests on this since I've had immediately some thoughts to improve this application.

Tests were made with some small .pet files that I mostly did convert to .pet from .sfs like:

- LP2_AbiWord-2.8.6.sfs
- LP2_ALSAPlayer-0.99.81.sfs
- LP2_MtPaint-3.44.03.sfs

etc.

Test was installing completely and copying some files into the OS before installing, so that it finds some already installed files.

Each test using these smaller files has been successful.

Just one .pet refuses to install even though it shows the files definitely right in the different lists like the ColorList.

The .pet is made from a SFS which was build from several Ubuntu .deb files and it contains the Ubuntu Studio Audio PlugIns - uncompressed Size: 44 MB (669 Files, 124 Directories).

Maybe this is just too big?

Anyone experienced any or a similar Problem with this?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

Post Reply