Mailinglist Archive: opensuse-buildservice (200 mails)

< Previous Next >
Re: [opensuse-buildservice] Migrating source from OBS 1.X to 2.X
On Mon, May 02, 2011 at 10:31:14AM -0500, Jeff_Glanz@xxxxxxxx wrote:
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)

Thanks - JeffG

Yes, "2" will put new tree data into "trees", but also look for
old tree data in "sources".

If you're wondering what "nosharedtrees" is about, it's to prevent
a security issue if access to sources is limited in a project or
package configuration (with the "sourceaccess" element).
If the trees are shared between projects, you can access trees
from different projects by knowning the tree srcmd5 identifier.

If you don't plan to use the "sourceaccess" feature, you can
also use "0". If you set it to "2", old trees can be accessed
even if "sourceaccess" is limited, but new trees are safe.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, 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