Impliment a terminal/gui method for downloading from repo

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
User avatar
puppyLUVER1234
Posts: 80
Joined: Sun 05 Aug 2007, 21:26
Location: Georgia, United States
Contact:

Impliment a terminal/gui method for downloading from repo

#1 Post by puppyLUVER1234 »

You know, what really bugs me is that there still is not a repository system like Ubuntu and Fedora has. So, my suggestion is to implement a repository system and a terminal/gui method for downloading and installing files from it. I see that you guys have made a extremely new web based repo system.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#2 Post by Pizzasgood »

I agree. That's on my long-term list of things I want to see happen and will do my best to facilitate. I think there are more important things in the near term, but it would be better to get the repo system hashed out in the sooner long-term than the later long-term.


In the mean time, try out Petch.
http://www.murga-linux.com/puppy/viewtopic.php?t=33436
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Re: Impliment a terminal/gui method for downloading from repo

#3 Post by Lobster »

puppyLUVER1234 wrote:I see that you guys have made a extremely new web based repo system.
Do you mean this:
http://tmxxine.com/wik/wikka.php?wakka=DingoAddons

which is used by LIT
http://www.murga-linux.com/puppy/viewto ... 185#235185

I may incorporate Petch in a future version (giving it a front end in effect)
Though I have no plans to. Someone else is welcome to do so.

I created LIT for my own use (major programs I need occasionally for 4 and 4.1 of Puppy)

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

changturkey
Posts: 67
Joined: Sun 30 Dec 2007, 03:10

Re: Impliment a terminal/gui method for downloading from repo

#4 Post by changturkey »

puppyLUVER1234 wrote:You know, what really bugs me is that there still is not a repository system like Ubuntu and Fedora has. So, my suggestion is to implement a repository system and a terminal/gui method for downloading and installing files from it. I see that you guys have made a extremely new web based repo system.
+1

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#5 Post by Aitch »

Hi guys

http://darcs.net/

This any use for the repo/svn idea?

probably should be in the dev thread but I couldn't find it [lazy]

Aitch :)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#6 Post by amigo »

darcs is a revision control system like bitkeeper, cvs, svn, git and mercurial. It has the added dis(ex)tinction of being written in Hassle, I mean Haskell, so you need about 500MB of stuff installed in order to rebuild darcs -Yuck!
Really, what the OP (and most users) wants is a simple ftp/http repository where they can download finished packages for installation -with an easy-to-use interface which can be used from the command line or from a GUI. I still think that the best suggestion for this is to make everything as slackware-type packages and use slapt-get/gslapt as the front-end. In fatc, even *.*fs files could be packaged this way to make them easily downloadable using slapt/gslapt -that would also ensure that they are installed to the correct place -I guess. More than anything else, Puppy is lacking a comprehensive system for installation/removal of software. Actually, package management is the one thing that most distinguishes one distro from the next and is usually the first thing which must be decided on when starting a new distro. It is a real pain to have a distro without a consistent method for handling this. What should a new user make of this choice: pet, pup, tgz, sfs, 3fs, AppDir, from-source and, what have I missed. the worst thing is that not one of these is completely functional in Puppy -that is it doesn't give the user complete control or completely take care of the matter.

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#7 Post by cb88 »

slitaz is using mercurial... might be worth looking at thier implementation pizzasgood

It might be nice to port their package managet (probably a minimal effort) .... and source build system (which is similar to T2 "receipt" based)

so basically you can just update the source and autocompile the whole distro from what i can tell

They also have the advantate of haveing premade build scripts prefering the least amount of dependancies


It might acutally be more easily attainable than T2 although it would probably hinder portability to other ARCHs like arm (for the netbooks that are coming out) and PPC

so is it possible to build puppy from slitaz packages? this sounds like a job for barry! :-)

@amigo well the current .pet would be fine if there were actual official source packages for the development files and it didn't totally screw up every 5th or so package install

in fact .deb is not all that bad a format.... checkinstall is practially just as easy as new2dir and dir2pet

also a system to compile custom puppy kernels would be nice automatic reneration of zdrv.sfs and the initrd .... that would come in real handy for a lot of people

here is what im running on debian atm... seems stable
Linux Vectorsigma 2.6.25.20-2.25.20k8noxen #1 PREEMPT Sat Nov 15 13:42:12 EST 2008 i686 GNU/Linux

it says i686 but has sse2 and other amd k8 instructions compiled in prempt and 1000hz tickless timer and 4 gb support disabled (I only have 512mb ram)
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#8 Post by HairyWill »

Surely petch satisfies the requirement for a cli downloader. It accesses several repositories.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

LIT 3 now includes a primitive front end to Petch (it includes Petch too)
http://www.murga-linux.com/puppy/viewto ... 185#235185
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#10 Post by cb88 »

petch is a good improvement.. but still flawed in the fact that there is no official (techinically there is but i mean unified and complete.... comprehensive) repo and the packcages aren't really verisoned
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#11 Post by technosaurus »

I have been working on a gui to install .pet packages from an install menu that docks right beside Puppy's Menu. It has all of the same categories and icons as the Menu too so newer users will know where it will go once installed. It can also check for updates. (Only for jwm so far - icewm soon)

How it works

I added a template to /etc/xdg/templates/_root_.jwmrci
also edited /etc/xdg/templates/_root_.jwmrci and /root/.jwmrc-tray to use the generated /root/.jwmrci

edited /etc/xdg/menus/hierarchy to include Install-[Category] in each category (at the bottom so Icewm can pick them up too)

added install-[Category].menu files to /etc/xdg/menus/

Now any .desktop file with Categories=Install-[Category] makes a launcher in the install menu

this launcher is defined by Exec=bareview [url of package]

thus when you click on it your browser will give you the option to download, install or cancel just as if you were trying to download it online

updates are done by an install menu entry that does
rsync -t [url of .desktop repository] /usr/share/applications/

Now that all that is done its pretty easy to maintain a repo up to date by adding (or replacing) .desktop files at some url (planned to be http://pupweb.org/desktop/installer/) using a basic .desktop template (unless someone adapts petch and the .desktop file generator section of dir2pet to auto generate them)

I apologize for the incoherence - its 3:30 a.m. I will post a .pet for testing later today or tomorrow - its working now but the "repository" is too small

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#12 Post by Lobster »

I apologize for the incoherence - its 3:30 a.m.
8)

I wish I had an excuse for incoherence :oops:
Very interested to see what you come up with.

There are some other 'potentials'
For example Gentoo + Puppy - is that project still going?
Barry is working on a Puplet that well might end up as Puppy 6 that accesses
25 000 Ubuntu programs for Puppy [Lobster faints] :roll:

What is happening with Chihuahua that makes use of Slackware?

I remember when I first got Slackware running (many years ago)
That was a major hurdle. Once it was working the process to install packages seemed too complex, time consuming and bizarre to engage in. Things are a lot easier. Linux gets better. Windows spends millions on adverts trying to convince everyone, including themselves, that they are 'improving'.

:oops: sorry seem to have gone into rant mode . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#13 Post by ttuuxxx »

well guys as a package manager goes, I've used git to download from svn, but after I compiled it, it was a 3.8MB pet package, Kind of large.
Maybe a new package manager but It would be nice if it was pleasing to the eye and fully functional. The current puppy manager is nice, I would like the petget manager to replace the current 4.0 series one due to the fact its lacking rechecking the missing libs. i always change it from pupget to petget.
Also should it be able to automatically instal/uninstalll pup, tar.gz, deb, rpm files So many users are confused on this issue. maybe have a pop-up window asking 2 questions
Do you want to install this package?
Do you want to run Xarchive?
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#14 Post by ttuuxxx »

if anyone wants to try darcs you can grab a static package that works on puppy http://teratorn.org/code/darcs-2.1.0-li ... tic.tar.gz
just extract it and place it in usr/bin and open a command line and type darcs
it will give you instructions.

ttuuxx

Ps if we ever would use this, it would be better if we renamed the darcs to puppy :wink:
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#15 Post by Aitch »

thanks ttuuxxx

Aitch :)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#16 Post by technosaurus »

I have already created "The Pound" a GUI package installer (it still uses the default application for handling) for the most popular downloads.

I am also planning to add an "install" menu to the Puppy Web Desktop with a preference of .pet, but whatever application is set up to handle the files (.deb, tgz, rpm etc..) will pick it up as long as it is setup. It will have the same categories as the Menu in puppy and additional categories for libraries etc...

I had already created "The Pound" before it hit me that I could just put its functionality on the web desktop...(Sometimes I just start coding a solution before thinking it out) so I guess "The Pound" could go away completely except that it makes it blatently obvious to newer users how to install a new program.

Post Reply