Learn more about these different git repos.
Other Git URLs
After recent discussions in mock upstream [1], we'll soon have to have a way to enable use_bootstrap_image config option for building opensuse chroots.
use_bootstrap_image
While we are on it, we won't be OK with turning the use_bootstrap_image on by default for everyone and for every project. We will probably turn it ON on mock-core-configs level (mock upstream) for opensuse chroots only. This means that we need to change the checkbox from two-state to three-state one in web-UI [2] and fix our commandline to --use-bootstrap {on,off,default} (not just on/off).
mock-core-configs
--use-bootstrap {on,off,default}
Another thing is that we should be able to configure this on chroot level, not on copr level. We don't have cli variant for configuring chroot options, so we should add that while we are on it.
Todo items: - [ ] three state configuration per project - [ ] config per chroot, three state - [ ] three-state config for bootstrap image
[1] https://github.com/rpm-software-management/mock/pull/509 [2] http://extremefe.github.io/bootstrap-checkbox/ three state checkbox
We should also drop the "experimental" description.
Metadata Update from @dturecek: - Issue assigned to dturecek
I'm thinking about this once more, and I think that bootstrap image and bootstrap chroot config options are somewhat exclusive (they overlap in some situations).
Shouldn't we rather flip from binary "checkbox" (current state) into a text field like Mock bootstrap configuration with possible values:
Mock bootstrap configuration
default
disabled
chroot
image
image=custom_image_id
WDYT? It would be trivial to beat the per-project config by per-chroot, and then per-build config (when needed).
I also think that we should transfer all the existing projects by alembic migration to
1. some form of "disabled", if they have bootstrap OFF now 2. something like "chroot", if they have bootstrap ON now
And flip the default value to "default" (empty) for new projects.
Commandline cptions proposal for copr-cli edit-chroot:
--bootstrap on|off|(default)|image --bootstrap-image <IMAGE_ID> (implies --bootstrap=ON)
Metadata Update from @praiskup: - Issue assigned to praiskup (was: dturecek)
Commit 5e6f7e1 fixes this issue
Commit b3e927d fixes this issue
Login to comment on this ticket.