ceph/debian
Kefu Chai 5ddda38da4 common: extract options into yaml
extract the options in common/options.cc into separate .yaml.in
files, and preprocess them using CMake before translating them into .cc
files using a python script.

this change paves the road to render the options using sphinx, and
will allow us to further annotate the options to include more metadata.

also, a this YAML file can be consumed by applications like dashboard
and Sphinx to consume these metadata in a simpler way.

* use @variable-name@ for substituting the variables in .yaml.in file
* use cmake variable of `mgr_disabled_modules` instead of C macro
  to define `mgr_disabled_modules` in global.yaml.in
* debian/control, ceph.spec.in, win32_deps_build.sh: add python3-yaml
  as build dep
* add y2c.py (short for YAML to C++) to translate .yaml to .cc file
* common/options/*.yaml.in: extract and split options into .yaml.in
  files, the subvars in it is then replaced with CMake variables,
  and copied to the corresponding .yaml files
* include/config-h.in.cmake: remove MGR_DISABLED_MODULES, as it
  is not a CMake variable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-13 09:13:47 +08:00
..
source
.gitignore
ceph-base.dirs
ceph-base.docs
ceph-base.install
ceph-base.lintian-overrides
ceph-base.maintscript
ceph-base.postinst
ceph-base.prerm
ceph-common.dirs
ceph-common.install tools/ceph-dencoder: build dencoders as plugins 2021-04-01 15:46:22 +08:00
ceph-common.postinst
ceph-common.postrm
ceph-fuse.install
ceph-grafana-dashboards.install
ceph-immutable-object-cache.install
ceph-mds.dirs
ceph-mds.install
ceph-mds.postinst
ceph-mds.prerm
ceph-mgr-cephadm.install
ceph-mgr-cephadm.postinst
ceph-mgr-cephadm.prerm
ceph-mgr-dashboard.install
ceph-mgr-dashboard.postinst
ceph-mgr-dashboard.prerm
ceph-mgr-diskprediction-cloud.prerm
ceph-mgr-diskprediction-local.install
ceph-mgr-diskprediction-local.postinst
ceph-mgr-diskprediction-local.prerm
ceph-mgr-modules-core.install
ceph-mgr-rook.install
ceph-mgr-rook.postinst
ceph-mgr-rook.prerm
ceph-mgr.dirs
ceph-mgr.install
ceph-mgr.postinst
ceph-mgr.prerm
ceph-mon.dirs
ceph-mon.install
ceph-mon.postinst
ceph-mon.prerm
ceph-osd.dirs
ceph-osd.install
ceph-osd.postinst
ceph-osd.prerm
ceph-prometheus-alerts.install
ceph-resource-agents.install
ceph-test.install
cephadm.install
cephadm.postinst
cephadm.postrm
cephfs-mirror.install
cephfs-shell.install
cephfs-top.install
changelog
compat
control common: extract options into yaml 2021-04-13 09:13:47 +08:00
copyright
libcephfs2.install
libcephfs-dev.install
libcephfs-java.jlibs
libcephfs-jni.install
libjaeger.install
librados2.install
librados-dev.install
libradospp-dev.install
libradosstriper1.install
libradosstriper-dev.install
librbd1.install
librbd-dev.install
librgw2.install
librgw-dev.install
libsqlite3-mod-ceph-dev.install
libsqlite3-mod-ceph.install
libsqlite3-mod-ceph.symbols
py3dist-overrides
python3-ceph-argparse.install
python3-ceph-common.install
python3-cephfs.install
python3-rados.install
python3-rbd.install
python3-rgw.install
rados-objclass-dev.install
radosgw.dirs
radosgw.install
radosgw.postinst
radosgw.prerm
rbd-fuse.install
rbd-mirror.install
rbd-nbd.install
rules
watch