API kcidb roundtrip for kernel_type/is_public
to determine whether a checkout and derived objects should be public, the kernel_type misc field is used on creation. This cannot be changed afterwards.
When exporting, this is exposed as is_public on all of checkout/build/test, but kernel_type is not exported on checkouts.
This breaks roundtripping as exported checkouts are always reimported as internal checkouts (as kernel_type is missing), and the is_public field is ignored (and following it might be impossible if eg an existing checkout is private and a newly to create build is requested to be public).
AC:
- exporting/importing kcidb objects should not change visibility
-
remove kcidb misc/kernel_type -
remove trigger variable kernel_type -
use kcidb misc/is_public in pipeline -
supply trigger variable is_public -
remove kcidb misc/public use in pipeline -
remove trigger variable public -
remove public fallback in DW -
remove public in pipeline code -
remove public in CKI KCIDB schema
Edited by Michael Hofmann