Setting prjconf Prefer: !go in a subproject to override inherited value
I am trying to configure subproject prjconf to override inherited prjconf "Prefer: go" from the parent project. The objective is to have devel:languages:go:metapackage_provides exhibit the error: "unresolvable: have choice for go >= 1.14: go1.14 go1.15" Both go1.x and the go metapackage provide go, and the ability to trigger the error in any project will serve as a baseline for refactoring work. Setting prjconf "Prefer: -go" or "Prefer: !go" do not seem to have any effect, and the subproject project package hugo builds without the desired error. https://build.opensuse.org/project/show/devel:languages:go (Prefer: go) https://build.opensuse.org/project/show/devel:languages:go:metapackage_provi... (Prefer: !go) The behavior is identical in a home branch, where the parent has no prjconf Prefer: go: https://build.opensuse.org/project/show/home:jfkw:branches:devel:languages:g... Are there other methods to enforce unsetting a prjconf value? Or to display the prjconf value in effect at build time? -- Jeff Kowalczyk Software Engineer, Go Developer Experience SUSE
Am 14.12.20 um 09:17 schrieb Jeff Kowalczyk:
unresolvable: have choice for go >= 1.14: go1.14 go1.15
As I explained in IRC the other day: you will only get this error if you have no go package. And your project does have one. As such there is no choice over go. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh
participants (2)
-
Jeff Kowalczyk
-
Stephan Kulow