mock icon indicating copy to clipboard operation
mock copied to clipboard

provide Zypper(_PackageManager) abstraction

Open praiskup opened this issue 5 years ago • 7 comments
trafficstars

In #500 we discovered that bootstrap for opensuse chroots can not easily work without this, so we disabled bootstrap for opensuse for now.

praiskup avatar Mar 04 '20 09:03 praiskup

@praiskup Have we considered providing container images for mock that are built in Quay.io for mock for just the bootstrap usage?

Conan-Kudo avatar Mar 04 '20 11:03 Conan-Kudo

Note that the only bootstrap case that doesn't work is the container image one because we lack a default image with DNF for now.

Conan-Kudo avatar Mar 04 '20 11:03 Conan-Kudo

Also note that Zypper does not provide enough replacement functionality to be able to work as a DNF replacement. For example, there's no equivalent of dnf builddep.

Conan-Kudo avatar Mar 04 '20 11:03 Conan-Kudo

On Wednesday, March 4, 2020 12:26:36 PM CET Neal Gompa (ニール・ゴンパ) wrote:

@praiskup Have we considered providing container images for mock that are built in Quay.io for mock for just the bootstrap usage?

No, so far we haven't planned to provide any container images. That's because it would cost quite some man-power to maintain them.

praiskup avatar Mar 04 '20 13:03 praiskup

Why would it cost manpower to maintain them? We can't just set up a Dockerfile to ensure the minimum bits for mock are in a container and auto-rebuilt as the repo changes?

Conan-Kudo avatar Mar 04 '20 19:03 Conan-Kudo

On Wednesday, March 4, 2020 8:02:39 PM CET Neal Gompa (ニール・ゴンパ) wrote:

Why would it cost manpower to maintain them? We can't just set up a Dockerfile to ensure the minimum bits for mock are in a container and auto-rebuilt as the repo changes?

What repo do you mean? RPM repository? Dunno. Git repository? No, we can not guarantee CVE fixes for example, the git cadence may not be enough.

If we found someone really enthusiastic, we could ship Dockerfile, and let mock build the image using buildah on demand. Patches welcome.

praiskup avatar Mar 04 '20 20:03 praiskup

If someone stands up and will be willing to maintain that image, we can add that name. Any volunteer? :)

xsuchy avatar Mar 04 '20 20:03 xsuchy