Peter Scheibel 
							
						 
					 
					
						
						
							
						
						d76c923623 
					 
					
						
						
							
							1. Rename CommandError -> InstallError  
						
						... 
						
						
						
						2. InstallError now subclasses SpackError vs. StandardError (so it is now
handled by the spack shell script) 
						
						
					 
					
						2015-10-23 16:18:06 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						ea872f8098 
					 
					
						
						
							
							1. Added CommandError exception to build_environment  
						
						... 
						
						
						
						2. The parent of a failed child process in build_environment.fork no longer
calls sys.exit - instead it raises a CommandError (from [1])
3. test-install command now attempts to install all packages even if one fails 
						
						
					 
					
						2015-10-22 17:44:16 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						246423b4b4 
					 
					
						
						
							
							Generate test results (designated as skipped) for parents of failed dependencies  
						
						
						
						
					 
					
						2015-10-22 16:00:03 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						38508c5a3f 
					 
					
						
						
							
							Created a control flow logic that will loop through the strategies and find compilers using that. TODO: Need to find a way to locate their executables  
						
						
						
						
					 
					
						2015-10-22 12:02:26 -07:00 
						 
				 
			
				
					
						
							
							
								Todd Gamblin 
							
						 
					 
					
						
						
							
						
						b6833f08df 
					 
					
						
						
							
							Merge pull request  #129  from mathstuf/separate-prefix  
						
						... 
						
						
						
						spack: split spack_root from prefix 
						
						
					 
					
						2015-10-21 16:04:36 -04:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						a89abb435f 
					 
					
						
						
							
							Changed structure of class, add compiler strategy is a method and can create a dict  
						
						
						
						
					 
					
						2015-10-21 11:32:59 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						9b387e7682 
					 
					
						
						
							
							Added strategy method in init  
						
						
						
						
					 
					
						2015-10-21 11:09:05 -07:00 
						 
				 
			
				
					
						
							
							
								Gregory Becker 
							
						 
					 
					
						
						
							
						
						51b69ef00b 
					 
					
						
						
							
							initial fetch on crayport  
						
						
						
						
					 
					
						2015-10-21 09:27:57 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						c31da9bc8f 
					 
					
						
						
							
							Made sure architecture works with yaml file  
						
						
						
						
					 
					
						2015-10-20 14:10:54 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						ca3cc5b23e 
					 
					
						
						
							
							Refactored architecture class. Now it will automagically create a dict upon instantiation.  
						
						
						
						
					 
					
						2015-10-20 13:37:06 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						3ba2842b53 
					 
					
						
						
							
							Got Architecture class working the way i wanted to. Next to write tests  
						
						
						
						
					 
					
						2015-10-20 13:33:21 -07:00 
						 
				 
			
				
					
						
							
							
								Todd Gamblin 
							
						 
					 
					
						
						
							
						
						3c788147ca 
					 
					
						
						
							
							Add Spack logo.  
						
						
						
						
					 
					
						2015-10-18 19:14:40 -07:00 
						 
				 
			
				
					
						
							
							
								Todd Gamblin 
							
						 
					 
					
						
						
							
						
						7598612b86 
					 
					
						
						
							
							Better info variant output.  
						
						
						
						
					 
					
						2015-10-17 17:34:39 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						39f0f000f8 
					 
					
						
						
							
							Created unit test for core logic in test-install command.  
						
						
						
						
					 
					
						2015-10-15 22:02:14 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						6cd976d036 
					 
					
						
						
							
							Better description for test-install command  
						
						
						
						
					 
					
						2015-10-15 20:13:08 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						49b91235bb 
					 
					
						
						
							
							Minor edit for clarity (generate output for single top level spec vs. iterating  
						
						... 
						
						
						
						through collection of size 1) 
						
						
					 
					
						2015-10-15 19:59:57 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						82ed1bc343 
					 
					
						
						
							
							Originally I enforced specifying 1 top-level package with the test-install  
						
						... 
						
						
						
						command by having it consume exactly 1 positional argument (i.e. by removing
"nargs=argparse.REMAINDER") but this does not work when configuring dependencies
of a top-level package (which show up as additional positional args). Instead
now there is an explicit check to ensure there is only 1 top-level package. 
						
						
					 
					
						2015-10-15 19:38:47 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						e451421db3 
					 
					
						
						
							
							1. Specifying the output file path for test-install is now an option (vs. an  
						
						... 
						
						
						
						argument). The default path is [package id].xml in the CWD where test-install
is called from.
2. Fixed a bug with package.build_log_path (which was added in this branch).
3. keep_stage for package.do_install is now set. This allows uninstalling and
reinstalling packages without (re) downloading them. 
						
						
					 
					
						2015-10-15 19:22:36 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						fec197ccac 
					 
					
						
						
							
							Fixed the output of sys_type(), might need to add back the error handling part  
						
						
						
						
					 
					
						2015-10-15 15:25:13 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						ccdf105759 
					 
					
						
						
							
							Commented out a long list of tests to just include my arch test  
						
						
						
						
					 
					
						2015-10-15 12:48:12 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						d328f4c3b6 
					 
					
						
						
							
							Test suite for architecture class and functions  
						
						
						
						
					 
					
						2015-10-15 12:47:26 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						29e03ac851 
					 
					
						
						
							
							Added __eq__ testing method. Created tests for it in test/ folder  
						
						
						
						
					 
					
						2015-10-15 12:46:44 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						4997f0fe57 
					 
					
						
						
							
							Move logic for tracking the build log into package.py (since that is what is  
						
						... 
						
						
						
						managing the build log) and expose as package.build_log_path. 
						
						
					 
					
						2015-10-15 12:44:02 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						c985ad7644 
					 
					
						
						
							
							Update test failure output: don't include the entire build log, just lines which  
						
						... 
						
						
						
						mention errors (or if no such lines can be found, output the last 10 lines from
the log). 
						
						
					 
					
						2015-10-15 12:23:56 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						b9bf0b942c 
					 
					
						
						
							
							Use spec.traverse vs. recursive function.  
						
						... 
						
						
						
						Also even though I calculated which installs are new (e.g. vs. packages that
have already been installed by a previous command) I forgot to make use of that
in create_test_output (so I was always generating test output even if a package
had been installed before running the test-install command).
Note to avoid confusion: the 'handled' variable (removed in this commit) did not
serve the same purpose as 'newInstalls': it was originally required because the
recursive approach would visit the same dependency twice if more than one
package depended on it. 
						
						
					 
					
						2015-10-15 11:52:08 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						f2b4341ad6 
					 
					
						
						
							
							Always run with verbose output (so eliminate it as an option). Also remove other  
						
						... 
						
						
						
						commented options. 
						
						
					 
					
						2015-10-15 10:45:03 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						11861fb8d7 
					 
					
						
						
							
							Changing name of file requires changing function name to be invoked as a command  
						
						
						
						
					 
					
						2015-10-15 10:35:42 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						e3d703b80f 
					 
					
						
						
							
							Change name of file to conform to conventions.  
						
						
						
						
					 
					
						2015-10-15 10:33:39 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						2ae7839b66 
					 
					
						
						
							
							Edit function names to conform to naming conventions.  
						
						
						
						
					 
					
						2015-10-15 10:26:13 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						0d66362cee 
					 
					
						
						
							
							Only install 1 top-level package with testinstall. Otherwise if multiple  
						
						... 
						
						
						
						packages are specified and a prior one fails, it will prevent any of the others
from succeeding (and generating test output) even if they don't share
dependencies. 
						
						
					 
					
						2015-10-15 10:17:08 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Boeckel 
							
						 
					 
					
						
						
							
						
						3ce85b2270 
					 
					
						
						
							
							spack: split spack_root from prefix  
						
						... 
						
						
						
						A foundation for allowing runtime configuring of the prefix. 
						
						
					 
					
						2015-10-15 09:27:05 -04:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						4f21344e87 
					 
					
						
						
							
							Started created the Architecture class for Spack to use  
						
						
						
						
					 
					
						2015-10-14 19:41:07 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						71dcf8833c 
					 
					
						
						
							
							Make sure to generate output for dependencies as if they were separate tests:  
						
						... 
						
						
						
						the original intent was to generate output as if each package was a unit test,
but I noticed that I was only generating test output for top-level packages. 
						
						
					 
					
						2015-10-13 19:02:41 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						1ce6d8b627 
					 
					
						
						
							
							Add spec YAML format to test output.  
						
						
						
						
					 
					
						2015-10-13 10:41:47 -07:00 
						 
				 
			
				
					
						
							
							
								Todd Gamblin 
							
						 
					 
					
						
						
							
						
						d16095c856 
					 
					
						
						
							
							Add forgotten file from previous commit.  
						
						
						
						
					 
					
						2015-10-13 10:35:19 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						9f56d9c807 
					 
					
						
						
							
							Don't create test output for any package that was already installed.  
						
						
						
						
					 
					
						2015-10-12 20:56:03 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						6cd22e5786 
					 
					
						
						
							
							1. Added Junit XML format  
						
						... 
						
						
						
						2. Specify output to a file vs. a directory
3. Use [1] and [2] to write an XML file tracking success of package installs in
Junit XML format 
						
						
					 
					
						2015-10-12 20:49:23 -07:00 
						 
				 
			
				
					
						
							
							
								Peter Scheibel 
							
						 
					 
					
						
						
							
						
						b7249d66b3 
					 
					
						
						
							
							Adding command testinstall. See "spack testinstall -h" for documentation.  
						
						... 
						
						
						
						Still need to add output formatting (in a commonly parse-able format like Junit
or TAP). May want to adjust how the build log is accessed in case of a build
failure. 
						
						
					 
					
						2015-10-12 19:18:31 -07:00 
						 
				 
			
				
					
						
							
							
								Todd Gamblin 
							
						 
					 
					
						
						
							
						
						2c81875019 
					 
					
						
						
							
							Fix bug in colify color handling.  
						
						
						
						
					 
					
						2015-10-12 14:44:41 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						b6d2a12ceb 
					 
					
						
						
							
							Started changing the find in modules method written by Todd  
						
						
						
						
					 
					
						2015-10-07 15:57:29 -07:00 
						 
				 
			
				
					
						
							
							
								Mario Melara 
							
						 
					 
					
						
						
							
						
						06fe879745 
					 
					
						
						
							
							Merge branch 'features/crayproto' of  https://github.com/scalability-llnl/spack  into develop  
						
						
						
						
					 
					
						2015-10-07 14:55:05 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						fac4428766 
					 
					
						
						
							
							Documentation for external packages.  
						
						
						
						
					 
					
						2015-10-05 14:04:33 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						18f0b24a7f 
					 
					
						
						
							
							Add tests for spack external dependencies, plus fixes for issues found by those tests.  
						
						
						
						
					 
					
						2015-10-05 11:37:36 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						e4d2ba30b5 
					 
					
						
						
							
							Fix failure in spack.test.config.ConfigTest from incorrect compiler config merging  
						
						
						
						
					 
					
						2015-10-05 11:37:36 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						650c9d4e36 
					 
					
						
						
							
							Allow spack to build against external non-spack-installed packages.  
						
						
						
						
					 
					
						2015-10-05 11:37:36 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						53d70fff01 
					 
					
						
						
							
							Fix type error with YAML config when merging lists from different configs.  
						
						
						
						
					 
					
						2015-10-05 11:36:06 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						53cde110b1 
					 
					
						
						
							
							Update Spack mirror command to match docs  
						
						
						
						
					 
					
						2015-10-05 11:36:06 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						987cd9e78f 
					 
					
						
						
							
							Update docs for YAML configuration files and preferred concretization  
						
						
						
						
					 
					
						2015-10-05 11:36:06 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						ee68a76a19 
					 
					
						
						
							
							Bug fixes from testing spack preferred packages  
						
						
						
						
					 
					
						2015-10-05 11:36:06 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew LeGendre 
							
						 
					 
					
						
						
							
						
						8d7b7e5d5d 
					 
					
						
						
							
							Use preferred package rules when concretize'ing specs  
						
						
						
						
					 
					
						2015-10-05 11:36:06 -07:00