add ideas about dependecies

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-23 08:11:56 +01:00
parent 0c593f5c5b
commit 0c8432fd48

View file

@ -0,0 +1,32 @@
Ziel: type __gugus soll abhaengig von type __foo sein
--------------------------------------------------------------------------------
__foo/manifest
__file /nice/file --source /some/where
__file /nice/other/file --source /some/where/else
__package gurk --state installed
--------------------------------------------------------------------------------
a) ohne autorequire
__gugus/manifest
require="__file/nice/file __file/nice/other/file __package/gurk" __file /whatever
--------------------------------------------------------------------------------
b) mit autorequire
__gugus/manifest
require="__foo/someid" __file /whatever
--------------------------------------------------------------------------------
Behauptung: __gugus sollte nicht ueber die internas von __foo bescheid wissen muessen