cdist-backup/cdist
Darko Poljak da274e5ef3 Redefine/reimplement CDIST_ORDER_DEPENDENCY
CDIST_ORDER_DEPENDENCY now defines type order dependency context.
cdist (emulator) maintains global state variables, as files,
order_dep_state and typeorder_dep, and per object state variable,
as file, typeorder_dep.

If order_dep_state exists then this defines that order dependency is
turned on.
If order_dep_state does not exist then order dependency is turned off.

If order dependency is on then objects created after it is turned on are
recorded into:
    * global typeorder_dep, in case of init manifest
    * object's typeorder_dep, in case of type's manifest.

If order dependency is on then requirement is injected, where object
created before current, is read from:
    * global typeorder_dep, in case of init manifest
    * object's typeorder_dep, in case of type's manifest.

Every time order dependency is turned off, typeorder_dep files are
removed, which means that type order list is cleared, context is
cleaned.

In the end cdist cleans after itself, i.e. mentioned files are removed.

When running type manifest is finished typeorder_dep file is removed.
When running config finishes global typeorder_dep and order_dep_state
files are removed.

Global type order recording is untouched.
Furthermore, for completeness, type order is now recorded for each object
too.
2019-11-27 15:04:47 +01:00
..
conf Revert "Merge branch '__clean_path_use_types' into 'master'" 2019-11-26 17:58:25 +01:00
core Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
exec Fix broken quiet mode 2019-04-12 09:13:25 +02:00
preos/debootstrap Release preos, i.e. make it non-beta 2019-09-20 19:56:17 +02:00
sphinxext Return translator_class for older sphinx versions. 2018-03-15 13:49:22 +01:00
test Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
util Fix DirectoryDict getitem. 2018-10-12 19:08:36 +02:00
__init__.py Report explorer error better 2019-04-20 14:30:28 +02:00
argparse.py Release preos, i.e. make it non-beta 2019-09-20 19:56:17 +02:00
autil.py Add archiving support. 2017-08-09 16:56:02 +02:00
banner.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
config.py Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
configuration.py Add timestamping log option to config file. 2018-09-27 18:55:33 +02:00
emulator.py Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
flock.py Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
hostsource.py Merge custom cache path pattern from beta branch. 2017-07-01 23:59:51 +02:00
install.py Add missing param. 2016-11-01 08:11:37 +01:00
integration.py Change path removal suitable for integration and normal run. 2017-09-14 09:53:16 +02:00
inventory.py Fix pycodestyle 2019-05-17 13:03:54 +02:00
log.py Add timestamp to log messages. 2018-09-23 20:36:57 +02:00
message.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
mputil.py Further improve parallel execution. 2017-07-26 17:39:07 +02:00
preos.py Implement preos 2019-09-20 07:15:37 +02:00
shell.py Save output streams. 2018-01-09 09:31:40 +01:00