mark same algorithmus for deps in logs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								861b13ffe4
							
						
					
				
			
			
				commit
				
					
						df54ab3284
					
				
			
		
					 1 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								doc/dev/logs/2012-02-13.dependencies
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								doc/dev/logs/2012-02-13.dependencies
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | ||||||
|  | possible dependencies: | ||||||
|  | 
 | ||||||
|  |     - unix pattern __foo/* | ||||||
|  |     - object: __foo//bar, __foo/bar | ||||||
|  |     - singleton with object_id: __foo/singleton | ||||||
|  |     - singleton without object_id: __foo/ | ||||||
|  | 
 | ||||||
|  | solving dependencies: | ||||||
|  | 
 | ||||||
|  |     solve_dep(object, run_list): | ||||||
|  |         - list = [me] | ||||||
|  |         - if status == IN_DEPENDENCY: | ||||||
|  |             fail: circular dependency | ||||||
|  |         - status = IN_DEPENDENCY | ||||||
|  |         - create_list_of_deps(object) | ||||||
|  |             - try pattern expansion | ||||||
|  |         - for each dependency: | ||||||
|  |             if object does not exist: | ||||||
|  |                 fail | ||||||
|  |             else: | ||||||
|  |                 list.append(solve_dep(object, run_list)): | ||||||
|  |         - status == IN_LIST | ||||||
|  |         - return [me, dependencies [, dependencies of dependencies]] | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue