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 Sat 24 Jun 2017, 13:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
PPM MOD 1.2.2 : The modified Puppy Package Manager
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [57 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Wed 20 Jul 2016, 23:33    Post subject:  PPM MOD 1.2.2 : The modified Puppy Package Manager  

This is a modified Puppy Package Manager. It implements organized .packages directory structure and also with full working Puppy Remaster Script where is .files of installed package became builtin files list upon remastering the puppy.

PPM mod .package directory structure:
.packages/package-files - where .files of installed package stored
.packages/database - where package repo lists is saved
.packages/remove-script - where uninstall script of installed package is saved
.packages/repo - where the package database is saved
.packages/package-info - where the fetched package information is saved

Changes:
* Adding a new repo is much easier than before. Instead of hard coded repo list in DISTRO_PET_REPOS and DISTRO_COMPAT_REPOS which consists of very long string (It is hard to manage). The repo information is implemented by list (csv). The files are located in .packages/database

PET_REPO_LIST - PET Repo list
PET_DB_REPO - Repo list for package database
PET_ORDER_LIST - Priority list for searching packages
COMPAT_REPO_LIST - Compatible distro repo list
COMPAT_DB_REPO - Repo list for Compatible distro package database

When PPM starts it will synchonize the contents of these files in DISTRO_PET_REPOS and DISTRO_COMPAT_REPOS for compatibility. It can also done by typing the following command in terminal.
Code:
sync-repo

For using woof run this command first.

* Full PUP package support. It allows to install old Puppy 1.x and 2.x package without conversion needed (by redirecting to newly improved dotpuprox2 handler). The installed pup package can be uninstall using PPM (Application performance from old puppy is not guaranteed but 60-90% applications works fine.). Just associate (or Open with) pup packages to petget in order to work.

Merge this concept on woof-CE? That will be no problem for me. You can take this project and merge it on woof
ppm-mod-1.2.2.pet
Description  GUI layout bugfix
pet

 Download 
Filename  ppm-mod-1.2.2.pet 
Filesize  228.24 KB 
Downloaded  123 Time(s) 

Last edited by mistfire on Mon 05 Sep 2016, 22:32; edited 36 times in total
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1158

PostPosted: Wed 20 Jul 2016, 23:40    Post subject:  

Seems to work for me so far. I installed pipe-panic from the ppm in Slacko 6.3 and it went under package-files, then was able to uninstall it.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Wed 20 Jul 2016, 23:42    Post subject:  

@Sailor Enceladus that was nice. It is already integrated in x-slacko slim. I hope it works on other pups.
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1158

PostPosted: Wed 20 Jul 2016, 23:47    Post subject:  

Here's a screenshot to show what .packages looks like after with your mod
Screenshot.png
 Description   
 Filesize   41.69 KB
 Viewed   798 Time(s)

Screenshot.png

Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Wed 20 Jul 2016, 23:53    Post subject:  

It seems work nice. However you must move ppm-mod .files to package-files folder and .remove files to remove-script folder. In case of uninstalling the modified PPM
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 8801
Location: Charleston S.C. USA

PostPosted: Fri 22 Jul 2016, 09:45    Post subject:  

Have you submitted these changes to Woof-CE?

If you rally want this to get into Puppy, the code is there in Woof-CE.
https://github.com/puppylinux-woof-CE/woof-CE

There is also this:
woof-CE patch generator!
http://www.murga-linux.com/puppy/viewtopic.php?t=98740

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Fri 22 Jul 2016, 13:04    Post subject:  

I can certainly merge this into the rationalise branch ( https://github.com/puppylinux-woof-CE/woof-CE/commits/rationalise )

I also had plans for the ppm/petget, but i'm busy doing many other things. So if mistfire wants to merge his work, i'll be listening
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Sat 23 Jul 2016, 05:46    Post subject:  

Hello @jlst and @bigpup im revising PPM in woof-ce. I'm newbie on git, Is there any find replace feature in git text editor. Or upload the whole petget script that I revised?
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Sat 23 Jul 2016, 07:18    Post subject:  

New PPM mod version released

Changes:
* Adding a new repo is much easier than before. Instead of hard coded repo list in DISTRO_PET_REPOS and DISTRO_COMPAT_REPOS which consists of very long string (It is hard to manage). The repo information is implemented by list (csv). The files are located in .packages/database

PET_REPO_LIST - PET Repo list
PET_DB_REPO - Repo list for package database
PET_ORDER_LIST - Priority list for searching packages
COMPAT_REPO_LIST - Compatible distro repo list
COMPAT_DB_REPO - Repo list for Compatible distro package database

When PPM starts it will synchonize the contents of these files in DISTRO_PET_REPOS and DISTRO_COMPAT_REPOS for compatibility. It can be also done by typing the following command in terminal.
Code:
sync-repo

For using woof run this command first.

* Automatic download is now fixed. PPM-mod will browse all the repo in the list for package existence. If the selected package failed to find in a repo entry it will jump to the next entry until it reach the last entry in the repo list

* Update package database is also fixed.

Last edited by mistfire on Sat 23 Jul 2016, 18:08; edited 9 times in total
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 528
Location: PH

PostPosted: Sat 23 Jul 2016, 08:49    Post subject:  

jlst wrote:
I can certainly merge this into the rationalise branch ( https://github.com/puppylinux-woof-CE/woof-CE/commits/rationalise )

I also had plans for the ppm/petget, but i'm busy doing many other things. So if mistfire wants to merge his work, i'll be listening


@jlst I succefully submitted my code for PPM in woof-ce. You may review the code that I submitted.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 8801
Location: Charleston S.C. USA

PostPosted: Sat 23 Jul 2016, 12:40    Post subject:  

I have never submitted stuff to Woof-CE.
As I understand:
Go the the Woof-CE gitHub web page.
Sign up or sign in
Select new pull request.
Submit your code.
The team of people that control the code in Woof-CE will review it.
They may offer more changes, ideas, discussion, or just accept it.

One of the main Woof-CE support team members is mavrothal.
He was the one that did the last big changes to PPM.
https://github.com/puppylinux-woof-CE/woof-CE

Here is an example of a pull request:
https://github.com/puppylinux-woof-CE/woof-CE/issues/730

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 8801
Location: Charleston S.C. USA

PostPosted: Sat 23 Jul 2016, 12:43    Post subject:  

Thanks for the code and the help to make Puppy better!!
_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 322
Location: Connecticut, United States

PostPosted: Sat 23 Jul 2016, 17:13    Post subject:  

This is fantastic! Adding repos is very easy now.
@mistfire Thanks for the work!
Back to top
View user's profile Send private message Visit poster's website 
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Sat 23 Jul 2016, 18:39    Post subject:  

Don't worry, learning how to use git takes time and if you're not gonna use it often.. it results in a waste of time.

Just continue developing your project, and the more people test it the better.. less work for me.

Meanwhile i'll give the code a look, and i'll give you some suggestions... in the following days. I'm currently very busy with the initrd stuff and testing the code i write. It will be merged eventually....
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 322
Location: Connecticut, United States

PostPosted: Sat 23 Jul 2016, 22:08    Post subject:  

I am getting this error while updating the repos:
Code:
mv: cannot stat '/root/.packages/Packages-*': No such file or directory


on a fresh install of Tahr 6.0.5 running the PPM MOD 0.0.2. And the update fails.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 4 [57 Posts]   Goto page: 1, 2, 3, 4 Next
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.0516s ][ Queries: 14 (0.0085s) ][ GZIP on ]