Mailinglist Archive: opensuse-buildservice (332 mails)

< Previous Next >
Re: [opensuse-buildservice] rpm listing of http://download.opensuse.org/repositories/home:/ once a day
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Sat, 10 Jul 2010 12:08:34 +0000
  • Message-id: <2e3c777da13982438fe8c680a0b03468@xxxxxxxxxxxxxxxxxxxxxxx>
On Sat, 10 Jul 2010 08:55:35 +0200, Marcus Rueckert <darix@xxxxxxxxx>
wrote:
On 2010-07-10 01:31:14 +0000, doiggl@xxxxxxxxxxxxxxxxxx wrote:
Can a listing be generated of
http://download.opensuse.org/repositories/home:/ say once a day.
e.g # find /repositories/home:/ | bzip2 >
latest-obs-rpm-listing.txt.bz2

example output of latest-obs-rpm-listing.txt something like:-
/repositories/home:/dmitry_serpokryl:/
/repositories/home:/dmitry_serpokryl:/drivers/
/repositories/home:/dmitry_serpokryl:/drivers/11.2-update/
/repositories/home:/dmitry_serpokryl:/drivers/11.2-update/x86_64/

/repositories/home:/dmitry_serpokryl:/drivers/11.2-update/x86_64/penmountlpc-kmp-debug-1.1_2.6.31.12_0.2-6.6.x86_64.rpm


/repositories/home:/dmitry_serpokryl:/drivers/11.2-update/x86_64/penmountlpc-kmp-desktop-1.1_2.6.31.12_0.2-6.6.x86_64.rpm

you could just download the repomd files
a) they get generated everytime your project changes. that means you can
keep your local copy of the file and download with
"If-Modified-Since"

curl --time-cond localfile url

for unchanged files you get a 304 header back. if something changed
you get the new file.

b) we dont have to generate another listing. that repo data already
exists.

hth

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org

Hello,
I forgot to mention its for all repositories under the home:/ location not
just for one repository and get a listing of all rpms produced under this
location and under that . Can it be done ?
Thanks Glenn
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References