[opensuse-buildservice] Migrating packages from api.opensuse.org to local obs
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ? Thanks Oliver Oliver Herrmann Senior Software Developer RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Geschäftsführer: Steffen Gemuenden, Mark van Vugt www.rtsgroup.net Stay connected with us: http://www.linkedin.com/company/rts-realtime-systems https://twitter.com/RTSGroup This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 2014-10-08 17:59, Oliver Herrmann wrote:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ?
Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 10/08/2014 06:53 PM, Jan Engelhardt wrote:
On Wednesday 2014-10-08 17:59, Oliver Herrmann wrote:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ? Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files. I think linkpac can not link packages between different obs instances. I could not find a parameter to specify the target url.
Oliver Herrmann Senior Software Developer RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Geschäftsführer: Steffen Gemuenden, Mark van Vugt www.rtsgroup.net Stay connected with us: http://www.linkedin.com/company/rts-realtime-systems https://twitter.com/RTSGroup This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2014-10-09 17:38, Oliver Herrmann wrote:
Is there a way to copy all revisions or to modify the next build number ? Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files.
I think linkpac can not link packages between different obs instances. I could not find a parameter to specify the target url.
I do it all the time. osc linkpac openSUSE.org:server:irc/charybdis home:jengelh:opensuse131 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Jan Engelhardt
On Wednesday 2014-10-08 17:59, Oliver Herrmann wrote:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ?
Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files.
linkpac only creates _link, so if you nuke it you have nothing left. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2014-10-09 18:07, Andreas Schwab wrote:
On Wednesday 2014-10-08 17:59, Oliver Herrmann wrote:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ?
Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files.
linkpac only creates _link, so if you nuke it you have nothing left.
The buildservice should be keeping tabs on the bcount/cicount numbers. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Jan Engelhardt
On Thursday 2014-10-09 18:07, Andreas Schwab wrote:
On Wednesday 2014-10-08 17:59, Oliver Herrmann wrote:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ?
Maybe osc linkpac with -c copy, then checkout with -u, nuke _link and replace files.
linkpac only creates _link, so if you nuke it you have nothing left.
The buildservice should be keeping tabs on the bcount/cicount numbers.
The cicount attribute is part of _link. Once you remove it only the local cicount is left. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 8. Oktober 2014, 17:59:54 wrote Oliver Herrmann:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ?
For entire projects there is a project copy api call where you can specify also to copy history and/or binaries. Not sure if we added support for remote instance copies offhand ...
Oliver Herrmann Senior Software Developer
RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181
Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Geschäftsführer: Steffen Gemuenden, Mark van Vugt
www.rtsgroup.net
Stay connected with us: http://www.linkedin.com/company/rts-realtime-systems https://twitter.com/RTSGroup
This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system.
-- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 10/10/2014 08:40 AM, Adrian Schröter wrote:
On Mittwoch, 8. Oktober 2014, 17:59:54 wrote Oliver Herrmann:
I want to migrate some packages from a home project on build.opensuse.org to a local obs and keeping the build numbers. By using osc copypac the local obs starts with revision 1. Is there a way to copy all revisions or to modify the next build number ? For entire projects there is a project copy api call where you can specify also to copy history and/or binaries. Not sure if we added support for remote instance copies offhand ...
Using the project copy api call I was only able to copy a project (with history) on a single obs. I could not find a parameter to set a target obs. Since I could set the history aside is there a way to modify the cicount for a package? Oliver Herrmann Senior Software Developer RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Geschäftsführer: Steffen Gemuenden, Mark van Vugt www.rtsgroup.net Stay connected with us: http://www.linkedin.com/company/rts-realtime-systems https://twitter.com/RTSGroup This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system. -- 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
-
Andreas Schwab
-
Jan Engelhardt
-
Oliver Herrmann