[opensuse-buildservice] rpm listing of http://download.opensuse.org/repositories/home:/ once a day
Hello 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 . . . Thanks Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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
On Sat, 2010-07-10 at 12:08 +0000, doiggl@velocitynet.com.au wrote:
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 ?
What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem. Thanks, Peter -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, 10 Jul 2010 08:17:03 -0400, Peter Bowen
On Sat, 2010-07-10 at 12:08 +0000, doiggl@velocitynet.com.au wrote:
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 ?
What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem.
Thanks, Peter
Q: What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem. A: Just trying to get a listing of all .rpm's in the home:/ and under that location. Thanks Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Jul 10, 2010 at 12:57:09PM +0000, doiggl@velocitynet.com.au wrote:
On Sat, 10 Jul 2010 08:17:03 -0400, Peter Bowen
wrote: On Sat, 2010-07-10 at 12:08 +0000, doiggl@velocitynet.com.au wrote:
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 ?
What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem.
Thanks, Peter
Q: What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem.
A: Just trying to get a listing of all .rpm's in the home:/ and under that location.
Under all of home:/ ??? ok... You should get the index from the ftp server and grep through it. $ wget ftp://ftp5.gwdg.de/pub/find.gz (112 MB) $ zgrep "opensuse.repositories.home:.*\.rpm" find.gz This gives me 371806 files (RPMs) today. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, 10 Jul 2010 15:13:00 +0200, Marcus Meissner
On Sat, Jul 10, 2010 at 12:57:09PM +0000, doiggl@velocitynet.com.au wrote:
On Sat, 10 Jul 2010 08:17:03 -0400, Peter Bowen
wrote: On Sat, 2010-07-10 at 12:08 +0000, doiggl@velocitynet.com.au wrote:
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 ?
What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem.
Thanks, Peter
Q: What is the problem you are trying to solve? I suspect there is already a solution if we know the real problem.
A: Just trying to get a listing of all .rpm's in the home:/ and under that location.
Under all of home:/ ??? ok...
You should get the index from the ftp server and grep through it.
$ wget ftp://ftp5.gwdg.de/pub/find.gz (112 MB) $ zgrep "opensuse.repositories.home:.*\.rpm" find.gz
This gives me 371806 files (RPMs) today.
Ciao, Marcus $ zgrep "opensuse.repositories.home:.*\.rpm" find.gz
I did the following $ zgrep "opensuse.repositories.home:.*\.rpm" find.gz > rpmlisting.txt The rpmlisting file was only 50% in size to the original. But wait, their's another question. Question: Is there a find.gz that covers all the files in http://download.opensuse.org/repositories/ if so , where is it found ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag 11 Juli 2010 schrieb doiggl@velocitynet.com.au:
Question: Is there a find.gz that covers all the files in http://download.opensuse.org/repositories/ if so , where is it found ? Thanks Glenn
Try the following: rsync -za rsync.opensuse.org::buildservice-repos/ Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 12, 2010 at 10:28:58AM +0200, Stephan Kulow wrote:
Am Sonntag 11 Juli 2010 schrieb doiggl@velocitynet.com.au:
Question: Is there a find.gz that covers all the files in http://download.opensuse.org/repositories/ if so , where is it found ?
The find.gz I posted is it. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, 12 Jul 2010 10:28:58 +0200, Stephan Kulow
Am Sonntag 11 Juli 2010 schrieb doiggl@velocitynet.com.au:
Question: Is there a find.gz that covers all the files in http://download.opensuse.org/repositories/ if so , where is it found ? Thanks Glenn
Try the following: rsync -za rsync.opensuse.org::buildservice-repos/
Greetings, Stephan
I tried that too the result was an error any other ways to get the info Thanks Glenn #rsync -za rsync.opensuse.org::buildservice-repos/ sync: failed to connect to rsync.opensuse.org: Network is unreachable (101) rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
doiggl@velocitynet.com.au
-
Marcus Meissner
-
Marcus Rueckert
-
Peter Bowen
-
Stephan Kulow