Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] Rename project and branching
于 2012年06月25日 17:29, David Greaves 写道:
On 19/06/12 09:59, Adrian Schröter wrote:
Am Sonntag, 17. Juni 2012, 15:14:59 schrieb He Zhenxing:
Hi,

OBS does not provide a way to rename a project, so I'd like to know if
there is a way (manually or with some tools) to rename a project. And
also the are branched packages or parent packages of branched packages
in other projects. I'd like to keep the branching relationship after the
renaming of the project.
There is no easy function for that implemented.

Any help would be appreciated!
FWIW, in Mer we're working on improving the existing/partial 'copyproject' code.
This essentially replicates a project (hardlinking binaries) and doesn't trigger
a rebuild. Once this is done you're right that you'd need to identify and fix
any dependency issues (like branches/links) before you could delete the old
project to effect a rename.

Here's a couple of hacking branches:
https://github.com/Merproject/open-build-service/commits/copyprj/
https://github.com/Merproject/osc/commits/copyprj/

Great! I'll try that, thank you!


HTH

David



--
*******************************************************
北京万里开源软件有限公司
地址:北京市朝阳区东三环中路39号建外SOHO七号楼1103
邮编:100022
邮件:hezx@xxxxxxxxxxxxxxxxxxx
电话:(010) 58699916转318
传真:(010) 58699926

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >