On Mittwoch, 2. April 2014, 09:35:50 wrote Johannes Meixner:
Hello,
what "osc" command can unlink a package?
you can checkout unexpanded with either: osc up -u osc co -u PROJECT PACKAGE remove the _link file and commit again..
I am looking for the counterpart of "osc linkpac".
well, if you indeed still use "linkpac" you are lost here, since no files beside the _link is in you package. But I hope you did use "branch" command instead as recommended since years.
What I tried: ------------------------------------------------------------------------ $ osc list Printing foomatic-filters _link foomatic-filters-4.0.12.tar.gz foomatic-filters.changes foomatic-filters.spec Link "Printing/foomatic-filters" cannot be expanded: openSUSE:Factory/foomatic-filters: package 'foomatic-filters' does not exist Use "osc repairlink" to fix merge conflicts.
$ osc repairlink Printing foomatic-filters using link target of last commit Server returned an error: HTTP Error 400: openSUSE Factory/foomatic-filters package 'foomatic-filters' does not exist openSUSE:Factory/foomatic-filters: package 'foomatic-filters' does not exist
$ osc detachbranch Printing foomatic-filters Copying files... package 'Printing/foomatic-filters' is no link ------------------------------------------------------------------------
I did not find documentation how to do it correctly.
I only found http://lists.opensuse.org/opensuse-buildservice/2010-05/msg00289.html and http://lists.opensuse.org/opensuse-packaging/2013-09/msg00211.html but both ended in workarounds.
I don't know if plain removing of the _link file is the official right solution. It feels more like a low-level hack than a proper counterpart of "osc linkpac".
But even if that is the official right solution, I don't find an osc command how to delete one particular file on the server. According to "osc help rdelete" one can at the least delete a whole package.
Kind Regards Johannes Meixner
-- 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-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org