[opensuse-buildservice] :repoinfo is overwritten with obs_admin clone repository
Hello, When I used obs_admin --clone-repository, the ':repoinfo' file in source repository was overwritten by destination repository. I ran something like 'obs_admin --clone-repository A a B b'. the :repoinfo in B/b is hardlinked to A/a/:repoinfo. and :repoinfo in B/b is updated with the name of repository 'b'. And it causes A/a/:repoinfo changes. The :repoinfo itself has the name of repository in it. I think the :repoinfo shouldn't be hard linked. Thanks and regards. UkJung -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jul 23, 2013 at 03:34:57PM +0900, UkJung Kim wrote:
Hello,
When I used obs_admin --clone-repository, the ':repoinfo' file in source repository was overwritten by destination repository.
I ran something like 'obs_admin --clone-repository A a B b'. the :repoinfo in B/b is hardlinked to A/a/:repoinfo. and :repoinfo in B/b is updated with the name of repository 'b'. And it causes A/a/:repoinfo changes. The :repoinfo itself has the name of repository in it.
I think the :repoinfo shouldn't be hard linked.
Yes, in fact it should not be copied/linked at all. Fixed in git. Thanks for the report, Michael. -- Michael Schroeder mls@suse.de 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Michael Schroeder
-
UkJung Kim