add some thoughts on changes for multiple directory search for types and explorers
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								80e42c133d
							
						
					
				
			
			
				commit
				
					
						a81525b101
					
				
			
		
					 1 changed files with 32 additions and 0 deletions
				
			
		
							
								
								
									
										32
									
								
								docs/dev/logs/2012-10-29.installed_paths
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								docs/dev/logs/2012-10-29.installed_paths
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,32 @@
 | 
			
		|||
 | 
			
		||||
Installed paths: (read first)
 | 
			
		||||
    os.path.dirname(cdist.__file__)
 | 
			
		||||
 | 
			
		||||
    /conf/explorer
 | 
			
		||||
    /conf/type
 | 
			
		||||
 | 
			
		||||
User paths: (read after, overwrite)?
 | 
			
		||||
 | 
			
		||||
    $HOME/.cdist
 | 
			
		||||
 | 
			
		||||
    /explorer
 | 
			
		||||
    /type
 | 
			
		||||
 | 
			
		||||
    /manifest
 | 
			
		||||
 | 
			
		||||
Additional paths:
 | 
			
		||||
 | 
			
		||||
    CDIST_EXPLORER_EXTRA_PATH=...
 | 
			
		||||
    CDIST_TYPE_EXTRA_PATH=...
 | 
			
		||||
 | 
			
		||||
    or
 | 
			
		||||
 | 
			
		||||
    -c dir -c dir2 -c ... => 
 | 
			
		||||
        add types and explorer from those directories
 | 
			
		||||
        last one wins?
 | 
			
		||||
            because they can only be appended to existing "$PATH"
 | 
			
		||||
 | 
			
		||||
Open questions:
 | 
			
		||||
 | 
			
		||||
    - How to tell types to use global explorer?
 | 
			
		||||
    - How to tell types to find other types?
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue