Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-28 | Add a cleaned up repo command. | Todd Gamblin | 1 | -64/+75 | |
2015-11-28 | Integrate namespace attribute into spec, spec DAG, spec YAML. | Todd Gamblin | 6 | -35/+125 | |
2015-11-26 | Add tests for importing packages directly. | Todd Gamblin | 1 | -2/+40 | |
Added test for, e.g.: import spack.pkg.builtin.mock.mpich import spack.pkg.builtin.mock.mpich as mpich from spack.pkg.builtin.mock.mpich import Mpich Among others. These ensure that direct package imports work so that packages can be extended. | |||||
2015-11-26 | New, cleaner package repository structure. | Todd Gamblin | 3 | -61/+134 | |
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages). | |||||
2015-11-25 | Rename spack.db -> spack.repo | Todd Gamblin | 43 | -103/+103 | |
Making distinction between install database and package repositories clearer. | |||||
2015-11-25 | Rename packages.py to repository.py, PackageFinder to RepoPath. | Todd Gamblin | 9 | -128/+25 | |
2015-11-22 | Working PackageFinder / Repo | Todd Gamblin | 9 | -160/+329 | |
2015-11-12 | Fix and move NamespaceTrie to spack.util.naming | Todd Gamblin | 4 | -42/+154 | |
- fix up routines in namespace trie. - trie can now hold intermediate elements. - trie now has a test case. | |||||
2015-11-12 | Small fix to prevent this test from interfering with others. | Todd Gamblin | 1 | -17/+22 | |
2015-11-12 | Merge branch 'develop' into mplegendre-multi_pkgsrc_roots | Todd Gamblin | 37 | -172/+2076 | |
Conflicts: lib/spack/spack/__init__.py lib/spack/spack/directives.py lib/spack/spack/packages.py | |||||
2015-11-04 | Fix SPACK-93, SPACK-94, GitHub #150 | Todd Gamblin | 4 | -21/+18 | |
- `remove_prefix` was modified to remove from the DB, but the package may not have been added to the DB yet when `remove_prefix` is called from `cleanup`. - Made `remove_prefix` a pure utility function (it just removes the prefix) - Added `installed_db.remove()` call only after the `remove_prefix` in `uninstall`. | |||||
2015-11-04 | Make architecture reflect OS *and* machine. Use Python's platform module. | Todd Gamblin | 1 | -11/+8 | |
2015-10-30 | Fixed typo : write_lock() -> write_transaction() | Massimiliano Culpo | 3 | -3/+3 | |
2015-10-29 | Merge Greg Becker's build database support into develop. | Todd Gamblin | 22 | -139/+1641 | |
2015-10-29 | Merge pull request #124 from scheibelp/features/testinstall-cmd | Todd Gamblin | 6 | -3/+350 | |
Features/testinstall cmd | |||||
2015-10-29 | Merge pull request #145 from markcmiller86/v-char-bugfix | Todd Gamblin | 1 | -2/+2 | |
generalize one of the cases to handle many more kinds of formatting o… | |||||
2015-10-29 | Merge pull request #139 from mathstuf/use-uname-for-arch | Todd Gamblin | 1 | -10/+10 | |
architecture: use uname if available | |||||
2015-10-27 | generalize one of the cases to handle many more kinds of formatting options | miller86 | 1 | -2/+2 | |
2015-10-27 | Build database working with simple transaction support; all tests passing. | Todd Gamblin | 12 | -230/+645 | |
2015-10-27 | Fix stupid lock bug. | Todd Gamblin | 3 | -41/+53 | |
- Code simplification ignored case where exception was raised. - If LockError was raised, read and write counts were incremented erroneously. - updated lock test. | |||||
2015-10-27 | Not all package stages have an archive file (e.g. source code repos) but all of | Peter Scheibel | 1 | -1/+1 | |
them do have a source_path: use this instead to check whether the package resources were successfully retrieved. | |||||
2015-10-27 | Lock acquires return True/False depending on whether they got POSIX lock. | Todd Gamblin | 1 | -4/+15 | |
2015-10-26 | architecture: remove custom mac_type method | Ben Boeckel | 1 | -13/+0 | |
2015-10-26 | architecture: use uname if available | Ben Boeckel | 1 | -1/+14 | |
2015-10-26 | Fetch errors were also terminating runs of test-install with system exit, so | Peter Scheibel | 3 | -1/+10 | |
stage.fetch() was updated to raise a FetchError instead of calling tty.die(). Output is the same for spack install in case of a fetch error. | |||||
2015-10-26 | python: use the setdefault method on dict | Ben Boeckel | 3 | -16/+7 | |
It allows more concise code and skips some key lookups. | |||||
2015-10-26 | Making SpackError reference consistent. | Peter Scheibel | 1 | -2/+1 | |
2015-10-26 | Automatically create a 'test-output' directory in the current directory if no | Peter Scheibel | 1 | -1/+4 | |
output path is specified. Test output files are placed in this directory. Furthermore the filenames now have the prefix "test" (but otherwise are the string representation of the spec ID as before). | |||||
2015-10-24 | Working Lock class, now uses POSIX fcntl locks, extensive unit test. | Todd Gamblin | 3 | -84/+350 | |
- llnl.util.lock now uses fcntl.lockf instead of flock - purported to have more NFS compatibility. - Added an extensive test case for locks. - tests acquiring, releasing, upgrading, timeouts, shared, & exclusive cases. | |||||
2015-10-24 | Add a multiprocess Barrier class to use for testing parallel code. | Todd Gamblin | 1 | -1/+49 | |
2015-10-23 | The HTML number conversion regex operating against a byte string will only | Peter Scheibel | 1 | -1/+2 | |
convert individual bytes, so therefore incorrectly converts utf-8 encoded characters. Decoding byte strings to unicode objects results in correct HTML number encodings. | |||||
2015-10-23 | 1. Rename CommandError -> InstallError | Peter Scheibel | 2 | -5/+7 | |
2. InstallError now subclasses SpackError vs. StandardError (so it is now handled by the spack shell script) | |||||
2015-10-22 | 1. Added CommandError exception to build_environment | Peter Scheibel | 2 | -15/+28 | |
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 | Generate test results (designated as skipped) for parents of failed dependencies | Peter Scheibel | 2 | -24/+45 | |
2015-10-21 | Merge pull request #129 from mathstuf/separate-prefix | Todd Gamblin | 1 | -6/+8 | |
spack: split spack_root from prefix | |||||
2015-10-18 | Add Spack logo. | Todd Gamblin | 1 | -3/+3 | |
2015-10-17 | Better info variant output. | Todd Gamblin | 1 | -3/+13 | |
2015-10-15 | Created unit test for core logic in test-install command. | Peter Scheibel | 3 | -12/+145 | |
2015-10-15 | Better description for test-install command | Peter Scheibel | 1 | -1/+1 | |
2015-10-15 | Minor edit for clarity (generate output for single top level spec vs. iterating | Peter Scheibel | 1 | -2/+1 | |
through collection of size 1) | |||||
2015-10-15 | Originally I enforced specifying 1 top-level package with the test-install | Peter Scheibel | 1 | -5/+4 | |
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 | 1. Specifying the output file path for test-install is now an option (vs. an | Peter Scheibel | 2 | -12/+22 | |
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 | Move logic for tracking the build log into package.py (since that is what is | Peter Scheibel | 2 | -9/+10 | |
managing the build log) and expose as package.build_log_path. | |||||
2015-10-15 | Update test failure output: don't include the entire build log, just lines which | Peter Scheibel | 1 | -5/+10 | |
mention errors (or if no such lines can be found, output the last 10 lines from the log). | |||||
2015-10-15 | Use spec.traverse vs. recursive function. | Peter Scheibel | 1 | -20/+16 | |
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 | Always run with verbose output (so eliminate it as an option). Also remove other | Peter Scheibel | 1 | -22/+1 | |
commented options. | |||||
2015-10-15 | Changing name of file requires changing function name to be invoked as a command | Peter Scheibel | 1 | -1/+1 | |
2015-10-15 | Change name of file to conform to conventions. | Peter Scheibel | 1 | -0/+0 | |
2015-10-15 | Edit function names to conform to naming conventions. | Peter Scheibel | 1 | -7/+7 | |
2015-10-15 | Only install 1 top-level package with testinstall. Otherwise if multiple | Peter Scheibel | 1 | -10/+6 | |
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. |