becker33
f59653ac2c
Merge pull request #1496 from LLNL/features/pep8-compliance
...
PEP8 compliance
2016-08-10 17:36:31 -07:00
Todd Gamblin
84e331c586
Remove unneeded noqa comments.
2016-08-10 16:33:39 -07:00
Todd Gamblin
db59f87e32
Update README.md for PEP8
2016-08-10 16:33:39 -07:00
Todd Gamblin
240f1fd223
Spack packages now PEP8 compliant.
2016-08-10 16:33:39 -07: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
8061deb883
Merge pull request #1495 from LLNL/bugfix/module-init-deprecation-gh1494
...
Fix superclass constructor args.
2016-08-10 16:12:23 -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
Erik Schnetter
158deae625
Update curl to 7.50.1
2016-08-10 13:51:57 -04:00
becker33
cfde03e694
Merge pull request #1485 from hartzell/patch-6
...
Fix typo 'flexbile' -> 'flexible'
2016-08-09 15:34:51 -07:00
George Hartzell
4bca1c5440
Fix typo 'flexbile' -> 'flexible'
2016-08-09 15:13:08 -07:00
Todd Gamblin
d380d16427
Merge pull request #1482 from mpbelhorn/olcf/do_not_use_ssl_to_fetch_upstream_openssl
...
Openssl package should not require openssl (https) to obtain source.
2016-08-09 13:22:31 -07:00
Matt Belhorn
2be065418b
Openssl package should not require openssl (https) to obtain source.
2016-08-09 15:57:07 -04:00
Todd Gamblin
a095fd517f
Merge pull request #1015 from LLNL/features/faster-virtuals
...
Faster virtuals and concretization
2016-08-09 10:33:40 -07:00
becker33
fb9f6fe9b5
Merge pull request #1473 from epfl-scitas/packages/plumed_dependents
...
plumed : added dependents (gromacs, cp2k)
2016-08-09 09:14:33 -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
alalazo
38dcd6bce9
qa : flake8 issues
2016-08-09 09:54:24 +02: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
alalazo
5362864cc9
plumed : fixed name clash on attribute
2016-08-09 09:24:36 +02:00
Massimiliano Culpo
15d9fb1879
plumed : adding dependents
...
* cp2k : added plumed
* gromacs : patched pme load balancing
* gromacs : added plumed
2016-08-09 09:23:53 +02: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
becker33
2b94d7cf8e
Merge pull request #1472 from adamjstewart/fixes/rstrip
...
Only strip newline chars, not spaces
2016-08-08 13:28:56 -07:00
Adam J. Stewart
5d48c108a3
Only strip newline chars, not spaces
2016-08-08 15:02:05 -05:00
becker33
3ea1325620
Merge pull request #1345 from hartzell/feature/add-perl-dependency-to-git
...
Add depends_on('perl'), depends_on('pcre') to git package
2016-08-08 09:44:50 -07:00
Todd Gamblin
dd30066feb
Merge pull request #1449 from hartzell/feature/add-package-for-prank
...
Add package for prank and supporting tools
2016-08-07 23:43:40 -07:00
Todd Gamblin
e65a8b6a9a
Merge pull request #1463 from davydden/pkg/opium
...
opium: add new package
2016-08-07 15:56:27 -07:00
Todd Gamblin
8121ac2c27
Merge pull request #1464 from hartzell/feature/update-lmod
...
No need to patch Lmod after 6.4.4
2016-08-07 15:55:16 -07:00
Todd Gamblin
93f5a750cb
Merge pull request #1465 from glennpj/pango_url
...
Add list_url to pango package
2016-08-07 15:55:04 -07:00
Todd Gamblin
281f6f18e1
Merge pull request #1466 from pramodk/develop
...
PDT should download full installer package
2016-08-07 15:54:50 -07:00
Denis Davydov
db87a9d3ce
tar: fix 1.28 on macOS; add 1.29 ( #1462 )
2016-08-07 15:54:01 -07:00
Adam J. Stewart
d7329d7bc2
Fix erroneously stripped trailing whitespace in patch ( #1467 )
2016-08-07 15:53:25 -07:00
Pramod Kumbhar
e9edfec0ec
PDT should download full installer package pdtoolkit-X.tar.gz (default pdt-X.tar.gz is only for x86 and cray)
2016-08-07 01:14:26 +02:00
Glenn Johnson
2ad21e7070
Add list_url to pango package
...
Added a `list_url` so the updated pango tar file can be retrieved.
2016-08-06 18:12:47 -05:00