Mailinglist Archive: opensuse-buildservice (200 mails)

< Previous Next >
RE: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X
Thanks Adrian.

Once we move forward to OBS 2.X, we won't be moving back.

Setting this to '2' will work well.

This allows us to move the old projects & source folders safely - keeping
source history, commit count, & build count state.
It also allows us to stop sharing trees in new projects & packages.

Thanks - JeffG


-----Original Message-----
From: Adrian Schröter [mailto:adrian@xxxxxxx]
Sent: Monday, May 02, 2011 10:34 AM
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: Glanz, Jeff; mls@xxxxxxx
Subject: Re: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X

Am Montag, 2. Mai 2011, 10:31:14 schrieb Jeff_Glanz@xxxxxxxx:
A value of 2 allows compatibility to both structures?
# 2: new trees are not shared, in case of a missing tree the shared
# location is also tried (package default)

Yes, but you won't be able to downgrade to 1.x anymore.


Thanks - JeffG


-----Original Message-----
From: Glanz, Jeff
Sent: Monday, May 02, 2011 10:24 AM
To: mls@xxxxxxx
Cc: opensuse-buildservice@xxxxxxxxxxxx
Subject: RE: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X

So setting this in BSConfig.pm allows us to use - and to continue to use -
the old file structure:
$BSConfig::nosharedtrees = 0;

Correct?

Thanks - JeffG


-----Original Message-----
From: Glanz, Jeff
Sent: Monday, May 02, 2011 10:20 AM
To: mls@xxxxxxx
Cc: opensuse-buildservice@xxxxxxxxxxxx
Subject: RE: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X

In 1.X, source was organized into two folders:
/srv/obs/sources
/srv/obs/projects

In 2.X, source is organized into three folders, w/ the meta data occupying
separate source files /srv/obs/sources /srv/obs/projects
/srv/obs/trees

Will the OBS 2.2 or 2.3 api recognize the older (1.X) source file arrangement?

Thanks - JeffG


-----Original Message-----
From: Michael Schroeder [mailto:mls@xxxxxxx]
Sent: Monday, May 02, 2011 10:12 AM
To: Glanz, Jeff
Cc: opensuse-buildservice@xxxxxxxxxxxx
Subject: Re: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X

On Mon, May 02, 2011 at 10:07:41AM -0500, Jeff_Glanz@xxxxxxxx wrote:
The structure of the source repos has changed significantly between OBS
versions 1.X & 2.X.

Really? What do you think has changed? I can only think of
$BSConfig::nosharedtrees, where the default is to be compatible to older
versions.

Cheers,
Michael.



--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >