I want the whole repo


Nardella

Member
Joined
Mar 4, 2011
Messages
352
Is there a simple way to download the entire repo excluding things that have been updated?
 
I want the world!


I want the whole world!


I want to lock it


all up in my pocket,


Its my bar of chocolate,


GIVE IT TO ME NOW!

Sorry.... the topic line triggered a memory I couldn't resist sharing... :)


- Neelix
 
Actually there can be pretty sane reasons for that. When I had wifi on my Pandora broken I also needed the whole repos to install things.


For Debian, it was partially solved by downloading DVD 1, for Pandora - I don't know, unfortunately.
 
Use the repo JSON interface to download repo contents as text, grep/awk the download links, wget.
 
How does one store them after download so that it worked as a local repo, not just a bunch of packages?
 
IIRC, you only make them and the repo description JSON (with links to the repo) available.
 
Last edited by a moderator:
http://repo.openpand...milkyhelper-1.2

milky --noconfirm --needed -S $(milky -Si | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | grep '^ID' | sed -re 's/^ID[\t ]+: //g'); milky --noconfirm -Su
Grab the git if you want to do this on PC (needs Linux)


You can run that above snippet many times as you want, it won't reinstall already installed stuff. It also runs update check.


You might want to make alias for it though. Long snippet like that, can be hard to remember, and I have no plans to add such functionality to milkyhelper itself.


Also if you compile it without color support, you can get rid of the first sed.
 
Last edited by a moderator:
A periodic torrent with the whole repo would be very nice. Maybe once every six months a new torrent with the whole repo, and monthly update packs with every new and changed PNDs? This also saves a lot of stress and bandwidth on the server(s)! Plus it's a complete welcome package for any newbie in the community and any other person who would just like to grab the whole repo because they lost their SD card or whatever. And it's platform independent.
 
Last edited by a moderator:
"Newbie" and "overriding package mananger's options" don't belong in one phrase. Only if the word "shouldn't" is there, too. :)


The above milky snippet and a JSON description should do the trick.


Although sometimes having a repo mirror is reasonable, having lots of them in that decentralized manner might be a hassle - people having different versions of the mirror or new versions of packages in the repo which are not in the torrent to begin with. It would be better if people capable of handling such things concentrated on improving the existing repository (and they are working on it), and an instruction on cloning the repository should be in the wiki, that would be enough.
 
It would be helpfull if we could learn the nature of your request, as at the moment alot of whats being discussed is based on:

Is there a simple way to download the entire repo excluding things that have been updated?
because of this alot of assumptions are being made :p


Please help us out :) what are you trying to achive?
 
Although sometimes having a repo mirror is reasonable
I can't imagine a situation where it would be unreasonable. Could you please explain?

Maintaining the whole archlinux repo+aur locally would be unreasonable for me, unless a nuclear war would be about to start, but I guess I would have other things to take care of then. %)

I want every program available for the Pandora on my Pandora.

Go for Gentoo. Seriously. Just try to install every package listed as available by your package manager. You will no longer want that repo.


Or do you just want every pnd available?
 
Last edited by a moderator:
Ha, I want the Pandora and everything that comes with it!!!


Kind of reminds me of this Atari 2600 commercial:

https://www.youtube.com/embed/J_XrIx2eUGc?feature=oembed

In all seriousness, why do you want every PND? All it'll do in the end is add extra clutter. You can always install new PNDs later.


Personally, I don't use even close to all of the PNDs found on the Repo.


It's also worth noting that some great programs just aren't on the Repo right now.
 
Last edited by a moderator:
so why is it out of question to post a FTP site of server where people can log in, and just download each and every pnd?
 
Back
Top