summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-09-02Attributes for directives need to be set at class construction time. (#1718)Todd Gamblin1-3/+6
- moved ensure_dicts() call from Package.__init__ to Package.__metaclass__.
2016-09-02Clean up stable hashing so that specs don't contain !!python/object/applyTodd Gamblin4-50/+51
- only output basic lists, dicts, etc. - spec and database now parse and write specs as ordered data.
2016-09-02Merge branch 'UCL-RITS-hash_stability' into bugfix/hash-collisionTodd Gamblin2-15/+51
2016-09-02Fix hash copying in _dup.Todd Gamblin1-7/+17
- Spec._dup() incorrectly copied cached hashes and normal/concrete values even when dependency structure was not preserved. - Now these are only copied when *all* dependencies are copied.
2016-09-02Fix hash handling in directory layoutTodd Gamblin1-0/+7
- Currently, build dependencies are not currently hashed; we are waiting to hash these until we have smarter concretization that can reuse more installed specs. The layout needs to account for this when checking whethert things are installed.
2016-09-01Fix `spack reindex` so that it will work if DB is corrupt (duh).Todd Gamblin1-16/+45
- Transaction logic had gotten complicated -- DB would not reindex when corrupt, rather the error would be reported (ugh). - DB will now print the error and force a rebuild when errors are detected reading the old databse.
2016-09-01Update tests to reflect new in-memory hashing vs. coarser dag_hash.Todd Gamblin1-7/+18
- Spack currently not hashing build deps (to allow more reuse of packages and less frequent re-installing) - Fast in-memory hash should still hash *all* deptypes, and installed specs will only reflect link and run deps. - We'll revert this when we can concretize more liberally based on what is already installed.
2016-09-01Add option to copy only certain deptypes to Spec.copy()Todd Gamblin1-16/+24
- can now pass these to Spec.copy() and Spec._dup(): - deps=True - deps=False - deps=(list of deptypes) - Makes it easy to filter out only part of a spec.
2016-09-01Faster database loading.Todd Gamblin1-17/+37
- use a 3-pass algorithm to load the installed package DAG. - avoid redundant hashing/comparing on load.
2016-09-01Specs now cache result of "fast" in-memory hash.Todd Gamblin1-8/+22
- Hash causes major slowdown for reading/setting up large DBs - New version caches hash for concrete specs, which includes all specs in the install DB
2016-09-01Fix dependency bug in database. Fixes #1265, #1320.Todd Gamblin1-1/+1
2016-08-31Make gh-pages redirect to readthedocs.ioTodd Gamblin3-1/+22
2016-08-31Expand/clarify description of dependency typesErik Schnetter1-14/+25
2016-08-30Fix modules.rst doc build warning.Todd Gamblin2-4/+2
2016-08-30Move sphinx-apidoc into conf.py, too.Todd Gamblin3-1/+7
2016-08-30fix sys.path in conf.pyTodd Gamblin1-1/+1
2016-08-30test.Todd Gamblin1-0/+3
2016-08-30sorted command index, better colification.Todd Gamblin1-5/+7
2016-08-30Don't test sphinx-generated conf.py for flake8 issues.Todd Gamblin1-0/+1
2016-08-30Fix issue with path to Spack.Todd Gamblin1-1/+1
2016-08-30Exclude spack.__all__ from documentation.Todd Gamblin1-0/+22
Everything in the __all__ list in the spack module is from some other module, so only do their documentation in their original location. This also avoids issues like the fact that some directive names shadow spack core module names.
2016-08-30Undo changes to trailing triple quotes in docstringAdam J. Stewart6-8/+12
2016-08-30Resolve new documentation issues that have cropped upAdam J. Stewart1-46/+60
2016-08-30Make subcommands importable, '-' -> '_', fixes #1642Adam J. Stewart4-5/+1
2016-08-30Fix spack --profile, fixes #1639Adam J. Stewart1-35/+8
2016-08-30Use console instead of shell syntax lexer, fixes #1634Adam J. Stewart8-1002/+970
2016-08-30Fixes #1620, Missing referencesAdam J. Stewart2-3/+6
2016-08-30Fixes #1618, Problems with spack package-listAdam J. Stewart1-9/+14
2016-08-30Fix docstrings for core Spack libraries, fixes #1612Adam J. Stewart20-201/+205
2016-08-30Fix unexpected indentation in .rst files, #1612Adam J. Stewart2-2/+2
2016-08-30Fix #1608, Include file not foundAdam J. Stewart1-2/+2
2016-08-30Fix #1604 and fix #1605, title underline problemsAdam J. Stewart8-277/+411
2016-08-30Fix #1594, duplicate explicit target nameAdam J. Stewart1-2/+2
2016-08-30Move all documentation generation into conf.pyTodd Gamblin3-21/+32
- extra steps in Makefile are ignored by readthedocs
2016-08-29resources : added docs fixes #1551 (#1627)Massimiliano Culpo2-3/+23
2016-08-29Fix exception constructors. (#1663)Todd Gamblin1-3/+7
2016-08-29Merge pull request #1564 from adamjstewart/features/createTodd Gamblin1-1/+2
Suggest setuptools when creating Python package
2016-08-28Documentation: Fix accidental quotation. version() takes expand as a ↵Tyler Esser1-1/+1
keyword. (#1640)
2016-08-27Make clang detection work on AWS Ubuntu14.Todd Gamblin1-1/+1
2016-08-25Remove stale operating_system.py test per discussion in #1631Todd Gamblin1-75/+0
- Test has not been registered in `__init__.py` for a while and needs a refresh.
2016-08-25Merge pull request #663 from citibeth/efischer/160327-DocumentationImprovementsTodd Gamblin5-3/+183
[RtM] Documentation Improvements
2016-08-24Make `spack info` print deps in sorted orderTodd Gamblin1-1/+1
2016-08-24Put url_for_version() after versions in example.Elizabeth Fischer1-1/+2
2016-08-24appeasing flake8, also cleaning up headerTom Scogland1-38/+43
The header append lines were too long, so I just converted it into a multi-line string template so it's all one piece now instead of a bunch of appends.
2016-08-24avoid specifying --delim unless requiredTom Scogland1-7/+35
This increases portability of generated module files to versions of environment_modules hearkening back to just after the turn of the millennium.
2016-08-23Added CMake-based Development case study to docuemntation.citibeth2-0/+168
2016-08-23Explained url_for_version()Elizabeth F1-2/+4
2016-08-23Added note on use of 'less -R' for colorized output.citibeth1-0/+9
2016-08-19Suggest setuptools when creating Python packageAdam J. Stewart1-1/+2
2016-08-15stripping the links to remove spaces and '\n'Nicolas Richart1-1/+1