add ideas about dependecies
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
0c593f5c5b
commit
0c8432fd48
1 changed files with 32 additions and 0 deletions
32
doc/dev/logs/2011-03-23.autorequire
Normal file
32
doc/dev/logs/2011-03-23.autorequire
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue