Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH 1/2 for build] Support remote repo
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Fri, 26 Mar 2010 16:05:58 +0100
  • Message-id: <201003261605.59314.ludwig.nussel@xxxxxxx>
Anas Nashif wrote:
Just to clarify why this is needed:
At the moment, build already supports building local packages without obs
access and without osc using a local, on disk rpmmd repository. Without OBS
and osc if you want to build a package, you need a full mirror of a distro,
or at least it is not flexible enough, since you would need to always have
the needed rpms ready for build in a local directory.

Not anymore. Build can use zypp repos :-) Only the metadata which is
cached by zypp anyways needs to be local.

This patch makes it possible to point build to a remote repo and the build
script would download the needed packages, on demand. Is this a duplication
of osc build? Maybe, if you have osc and if the distro you want to build for
is hosted in obs, but the scenario this fix addresses assumes you have no obs
and the distro you are building for, i.e. it might be an old snapshot, is not
in obs and the user has no account on obs...

Makes sense? Is the patch acceptable?

Sure. It lacks a way to refresh the metadata though. Also, gpg
metadata checks are probably a good idea if build downloads stuff
itself. That's where it gets more complicated though...

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References