Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
[opensuse-buildservice] Debian/Ubuntu Repository structure
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Thu, 22 Jan 2009 18:50:27 +0100
  • Message-id: <20090122175027.GA15066@xxxxxxx>

Hi build service folks,

I'm trying to make the repositories the build service creates
for debian and ubuntu more similar to what people expect.

I need some advice to find the best solution. Here are some
ideas to consider:

doourl = download.opensuse.org/repositories/

1) current layout:

doourl/<project>/<repository>/<arch>/pkg.deb
/Packages.gz

apt-get entry:
deb doourl/<project>/<repository> /

issues:
- non-standard layout, no pooling
- Packages.gz not architecture dependent

2) packages pooled
doourl/<project>/<repository>/pool/<pkg>/pkg.deb
/Packages.gz

apt-get entry:
deb doourl/<project>/<repository> /

questions:
- shall we omit the "pool" directory?

3) multiple Packages.gz files for architectures
no softlink solution:

doourl/<project>/<repository>/pool/<pkg>/pkg.deb
doourl/<project>/<repository>/dists/main/main/binary-<arch>/Packages.gz

apt-get entry:
deb doourl/<project>/<repository> main main

issues:
- the "main main" thing is confusing.

4) multiple Packages.gz files for architectures
softlink solution:

doourl/<project>/<repository>/pool/<pkg>/pkg.deb
doourl/<project>/dists -> . (softlink)
doourl/<project>/<repository>/main/binary-<arch>/Packages.gz

apt-get entry:
deb doourl/<project> <repository> main

issues:
- mirrors might have problems with dist symlink
- dist symlink is at "repository" level, needs changes
in mirror-push scripts

the apt-get entry seems to be most debian like

Note also that "real" debian has the pool at "project" level, i.e.
doourl/<project>/pool/<pkg>/pkg.deb

I don't think this can be done in the build service, as multiple
repositories can create different packages with the same name.

Any comments?

Thanks,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups