On Wednesday, 19 February 2020 10:13 Stefan Seyfried wrote:
Am 18.02.20 um 23:56 schrieb Jan Engelhardt:
When the patch is commented out, it is not applied. In other words, you could just delete the patch altogether. (It is not lost, as it will remain in the history.)
In theory, yes. But how will you (easily, reliably) get it back? The easiest way I can think of is "download an old source rpm from $SOMEWHERE and extract it from that".
the osc "version control" joke of a system has just failed too often on me as that I would even consider trying to get an old version consistently out of it.
Growing number of packages works around this (and other problems) by tracking the package source (contents of the OBS package source without the tarball) in git and only exporting it into OBS. Some go even further, track the original source and only export the tarball, specfile and changelog. Personally I see it as a strong hint that something is not right (to put it mildly). Your suggestion to trick the script by marking the patch as SourceNN instead of PatchNN may be even stronger hint. Michal Kubecek -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org