Adam J. Stewart
69e50595bf
Fix docstrings for core Spack libraries, fixes #1612
2016-08-30 15:32:54 -05:00
Adam J. Stewart
02239c094e
Fix unexpected indentation in .rst files, #1612
2016-08-30 15:29:51 -05:00
Adam J. Stewart
0614bd206f
Fix #1608 , Include file not found
2016-08-30 15:28:09 -05:00
Adam J. Stewart
2326355497
Fix #1604 and fix #1605 , title underline problems
2016-08-30 15:28:08 -05:00
Adam J. Stewart
fda7fcd73d
Fix #1594 , duplicate explicit target name
2016-08-30 15:21:15 -05:00
Todd Gamblin
dae00fec29
Move all documentation generation into conf.py
...
- extra steps in Makefile are ignored by readthedocs
2016-08-30 00:47:04 -07:00
Massimiliano Culpo
3ecf4ef8c9
resources : added docs fixes #1551 ( #1627 )
2016-08-29 22:40:50 -07:00
Todd Gamblin
8ab47537c7
Fix exception constructors. ( #1663 )
2016-08-29 22:34:47 -07:00
Todd Gamblin
f7ee8d001a
Merge pull request #1564 from adamjstewart/features/create
...
Suggest setuptools when creating Python package
2016-08-29 09:11:45 -07:00
Tyler Esser
83897af710
Documentation: Fix accidental quotation. version() takes expand as a keyword. ( #1640 )
2016-08-28 20:16:08 -07:00
Todd Gamblin
2053db4d17
Make clang detection work on AWS Ubuntu14.
2016-08-27 17:04:46 -07:00
Todd Gamblin
7ebb17e459
Remove stale operating_system.py test per discussion in #1631
...
- Test has not been registered in `__init__.py` for a while and needs a
refresh.
2016-08-25 21:20:34 -07:00
Todd Gamblin
e9bc3a9e32
Merge pull request #663 from citibeth/efischer/160327-DocumentationImprovements
...
[RtM] Documentation Improvements
2016-08-25 02:04:30 -07:00
Todd Gamblin
062ff13da6
Make spack info
print deps in sorted order
2016-08-24 14:10:25 -07:00
Elizabeth Fischer
85be3aefa7
Put url_for_version() after versions in example.
2016-08-24 15:26:19 -04:00
Tom Scogland
2b6833cb80
appeasing flake8, also cleaning up header
...
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-24 11:56:33 -07:00
Tom Scogland
73620fe868
avoid specifying --delim unless required
...
This increases portability of generated module files to versions of
environment_modules hearkening back to just after the turn of the
millennium.
2016-08-24 11:00:16 -07:00
citibeth
8a481e7e13
Added CMake-based Development case study to docuemntation.
2016-08-23 16:39:01 -04:00
Elizabeth F
86d39255ec
Explained url_for_version()
2016-08-23 16:39:01 -04:00
citibeth
2efd7a5e0b
Added note on use of 'less -R' for colorized output.
2016-08-23 16:36:02 -04:00
Adam J. Stewart
df623dad15
Suggest setuptools when creating Python package
2016-08-19 14:31:42 -05:00
Nicolas Richart
37faa41b6f
stripping the links to remove spaces and '\n'
2016-08-15 21:13:25 +02:00
Todd Gamblin
1e673bfa42
Don't assume spack is in the path when buildign docs.
2016-08-15 10:49:09 -07:00
Adam J. Stewart
c815aed207
Update documentation for spack md5
2016-08-12 10:51:56 -05:00
becker33
ec7f58bf96
Merge pull request #1493 from xjrc/bugfix/nonbool-variants
...
Bug Fix : Allow Packages to Have Variants w/ Non-Bool, Non-String Defaults
2016-08-11 11:33:54 -07:00
Matt Belhorn
568305ddff
Corrects Cray compiler name and adds missing version flag.
2016-08-11 13:56:21 -04:00
Todd Gamblin
867121ca68
Move jsonschema files out of config.py
to their own package.
2016-08-10 16:33:38 -07:00
Todd Gamblin
bf1072c902
Make Spack core PEP8 compliant.
2016-08-10 16:33:37 -07:00
Todd Gamblin
e7f4fd404d
Fix superclass constructor for SpackNamespace objects.
2016-08-10 15:54:13 -07:00
Joseph Ciurej
aa860bf4df
Fixed a bug that was making packages with non-bool default variants to crash.
2016-08-10 11:54:33 -07:00
George Hartzell
4bca1c5440
Fix typo 'flexbile' -> 'flexible'
2016-08-09 15:13:08 -07:00
Todd Gamblin
9d4a36a62f
Properly re-raise exceptions from lock context handler.
2016-08-09 02:25:09 -07:00
Todd Gamblin
0c75c13cc0
Flake8 fixes
2016-08-09 02:25:07 -07:00
Todd Gamblin
102ac7bcf1
Move provider cache to home directory and refactor Transactions
...
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-09 00:24:54 -07:00
Todd Gamblin
2042e9a6d8
Fix bugs with sparse spec printing.
...
- Make namespace, arch, and dependnecies show up in spec yaml
only if they're set.
- Lost some of this functionality with deptypes
2016-08-08 21:04:23 -07:00
Todd Gamblin
1339714eec
Restore text output in verbose mode.
2016-08-08 21:04:23 -07:00
Todd Gamblin
5d690c9270
Make compiler command test last until caching is fixed.
...
- global compiler cache breaks tests that come after this one.
2016-08-08 21:04:23 -07:00
Todd Gamblin
e5743db9b9
Fix issues with import order in tests.
...
- modules weren't set properly as attributes in parent modules
2016-08-08 21:04:23 -07:00
Todd Gamblin
d195576fba
WIP
2016-08-08 21:04:23 -07:00
Todd Gamblin
5e5024342f
Fix iterator invalidation issues.
2016-08-08 21:04:23 -07:00
Todd Gamblin
4de45c2684
fix scoping issue.
2016-08-08 21:04:23 -07:00
Todd Gamblin
ce6ac93abe
rename virtual
module to provider_index
2016-08-08 21:04:23 -07:00
Todd Gamblin
1f5a21decf
Fix namespace support in Repo.get_pkg_class()
2016-08-08 21:04:23 -07:00
Todd Gamblin
ab049eca41
Faster key in FlagMap._cmp_key
2016-08-08 21:04:23 -07:00
Todd Gamblin
37fc258313
Remove vestigial methods from Package.
2016-08-08 21:04:23 -07:00
Todd Gamblin
faa0a0e4c3
Add a ProviderIndex cache.
...
- 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-08 21:04:23 -07:00
Todd Gamblin
cf2f902b82
Make ProviderIndexes mergeable, so we can cache them per-repo.
2016-08-08 21:04:23 -07:00
Todd Gamblin
bf028990e7
Make ProviderIndex yaml-izable.
...
- allow a provider index to be stored and re-read.
2016-08-08 21:04:23 -07:00
Todd Gamblin
025609c63f
More compact YAML formatting for abstract specs.
...
- Don't add empty/absent fields to Spec YAML when they're not there.
2016-08-08 21:04:23 -07:00
Todd Gamblin
7aaad89ba9
Lazily evaluate all_package_names in repository.py
...
- 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-08 21:04:23 -07:00