On Sat, 10 Jul 2010 08:55:35 +0200, Marcus Rueckert
On 2010-07-10 01:31:14 +0000, doiggl@velocitynet.com.au 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org