Mailinglist Archive: opensuse-buildservice (332 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] rpm listing of http://download.opensuse.org/repositories/home:/ once a day
- From: Marcus Rueckert <darix@xxxxxxxxx>
- Date: Sat, 10 Jul 2010 08:55:35 +0200
- Message-id: <20100710065535.GI8921@xxxxxxxxxxxx>
On 2010-07-10 01:31:14 +0000, doiggl@xxxxxxxxxxxxxxxxxx wrote:
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
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
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
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |