[opensuse-buildservice] Project copy
Hello Listmates, i have a little Question about the OBS. Actually i have a Repository A and Repository B. I would like to make a copy of all packages from Repository A to Repository B. Does anyone knows how to can i make this? -- Sincerly yours Sascha Manns Community & Support Agent / Balsam Plasma Active Developer open-slx GmbH Web (business): http://www.open-slx.com Web (private): http://saigkill.homelinux.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Montag, 16. Juli 2012, 11:24:38 schrieb Sascha Manns:
Hello Listmates,
i have a little Question about the OBS.
Actually i have a Repository A and Repository B. I would like to make a copy of all packages from Repository A to Repository B. Does anyone knows how to can i make this?
Please, do not do such things. It is a waste of our and our mirror resources. There were projects just duplicate hundreds of Gigabytes around for no good reasons. I do remove such repos meanwhile without prior warning, since it is really an abuse of our service. -- 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 Mon, Jul 16, 2012 at 11:33:52AM +0200, Adrian Schröter wrote:
Am Montag, 16. Juli 2012, 11:24:38 schrieb Sascha Manns:
Hello Listmates,
i have a little Question about the OBS.
Actually i have a Repository A and Repository B. I would like to make a copy of all packages from Repository A to Repository B. Does anyone knows how to can i make this?
Please, do not do such things. It is a waste of our and our mirror resources.
There were projects just duplicate hundreds of Gigabytes around for no good reasons.
I do remove such repos meanwhile without prior warning, since it is really an abuse of our service.
... depending on usecase, you can do "project links"... Also disable publish if you just do testing builds. ;) Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Adrian, Adrian Schröter wrote at Montag, 16. Juli 2012, 11:33:52:
Am Montag, 16. Juli 2012, 11:24:38 schrieb Sascha Manns:
Hello Listmates,
i have a little Question about the OBS.
Actually i have a Repository A and Repository B. I would like to make a copy of all packages from Repository A to Repository B. Does anyone knows how to can i make this?
Please, do not do such things. It is a waste of our and our mirror resources.
There were projects just duplicate hundreds of Gigabytes around for no good reasons.
I do remove such repos meanwhile without prior warning, since it is really an abuse of our service. Ah, i've forgotten to say. I'll like to do it on an own OBS not the openSUSE one :-)
-- Sincerly yours Sascha Manns Community & Support Agent / Balsam Plasma Active Developer open-slx GmbH Web (business): http://www.open-slx.com Web (private): http://saigkill.homelinux.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Monday 16 Jul 2012 12:08:11 Sascha Manns wrote:
Ah, i've forgotten to say. I'll like to do it on an own OBS not the openSUSE one
If you definately need the packages branched or copied instead of a link you can use osc and XMLStarlet. You can get a list of package names to pass to 'osc branch' or 'osc copypac' with the following: osc api /source/$PROJECT | xml sel -t -v "/directory/entry/@name" Cheers the noo, Graham -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Montag, 16. Juli 2012, 12:08:11 schrieb Sascha Manns:
Hello Adrian,
Adrian Schröter wrote at Montag, 16. Juli 2012, 11:33:52:
Am Montag, 16. Juli 2012, 11:24:38 schrieb Sascha Manns:
Hello Listmates,
i have a little Question about the OBS.
Actually i have a Repository A and Repository B. I would like to make a copy of all packages from Repository A to Repository B. Does anyone knows how to can i make this?
Please, do not do such things. It is a waste of our and our mirror resources.
There were projects just duplicate hundreds of Gigabytes around for no good reasons.
I do remove such repos meanwhile without prior warning, since it is really an abuse of our service. Ah, i've forgotten to say. I'll like to do it on an own OBS not the openSUSE one :-)
I depends heavily on your use case. But admins have the power to do an entire project copy via the api. Even including with history and binaries. -- 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 Mon, Jul 16, 2012 at 12:45 PM, Adrian Schröter
Ah, i've forgotten to say. I'll like to do it on an own OBS not the openSUSE one :-)
I depends heavily on your use case. But admins have the power to do an entire project copy via the api. Even including with history and binaries.
I will probably have to do this too (on an own repo), to make "stable snapshots" of development repositories. My idea was to make links to specific package revisions, one by one. I have several "stability" levels: development (unstable) test (more or less stable) production (stable) So, development SRs to test, and production links to specific revisions in test. Is that the best way to go about it? Would that work for the OP better than a whole project copy? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, may be that the scripts will obs2obscopy obstag and your solution. They create a private OBS with a revision tag. http://en.opensuse.org/openSUSE:OBS_Light_Obstag -- Ronan Le Martret Intel Open Source Technology Center -- Ronan Le Martret Intel Open Source Technology Center -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jul 17, 2012 at 4:05 AM, Ronan Le Martret (Intel OTC)
may be that the scripts will obs2obscopy obstag and your solution. They create a private OBS with a revision tag.
Nice... it looks perfect :) Thanks. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (6)
-
Adrian Schröter
-
Claudio Freire
-
Graham Anderson
-
Marcus Meissner
-
Ronan Le Martret (Intel OTC)
-
Sascha Manns