Mailinglist Archive: opensuse-buildservice (100 mails)

< Previous Next >
RE: [opensuse-buildservice] setting up an Ubuntu/Debian distribution project on a local OBS installation
Am Dienstag, 8. Mai 2012, 10:31:55 schrieb Jeremiah Foster:
On Mon, May 7, 2012 at 6:11 PM, <Jared_Dominguez@xxxxxxxx> wrote:
Replies inline.

On Fri, May 4, 2012 at 8:43 PM, <Jared_Dominguez@xxxxxxxx> wrote:
How are the distribution projects for Ubuntu (like Ubuntu:10.04) set
up on Of course, I see the project and raw configs, but
rest is unclear to me.

We just parse the Packages file and download all mentioned .deb files. All
of them got put into the :full directory and the scheduler rescan the
repository (can be triggered with obs_admin tool).

Thank you. I will try that. This sounds much like what download-on-demand does,
except I can manage putting packages in the distribution project myself using
Debian tools.

This is the 64 thousand dollar question. :-) While we've done this
internally at our company, there is not a lot of documentation on how
to do this in OBS. This is one of the great drawbacks of OBS -- it has
very little documentation.

Feel free to join the book work:

I realize this wasn't in direct response to me, but I'll gladly contribute to
that document any documentation I develop. And, once again, thank you for your
work on OBS. It's been really helpful to us at Dell.

Secondly, OBS comes from OpenSUSE (mostly)
and this means a subtle bias towards rpm and a lack of familiarity
with debs. These two things make it difficult to do easy deb based
distro set ups.

If you've done this internally at your company, I'd love to know what
steps were taken to do this if you can and wouldn't mind.

Sure, we try to contribute to upstream, but most of what we've done is
merely add additional open source tools around the OBS, so its not
really a contribution directly to OBS. None of the changes are
proprietary, its just a question of priority and documentation often
is low on the prio list. :-/

It's true that the deb support is somewhat non-native. The fact that it's
supported at all is commendable.

Yes, I don't mean to disparage the OBS. It is good that deb repos are
supported and it is clearly a priority for the OBS team. This is where
one should be grateful for the support: thanks OBS team!

That said, there has been some good work done in the latest OBS
release (2.3.0) that addresses some of the shortcomings on the deb
side. It is possible to do things like sign the Packages file for

This is good to know. Thank you for pointing that out.

I'm trying to set up an Ubuntu distribution project in a local OBS
have locally for quicker access and avoid the intermittent but frequent
proxy/latency issues we see when just pointing to distribution projects
on We can't use download on demand in this case, as
like to also have the ability to utilize updated packages from the -
updates and
-security Ubuntu repositories (e.g. precise-updates and precise-
and the download on demand feature doesn't like it when repositories
change at all.

To do this, the instructions at
service/blobs/master/dist/README.SETUP recommend (in section 4.2)
copying the distribution project over from using
obs_mirror_project and /srv/www/obs/api/script/import. However, I
an internal Ubuntu (non-OBS) mirror, so it really makes no sense to pull
these packages from outside.

It's also unclear to me how to keep a deb-based distribution project
date after the initial import.

What do you mean by "up-to-date"? Do you mean how do you add new
packages that have been patched and have new versions? Are you
the repo up-to-date or trying to sync the underlying OS with upstream?
If you're doing the latter, you'll like want to look at some tools
from the Debian world where this problem has been largely solved.
a look at reprepro for example which has an active maintainer (who is
also the author) as well as other tools.

I just meant, "Can I just sync the packages in the distribution project
a standard apt mirror sync tool or do I have to do something special because
it's an OBS distribution project?"

Using an apt mirror tool should be trivial to integrate. The deb repos
from OBS are becoming much more like the upstream Debian repo layouts
so it should be just a matter of rsync and not much more. Though
apt-ftparchiver or similar might give you more bang for your buck.

You may want to enhance the incomplete Download on Demand support to
support also debian.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups