On Sun, 2012-07-01 at 21:15 +0800, Hui Zhang wrote:
> David, 
>     What does "Preliminary 'copyproject' support" use for? copy one
> project's packages to another new project? 
> 
> On Sun, Jul 1, 2012 at 7:25 AM, David Greaves <[email protected]>
> wrote:
>         The Mer version of the OBS has been pre-released based on
>         Suse's 2.3.1 releases.
>         There is a corresponding version of 'build' based on
>         2012.05.31
>         
>         Changes include:
>         * Support for scratchbox2 cross-building included
>         * Preliminary 'copyproject' support; needs updates to osc,
>         coming to SDK soon.
>         We think there may still be races causing rebuilds on copy.
>         (Much kudos to Islam
>         Amer/phaeron for this very useful but tricky work).
>         * workers are forced to ignore any proxies when accessing
>         backend
>         * logs are covered by logrotate
>         * fix to <SPEC_REL> support in build
>         
>         The OBS can be installed as per upstream using just this repo:
>          zypper ar
>         http://repo.pub.meego.com/releases/Mer-OBS/latest.repo
>         
>         The scripts based here:
>           https://github.com/lbt/obs-setup
>         have been used succesfully by a number of people to setup OBS
>         onto multiple
>         backend machines.
>         
>         Pre-release so feedback and patches welcome.
>         
>         David
>         
>         --
>         "Don't worry, you'll be fine; I saw it work in a cartoon
>         once..."
>         

Yes. There are two modes here:
* The OBS has code to copy all a project's packages to another project
(creating it, if it does not exist).
* My modification tries to add a mode which allows copying the binaries
as well, so as to prevent rebuilding them. Should be useful in various
use cases.

In my testing it was working fine, but David could reproduce a race
condition where rebuilding does happen. I am trying to reproduce this
and hopefully fix it. 
---
Thanks,
Islam Amer



Reply via email to