You are not logged in.

#1 2009-01-28 16:02:38

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Mimic a remote PKGDEST for a custom repo

I find myself building more and more packages nowadays and I like to keep these packages around in a local repo for when I need them again.  I'd like to have the repo moved off my local computer and on to a remote machine so that each of my machines can just reference my webserver as the custom repo.  In essence what I want is for PKGDEST in makepkg.conf to be a remote folder.

Is there a script out there for this already?  There's got to be some sane way of getting packages from the TUs to the repos.  If not my plan was to just set a local PKGDEST on each machine, then have a cron ftp all .pkg.tar.gz files to the remote machine and delete the local copy every day.  Does anyone know of a better method?


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#2 2009-01-30 16:57:19

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Mimic a remote PKGDEST for a custom repo

No one?


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#3 2009-01-30 17:16:56

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Mimic a remote PKGDEST for a custom repo

It would probably be trivial to add an arbitrary transfer command to makerepo. If you think this would work for you, I can try to do that.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-01-30 17:51:57

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Mimic a remote PKGDEST for a custom repo

Xyne wrote:

It would probably be trivial to add an arbitrary transfer command to makerepo. If you think this would work for you, I can try to do that.

Thanks for the interest.  You can try to add it if you think it will improve your software, but I'm fairly certain there are scripts to do this already.  After all, the TUs and packagers must get their packages to gerolde efficiently.

There really is no need to complicate makerepo unnecessarily.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2009-01-30 18:12:19

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Mimic a remote PKGDEST for a custom repo

Well, I'll post back here if I end up implementing it before you've slapped [SOLVED] on this thread.

What protocol are you using to transfer packages to your server? If you specify that, you might have a better chance of an ad-hoc script showing up in this thread.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB