summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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-15stripping the links to remove spaces and '\n'Nicolas Richart1-1/+1
2016-08-15Don't assume spack is in the path when buildign docs.Todd Gamblin1-1/+2
2016-08-12Update documentation for spack md5Adam J. Stewart2-7/+19
2016-08-11Merge pull request #1493 from xjrc/bugfix/nonbool-variantsbecker331-4/+3
Bug Fix : Allow Packages to Have Variants w/ Non-Bool, Non-String Defaults
2016-08-11Corrects Cray compiler name and adds missing version flag.Matt Belhorn1-5/+4
2016-08-10Move jsonschema files out of `config.py` to their own package.Todd Gamblin8-276/+507
2016-08-10Make Spack core PEP8 compliant.Todd Gamblin147-1153/+1415
2016-08-10Fix superclass constructor for SpackNamespace objects.Todd Gamblin1-1/+1
2016-08-10Fixed a bug that was making packages with non-bool default variants to crash.Joseph Ciurej1-4/+3
2016-08-09Fix typo 'flexbile' -> 'flexible'George Hartzell1-1/+1
2016-08-09Properly re-raise exceptions from lock context handler.Todd Gamblin1-4/+6
2016-08-09Flake8 fixesTodd Gamblin16-330/+294
2016-08-09Move provider cache to home directory and refactor TransactionsTodd Gamblin18-113/+600
Major stuff: - Created a FileCache for managing user cache files in Spack. Currently just handles virtuals. - Moved virtual cache from the repository to the home directory so that users do not need write access to Spack repositories to use them. - Refactored `Transaction` class in `database.py` -- moved it to `LockTransaction` in `lock.py` and made it reusable by other classes. Other additions: - Added tests for file cache and transactions. - Added a few more tests for database - Fixed bug in DB where writes could happen even if exceptions were raised during a transaction. - `spack uninstall` now attempts to repair the database when it discovers that a prefix doesn't exist but a DB record does.
2016-08-08Fix bugs with sparse spec printing.Todd Gamblin3-10/+34
- Make namespace, arch, and dependnecies show up in spec yaml only if they're set. - Lost some of this functionality with deptypes
2016-08-08Restore text output in verbose mode.Todd Gamblin1-0/+4
2016-08-08Make compiler command test last until caching is fixed.Todd Gamblin1-2/+3
- global compiler cache breaks tests that come after this one.
2016-08-08Fix issues with import order in tests.Todd Gamblin1-15/+30
- modules weren't set properly as attributes in parent modules
2016-08-08WIPTodd Gamblin3-27/+117
2016-08-08Fix iterator invalidation issues.Todd Gamblin1-10/+19
2016-08-08fix scoping issue.Todd Gamblin1-1/+1
2016-08-08rename `virtual` module to `provider_index`Todd Gamblin5-12/+16
2016-08-08Fix namespace support in Repo.get_pkg_class()Todd Gamblin2-2/+8
2016-08-08Faster key in FlagMap._cmp_keyTodd Gamblin1-2/+1
2016-08-08Remove vestigial methods from Package.Todd Gamblin1-38/+0
2016-08-08Add a ProviderIndex cache.Todd Gamblin2-13/+141
- Spack will check if the index needs updating, and will only parse all package files if it does. - Spack tries to parse as few package files as necessary.
2016-08-08Make ProviderIndexes mergeable, so we can cache them per-repo.Todd Gamblin3-8/+57
2016-08-08Make ProviderIndex yaml-izable.Todd Gamblin4-13/+138
- allow a provider index to be stored and re-read.
2016-08-08More compact YAML formatting for abstract specs.Todd Gamblin2-26/+27
- Don't add empty/absent fields to Spec YAML when they're not there.
2016-08-08Lazily evaluate all_package_names in repository.pyTodd Gamblin1-10/+17
- Don't need to list all packages unless we have to. - Only use the list of all packages for existence checks if we have generated it for some other purpose.
2016-08-08Only strip newline chars, not spacesAdam J. Stewart1-1/+1
2016-08-05Catch error for version in VCSGlenn Johnson1-8/+12
This PR will catch the error where the url can not be determined from a VCS URL, such as git. It will print a message to the console and move on because it should not be a fatal error at this point in the process. This should fix #1459.
2016-08-04sbang filtering now works on non-writable files. (#1445)Todd Gamblin2-3/+26
- sbang now changes mode to writable and restores mode if a file is not writable.
2016-08-04Merge pull request #1330 from suraia/fix-ascii-graphbecker333-121/+101
Fix graph command with ASCII output
2016-08-04Fix flake8 issuesTorbjörn Lönnemark1-10/+10
2016-08-04Fix incorrect indentationTorbjörn Lönnemark1-5/+5
2016-08-04flake8 fixesMichael Kuhn2-103/+83
2016-08-04Fix tests.Michael Kuhn2-12/+11
2016-08-04Fix graph command with ASCII output.Michael Kuhn2-8/+9
2016-08-03Added parens to %'s arguments. Fixes #1432James Riley Wynne III1-1/+1
2016-08-03Cray: Fix a typo that could cause an infinite recursion when calling /env/cc.Kelly (KT) Thompson1-1/+1
fixes #1428
2016-08-03Merge pull request #1361 from ↵becker333-6/+38
epfl-scitas/features/module_token_expansion_in_environment module : token expansion in environment
2016-08-02spack create should use setup_py() instead of python()Adam J. Stewart1-1/+1