[opensuse-buildservice] Rename project and branching
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. Any help would be appreciated! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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!
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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/ HTH David -- "Don't worry, you'll be fine; I saw it work in a cartoon once..." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
于 2012年06月25日 17:29, David Greaves 写道:
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
On 19/06/12 09:59, Adrian Schröter wrote: 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@greatopensource.com 电话:(010) 58699916转318 传真:(010) 58699926 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Montag, 25. Juni 2012, 10:29:35 schrieb 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.
copyproject exists already in api. But there is not frontend (webui/osc) support for it yet.
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.
That should be doable already (with OBS 2.3). Binary copy requires admin permission atm...
Here's a couple of hacking branches: https://github.com/Merproject/open-build-service/commits/copyprj/ https://github.com/Merproject/osc/commits/copyprj/
HTH
David
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
David Greaves
-
He Zhenxing
-
He Zhenxing