summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-27Build database working with simple transaction support; all tests passing.Todd Gamblin12-230/+645
2015-10-27Fix stupid lock bug.Todd Gamblin3-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-27Lock acquires return True/False depending on whether they got POSIX lock.Todd Gamblin1-4/+15
2015-10-24Working Lock class, now uses POSIX fcntl locks, extensive unit test.Todd Gamblin3-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-24Add a multiprocess Barrier class to use for testing parallel code.Todd Gamblin1-1/+49
2015-09-27an ordered database testGregory Becker2-1/+106
2015-09-18Add ref counting to database. This does not handle removal properly yet.Todd Gamblin6-55/+183
2015-09-17Allow custom timeout for database locking.Todd Gamblin1-4/+6
2015-09-17Simplify lock context managers.Todd Gamblin10-43/+49
2015-09-17Several changes to DB implementation.Todd Gamblin6-140/+221
1. Database stores a file version, so we can add to it in the future. 2. Database indexed by hashes and not numerical indexes. 3. Specs built by database have consistent hashes and it's checked. 4. minor naming and whitespace changes.
2015-09-15Added spack fsck and re-read from glob if the database file does not exist. ↵Gregory Becker2-4/+57
Allows older versions to smoothly upgrade to the database.
2015-09-03Added conservative locking to the spack commands that access the database at ↵Gregory Becker8-86/+104
_index
2015-08-31Removed incorrect stage removal code from cleanup() in do_install()Gregory Becker1-8/+0
2015-08-31Fixed several issues from code reviewGregory Becker2-82/+184
Most importantly wrote the Lock, Read_Lock_Instance, and Write_Lock_Instance classes in lock.py Updated the locking in database.py TODO: Lock on larger areas
2015-08-25Fixed inaccurate comment in spec.pyGregory Becker1-1/+0
2015-08-25Eliminated unnecessary differences in pull requestGregory Becker3-3/+1
2015-08-25Fixed file locking. Fix is slightly ugly (lock integer added) but it gets ↵Gregory Becker1-18/+31
the job done It avoids having to spin simply on the OSError.
2015-08-25Added dependency indices to database, ensuring correctly reconstructed specs ↵Gregory Becker2-25/+78
from database Began work on file locking, currently commented out.
2015-08-21Eliminated all calls that relied on finding all packages in the opt directoryGregory Becker11-95/+121
Replaced them all with references to the database Implemented caching in the database. The database now only re-reads data if the database file exists and was changed since this file last wrote to it. Added the installed_db field to the spack instance Left the call to all_specs from testdirectory_layout.py for now.
2015-08-21Added hashes to the databaseGregory Becker1-12/+19
2015-08-21Added a database of installed packages.Gregory Becker4-3/+175
No methods use the database so far. Also, a bug fix: Previous version did not remove the staging directory on a failed install This led to spack refusing to uninstall dependencies of the failed install Added to cleanup() to blow away the staging directory on failed install.
2015-08-13Fix 2.6 incompatibilityTodd Gamblin1-4/+4
2015-08-13Add .mailmap fileTodd Gamblin1-0/+11
2015-08-13Merge pull request #92 from trws/flux-buildTodd Gamblin10-0/+199
pre-alpha flux build and requisite dependencies
2015-08-13Merge pull request #94 from alfredo-gimenez/dev-pandasTodd Gamblin6-4/+49
Fixed py-pandas package
2015-08-12Merge pull request #88 from trws/git_depth_attemptTodd Gamblin1-3/+12
adding a fallback on failure with git --depth
2015-08-12Merge pull request #87 from alfredo-gimenez/developTodd Gamblin2-0/+34
Added gui and cscope features to Vim package
2015-08-07Cscope vim variant depends on cscopeAlfredo Gimenez1-2/+4
2015-08-07Fixed py-pandas packageAlfredo Gimenez6-4/+49
2015-08-06Added cscope (dependency for vim+cscope)Alfredo Gimenez1-0/+17
2015-08-04Use absolute paths to spack compiler wrappers in CC/CXX/F77/FCTodd Gamblin1-4/+4
2015-08-03pre-alpha flux build and requisite dependenciesTom Scogland10-0/+199
NOTE: the ncurses package now installs *BOTH* versions, wide and non-wide character for compatibility with packages that require either one. It may be desirable for this to be an option in the future.
2015-08-01Merge pull request #91 from nolta/patch-1Todd Gamblin1-0/+2
add missing gmp dependency to mpfr package
2015-08-01add missing gmp dependency to mpfr packageMike Nolta1-0/+2
2015-07-29adding the bear compilation database generatorTom Scogland1-0/+17
2015-07-27adding a fallback on failure with git --depthTom Scogland1-3/+12
Certain remote protocols don't support the `--depth` option. Since this can't be checked by URL type or in any sane way locally, this version attempts to clone git repositories with the --depth option, and if that fails attempts the clone again without it.
2015-07-24Add Python version test to detect {} in version strings.Todd Gamblin2-8/+21
- {} is not compatible with Python 2.6
2015-07-23Fix Python 2.6 compatibility issue.Todd Gamblin2-9/+20
2015-07-23Vim with added feature support, including gvimAlfredo Gimenez1-0/+15
2015-07-22adding a zsh packageTom Scogland1-0/+16
2015-07-16Fix ProviderIndex.update(), which didn't remove stale providers.Todd Gamblin1-1/+10
2015-07-16Update concretize to check for more changes and iterate further.Todd Gamblin4-29/+82
2015-07-14Fix mangled error message.Todd Gamblin1-2/+2
2015-07-14Remove superfluous print in vim.Todd Gamblin1-1/+0
2015-07-14Fix regression of install -j.Todd Gamblin1-0/+4
2015-07-14Merge branch 'develop' of github.com:scalability-llnl/spack into developTodd Gamblin5-3/+70
2015-07-13Add test to check packages for Python2.6 compatibility, as well as core.Todd Gamblin1-2/+15
2015-07-13Remove python 2.6-incompatible format expression.Todd Gamblin1-1/+2
2015-07-10adding gnu global tags and exuberant ctagsTom Scogland2-0/+38
2015-07-09adding YAPF (Yet Another Python Formatter)Tom Scogland1-0/+15