Carson Woods
4bb26802ed
Merge tag 'v0.15.0' into features/shared
2020-06-30 19:24:23 -05:00
Carson Woods
1965e1e606
Merge branch 'develop' into features/shared
2020-06-26 12:19:32 -04:00
Carson Woods
6ed3db6c14
Re-add testing code
2020-06-25 12:29:59 -04:00
Carson Woods
a8fbc96271
Add updated bash completion file
2020-06-24 16:00:19 -04:00
Carson Woods
d8956a3bbe
Merge branch 'develop' into features/shared
...
Conflicts:
share/spack/spack-completion.bash
2020-06-24 10:59:49 -06:00
Carson Woods
a807b95081
Merge branch 'develop' into features/shared
2020-06-23 11:37:54 -04:00
Carson Woods
1b608d6041
Merge branch 'develop' into features/shared
2020-04-20 11:02:54 -05:00
Carson Woods
be143d7dff
Merge branch 'develop' into features/shared
2020-04-06 13:49:46 -04:00
Carson Woods
05fe92e086
Merge branch 'develop' into features/shared
2020-03-09 23:23:37 +00:00
Carson Woods
cd54fb95b8
Fix for infinite recursion bug that stemmed from duplicate code existing
...
after an improper merge with develop
2020-02-25 12:18:03 -05:00
Carson Woods
8b63c4555c
Merge branch 'develop' into features/shared
2020-02-25 11:50:23 -05:00
Carson Woods
ec78160569
Update spack-completition.bash
2020-02-12 12:26:41 -05:00
Carson Woods
e1379f132d
Merge branch 'develop' into features/shared
2020-02-12 12:21:19 -05:00
Carson Woods
cdcd3dcedd
Merge branch 'develop' into features/shared
2020-01-27 15:28:28 -05:00
Carson Woods
7c1083916a
Fix bash completion script
2020-01-24 11:36:26 -05:00
Carson Woods
c07bbe1a25
Fix flake8 error
2020-01-24 11:00:08 -05:00
Carson Woods
85032c6224
Resolve merge conflicts with develop
2020-01-24 10:41:44 -05:00
Carson Woods
7b7898a69c
Merge branch 'develop' into features/shared
2020-01-21 18:55:21 -05:00
Carson Woods
84c5d76eae
Merge branch 'develop' into features/shared
2020-01-18 13:57:50 -08:00
Carson Woods
bcd47f0bd6
Merge branch 'develop' into features/shared
2020-01-17 14:32:47 -08:00
Carson Woods
cb6a959cdb
Merge branch 'develop' into features/shared
2020-01-15 14:41:14 -05:00
Carson Woods
32cd12bff7
Merge branch 'develop' into features/shared
2020-01-10 16:19:37 -08:00
Carson Woods
7021965159
Fix merge conflicts and repair broken unit test.
2020-01-09 20:12:39 -08:00
Carson Woods
5c5743ca33
Merge branch 'develop' into features/shared to support Spack 0.13.3
2019-12-26 21:00:09 -06:00
Carson Woods
034a7662ac
Merge branch 'develop' into features/shared
2019-11-21 12:52:24 -07:00
Carson Woods
e6b6ac5898
Fixed error message to use proper --upstream rather than -u
2019-11-21 12:30:15 -07:00
Carson Woods
35037bf088
Merge branch 'develop' into features/shared
2019-11-17 16:37:47 -07:00
Carson Woods
d14c245411
Merge branch 'develop' into features/shared
2019-11-10 22:05:20 -05:00
Carson Woods
6e2ad01f20
Fix flake8 formatting
2019-11-06 13:25:15 -05:00
Carson Woods
ef9b5a8f74
Fix unit test failing
2019-11-06 13:24:10 -05:00
Carson Woods
4921ed29d5
Fix a few broken unit tests
2019-11-06 09:56:22 -05:00
Carson Woods
f4c720e902
Ensure feature supports Spack version 0.13.0-0.13.1
2019-11-05 16:38:18 -05:00
Carson Woods
0a71b1d5ac
Merge branch 'develop' into features/shared
2019-10-31 21:29:33 -04:00
Carson Woods
3593a7be6a
Better comment the purpose of new unit tests
2019-09-20 19:05:56 -04:00
Carson Woods
e4d2cf4441
Fix flake8 error to avoid failing CI testing
2019-09-20 15:29:46 -04:00
Carson Woods
911e51bd89
Merge branch 'develop' into features/shared
...
Done to resolve merge conflicts that had arisen since work on this
feature completed.
2019-09-20 15:28:44 -04:00
Carson Woods
6ec8aea6f7
Rebase branch 'features/shared' of github.com:carsonwoods/spack against develop
2019-08-07 18:57:48 -06:00
Carson Woods
5b11f7aa4c
Fix bug where environments would ignore global path
2019-08-07 18:32:28 -06:00
Carson Woods
97e46981b9
Remove old doc from doc index
2019-08-07 18:32:28 -06:00
Carson Woods
873ac5e890
Remove old documentation for shared mode
2019-08-07 18:32:28 -06:00
Carson Woods
4d7dae5716
Remove old share command from tests
2019-08-07 18:32:28 -06:00
Carson Woods
b19f0fafcc
Remove outdate share command
2019-08-07 18:32:28 -06:00
Carson Woods
11b1bdd119
Pep8 Compliance Fix
2019-08-07 18:32:28 -06:00
Carson Woods
f749821dc2
Pep8 Compliance
2019-08-07 18:32:28 -06:00
Carson Woods
5abb20dcab
Rename test
2019-08-07 18:32:28 -06:00
Carson Woods
0c233bdd0f
Add test for validating upstream database initialization
2019-08-07 18:32:28 -06:00
Carson Woods
0f171c7ded
Replace space with = in command parameter
2019-08-07 18:32:28 -06:00
Carson Woods
b4c7520dd8
Flake8 Test Compliance
2019-08-07 18:32:28 -06:00
Carson Woods
9ab7d8f01d
Add config parameter for active upstream to set install location for modules
2019-08-07 18:32:28 -06:00
Carson Woods
a7ad344c2a
Add upstreams.yaml testing file so calls to upstreams['global] doesn't cause tests to fail
2019-08-07 18:32:28 -06:00
Carson Woods
deb2d3745c
Fix .spack-db/index.json not being created in global upstream if previously uninitialized
2019-08-07 18:32:28 -06:00
Carson Woods
ff96ec430b
Can now specify upstream of anyname through -u/--upstream flag
2019-08-07 18:32:28 -06:00
Carson Woods
d4a959736a
Flake8 Compliance Changes
2019-08-07 18:32:28 -06:00
Carson Woods
5ba51a0be0
--global option now works for both install and uninstall
2019-08-07 18:32:28 -06:00
Carson Woods
27e1140df7
Reset active directory after each global install
2019-08-07 18:32:28 -06:00
Carson Woods
7ab6af8a3b
Add scope to setting active tree to ensure that it is set at user level
2019-08-07 18:32:28 -06:00
Carson Woods
0e6e93eaac
Fix unit test config.yaml
2019-08-07 18:32:28 -06:00
Carson Woods
38f8bdd2bb
Home expansion was removed because it was no longer being used
2019-08-07 18:32:27 -06:00
Carson Woods
8e45a3fc2f
Fix flake8 compliance
2019-08-07 18:32:27 -06:00
Carson Woods
c22af99b04
Fix how upstream db paths are canonicalized
2019-08-07 18:32:27 -06:00
Carson Woods
fc3a909fbc
Set staging location to ~/.spack/var
2019-08-07 18:32:27 -06:00
Carson Woods
9665754eae
Fix default install tree
2019-08-07 18:32:27 -06:00
Carson Woods
0f9f9f3a85
Revise default var path
2019-08-07 18:32:27 -06:00
Carson Woods
777a5682a6
Fix default install location
2019-08-07 18:32:27 -06:00
Carson Woods
8994b4aab6
Fix flake8 compliance
2019-08-07 18:32:27 -06:00
Carson Woods
98ec366470
Set root of store object to active tree
2019-08-07 18:32:27 -06:00
Carson Woods
c61f4d7c82
Add logic to set the active install tree
2019-08-07 18:32:27 -06:00
Carson Woods
811b304230
Remove old code
2019-08-07 18:32:27 -06:00
Carson Woods
8f0c9ad409
Change name of global parameter to install_global
2019-08-07 18:32:27 -06:00
Carson Woods
6a423a5d8a
Typo fix
2019-08-07 18:32:27 -06:00
Carson Woods
23c37063bd
Add default global upstream of /opt/spack
2019-08-07 18:32:27 -06:00
Carson Woods
478f3a5a99
Fix whitespace issue
2019-08-07 18:32:27 -06:00
Carson Woods
02afb30990
Remove unit testing for shared spack mode
2019-08-07 18:32:27 -06:00
Carson Woods
06e3f15e47
Remove old shared spack code
2019-08-07 18:32:27 -06:00
Carson Woods
f13ce3540d
Add dest name of install_global to --global parameter
2019-08-07 18:32:27 -06:00
Carson Woods
7ae34087e3
Set remove old shared spack code
2019-08-07 18:32:27 -06:00
Carson Woods
f0fea97e88
Set source_cache to user's ~/.spack directory
2019-08-07 18:32:27 -06:00
Carson Woods
54893197ed
Set staging location to be based out of users .spack directory
2019-08-07 18:32:27 -06:00
Carson Woods
80da1d50d1
Make var_path point to ~/.spack/var/spack
2019-08-07 18:32:27 -06:00
Carson Woods
944c5d75cd
Add --global flag to install cmd to install to globally accessible location
2019-08-07 18:32:27 -06:00
Carson Woods
9ef4bc9d50
Add macro for expanding home directory
2019-08-07 18:32:27 -06:00
Carson Woods
a2af432833
Temporarily disable module file location overrride while feature is being implemented
2019-08-07 18:32:27 -06:00
Carson Woods
aefed311af
Change modulefiles install location
2019-08-07 18:32:27 -06:00
Carson Woods
6ffacddcf4
Change default install tree to user's ~/.spack directory
2019-08-07 18:32:27 -06:00
Carson Woods
e17824f82f
Remove shared mode set self as upstream
2019-08-07 18:32:27 -06:00
Carson Woods
57ca47f035
Remove testing for shared mode
2019-08-07 18:32:27 -06:00
Carson Woods
4532a56b4e
Remove shared disable from unit testing
2019-08-07 18:32:27 -06:00
Carson Woods
86e69a48a2
Fix flake8 error
2019-08-07 18:32:27 -06:00
Carson Woods
2508295d81
Fix error caused by SPACK_PATH environment variable not existing
2019-08-07 18:32:27 -06:00
Carson Woods
1a041c051a
Fix flake8 error
2019-08-07 18:32:27 -06:00
Carson Woods
2262ca2e67
Add test for install in shared mode
2019-08-07 18:32:27 -06:00
Carson Woods
2269771a91
Fix typo
2019-08-07 18:32:27 -06:00
Carson Woods
7f32574dd8
Fix shared cmd test file
2019-08-07 18:32:27 -06:00
Carson Woods
d15ac30f62
Add shared to toctree
2019-08-07 18:32:27 -06:00
Carson Woods
1f41347ab8
Share feature Unit testing
2019-08-07 18:32:27 -06:00
Carson Woods
1f4f01103b
Add command interface for share feature
2019-08-07 18:32:27 -06:00
Carson Woods
8f46fcb512
When running tests, disable shared mode because it will break other tests. Custom tests must be written
2019-08-07 18:32:27 -06:00
Carson Woods
2d3b973ebc
When shared mode is active store installed packages in SPACK_PATH
2019-08-07 18:32:27 -06:00
Carson Woods
7e62e0f27f
When shared mode is active set stage path to SPACK_PATH
2019-08-07 18:32:27 -06:00
Carson Woods
ea0db4c0f9
Prevent packages from being installed upstream
2019-08-07 18:32:27 -06:00
Carson Woods
0afc68e60b
Change module root path when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
8ad25d5013
Uninstall from SPACK_PATH when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
e90db68321
Install to SPACK_PATH when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
9e96b89f02
Add documentation for spack share command
2019-08-07 18:32:27 -06:00
Carson Woods
b4dae1b7fd
When shared mode is active, spack treats the normal install directory as an upstream
2019-08-07 18:32:27 -06:00
Carson Woods
9e9adf1d2f
When shared mode is active, set cache location to SPACK_PATH
2019-08-07 18:32:27 -06:00
Carson Woods
de9255247a
Fix bug where environments would ignore global path
2019-08-06 17:49:17 -06:00
Carson Woods
de5d3e3229
Remove old doc from doc index
2019-07-26 08:54:12 -06:00
Carson Woods
e621aafc77
Remove old documentation for shared mode
2019-07-25 16:40:00 -06:00
Carson Woods
c53427c98d
Remove old share command from tests
2019-07-25 14:22:43 -06:00
Carson Woods
7a75148d1b
Remove outdate share command
2019-07-25 13:32:44 -06:00
Carson Woods
4210520c9d
Pep8 Compliance Fix
2019-07-25 13:32:44 -06:00
Carson Woods
4f3fb50ae7
Pep8 Compliance
2019-07-25 13:32:44 -06:00
Carson Woods
7660659107
Rename test
2019-07-25 13:32:44 -06:00
Carson Woods
fcca2a518b
Add test for validating upstream database initialization
2019-07-25 13:32:44 -06:00
Carson Woods
23e1cd7775
Replace space with = in command parameter
2019-07-25 13:32:44 -06:00
Carson Woods
58e794e95a
Flake8 Test Compliance
2019-07-25 13:32:44 -06:00
Carson Woods
7ed59ed835
Add config parameter for active upstream to set install location for modules
2019-07-25 13:32:43 -06:00
Carson Woods
512726ae5b
Add upstreams.yaml testing file so calls to upstreams['global] doesn't cause tests to fail
2019-07-25 13:32:43 -06:00
Carson Woods
20851a6e6c
Fix .spack-db/index.json not being created in global upstream if previously uninitialized
2019-07-25 13:32:43 -06:00
Carson Woods
92bbbb9659
Can now specify upstream of anyname through -u/--upstream flag
2019-07-25 13:32:43 -06:00
Carson Woods
5f2f2bfb84
Flake8 Compliance Changes
2019-07-25 13:32:43 -06:00
Carson Woods
9b63f72d6b
--global option now works for both install and uninstall
2019-07-25 13:32:43 -06:00
Carson Woods
4c60f01bae
Reset active directory after each global install
2019-07-25 13:32:43 -06:00
Carson Woods
cd08308463
Add scope to setting active tree to ensure that it is set at user level
2019-07-25 13:32:43 -06:00
Carson Woods
fe69997043
Fix unit test config.yaml
2019-07-25 13:32:43 -06:00
Carson Woods
1584a6e3c6
Home expansion was removed because it was no longer being used
2019-07-25 13:32:43 -06:00
Carson Woods
c393880852
Fix flake8 compliance
2019-07-25 13:32:43 -06:00
Carson Woods
bbe9e6bf54
Fix how upstream db paths are canonicalized
2019-07-25 13:32:43 -06:00
Carson Woods
d7a00b71d4
Set staging location to ~/.spack/var
2019-07-25 13:32:43 -06:00
Carson Woods
6775d2546a
Fix default install tree
2019-07-25 13:32:43 -06:00
Carson Woods
8a154333f2
Revise default var path
2019-07-25 13:32:43 -06:00
Carson Woods
5e637a04fd
Fix default install location
2019-07-25 13:32:43 -06:00
Carson Woods
0213869439
Fix flake8 compliance
2019-07-25 13:32:43 -06:00
Carson Woods
22e9a9792a
Set root of store object to active tree
2019-07-25 13:32:43 -06:00
Carson Woods
4f23da9d26
Add logic to set the active install tree
2019-07-25 13:32:43 -06:00
Carson Woods
f9430e2fd4
Remove old code
2019-07-25 13:32:43 -06:00
Carson Woods
a2f86d5d18
Change name of global parameter to install_global
2019-07-25 13:32:43 -06:00
Carson Woods
0efab6637c
Typo fix
2019-07-25 13:32:43 -06:00
Carson Woods
2b11694b94
Add default global upstream of /opt/spack
2019-07-25 13:32:43 -06:00
Carson Woods
088798a727
Fix whitespace issue
2019-07-25 13:32:43 -06:00
Carson Woods
bddbb1c22e
Remove unit testing for shared spack mode
2019-07-25 13:32:42 -06:00
Carson Woods
92f447cf1c
Remove old shared spack code
2019-07-25 13:32:42 -06:00
Carson Woods
96f266c3e3
Add dest name of install_global to --global parameter
2019-07-25 13:32:42 -06:00
Carson Woods
d5093c20c5
Set remove old shared spack code
2019-07-25 13:32:42 -06:00
Carson Woods
2064241c37
Set source_cache to user's ~/.spack directory
2019-07-25 13:32:42 -06:00
Carson Woods
721742b764
Set staging location to be based out of users .spack directory
2019-07-25 13:32:42 -06:00
Carson Woods
c45bf153d8
Make var_path point to ~/.spack/var/spack
2019-07-25 13:32:42 -06:00
Carson Woods
b98e5e66e7
Add --global flag to install cmd to install to globally accessible location
2019-07-25 13:32:42 -06:00
Carson Woods
3d18bf345f
Add macro for expanding home directory
2019-07-25 13:32:42 -06:00
Carson Woods
f8e9cf4081
Temporarily disable module file location overrride while feature is being implemented
2019-07-25 13:32:42 -06:00
Carson Woods
98e0f8b89b
Change modulefiles install location
2019-07-25 13:32:42 -06:00
Carson Woods
263275b7ea
Change default install tree to user's ~/.spack directory
2019-07-25 13:32:42 -06:00
Carson Woods
3e13002d7f
Remove shared mode set self as upstream
2019-07-25 13:32:42 -06:00
Carson Woods
654e5cc924
Remove testing for shared mode
2019-07-25 13:32:42 -06:00
Carson Woods
04a72c1834
Remove shared disable from unit testing
2019-07-25 13:32:42 -06:00
Carson Woods
53cf6eb194
Fix flake8 error
2019-07-25 13:32:42 -06:00
Carson Woods
5a7f186176
Fix error caused by SPACK_PATH environment variable not existing
2019-07-25 13:32:42 -06:00
Carson Woods
987adfa9c9
Fix flake8 error
2019-07-25 13:32:42 -06:00
Carson Woods
e476bb1400
Add test for install in shared mode
2019-07-25 13:32:42 -06:00
Carson Woods
dc12233610
Fix typo
2019-07-25 13:32:42 -06:00
Carson Woods
29d21a0a5d
Fix shared cmd test file
2019-07-25 13:32:42 -06:00
Carson Woods
762f505da5
Add shared to toctree
2019-07-25 13:32:42 -06:00
Carson Woods
8e1c326174
Share feature Unit testing
2019-07-25 13:32:42 -06:00
Carson Woods
0bac5d527d
Add command interface for share feature
2019-07-25 13:32:42 -06:00
Carson Woods
79256eeb5c
When running tests, disable shared mode because it will break other tests. Custom tests must be written
2019-07-25 13:32:42 -06:00
Carson Woods
de760942f2
When shared mode is active store installed packages in SPACK_PATH
2019-07-25 13:32:41 -06:00
Carson Woods
860641bfab
When shared mode is active set stage path to SPACK_PATH
2019-07-25 13:32:41 -06:00
Carson Woods
673e55f14d
Prevent packages from being installed upstream
2019-07-25 13:32:41 -06:00
Carson Woods
54777a4f3e
Change module root path when shared mode is active
2019-07-25 13:32:41 -06:00
Carson Woods
db36e66592
Uninstall from SPACK_PATH when shared mode is active
2019-07-25 13:32:41 -06:00
Carson Woods
0d36e94407
Install to SPACK_PATH when shared mode is active
2019-07-25 13:32:41 -06:00
Carson Woods
92c3b5b8b2
Add documentation for spack share command
2019-07-25 13:32:41 -06:00
Carson Woods
71220a3656
When shared mode is active, spack treats the normal install directory as an upstream
2019-07-25 13:32:41 -06:00
Carson Woods
09bd29d816
When shared mode is active, set cache location to SPACK_PATH
2019-07-25 13:32:41 -06:00