+discussion
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								5152bdfce7
							
						
					
				
			
			
				commit
				
					
						dd3011f447
					
				
			
		
					 1 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								docs/dev/logs/2013-04-03.dependency-discussion
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								docs/dev/logs/2013-04-03.dependency-discussion
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,30 @@
 | 
			
		|||
Steven, Nico
 | 
			
		||||
 | 
			
		||||
Discussion raised due to proposal from Arkaitz Jimenez
 | 
			
		||||
 | 
			
		||||
--------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
Proposal changes back to cdist behaviour as of 2011 (see commit 61b7b68).
 | 
			
		||||
 | 
			
		||||
Change would introduce:
 | 
			
		||||
 | 
			
		||||
- no direct stage based running
 | 
			
		||||
- stages only in object (not globally)
 | 
			
		||||
- cannot build full dependency list before beginning
 | 
			
		||||
    - Thus wildcard requirements (require="__file/*") don't work anymore
 | 
			
		||||
 | 
			
		||||
Accepting this or similar approaches means:
 | 
			
		||||
 | 
			
		||||
- Drop wildcard requirements (is undocumented anyway)
 | 
			
		||||
- Type execution is closed (again)
 | 
			
		||||
 | 
			
		||||
Furthermore/other points:
 | 
			
		||||
 | 
			
		||||
- Change cdist to continue run as long as possible
 | 
			
		||||
    - Don't stop if an object fails
 | 
			
		||||
    - Record failure, print at the end (and exit non zero)
 | 
			
		||||
 | 
			
		||||
- Logging
 | 
			
		||||
    - Catch output of manifest, gencode, code, do not display directly
 | 
			
		||||
    - Print at the end
 | 
			
		||||
    - Prefix with hostname as usual!
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue