Commit 41f2c7c
authored
Distribution extra spack cleanup (#640)
* Minor fixes
fix tests to be robust to non-breaking api changes.
Also, change binary asset check so it is not recursive.
This avoids an infinite loop in some environments.
* When bundling spack with a distribution don't include user files
The distribution command was including files specific to the user's spack environment
were getting bundled along with spack. This is becasue spack writes into its root
directory as it is being used. This creates a more exhaustive list of locations
to avoid copying along with spack and more agressively asserts they don't end up in
the final spack installation1 parent 9f49104 commit 41f2c7c
File tree
2 files changed
+52
-4
lines changed- manager/manager_cmds
- tests
2 files changed
+52
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
142 | | - | |
143 | | - | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| 211 | + | |
| 212 | + | |
208 | 213 | | |
209 | 214 | | |
210 | 215 | | |
| |||
413 | 418 | | |
414 | 419 | | |
415 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
416 | 430 | | |
417 | 431 | | |
418 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
129 | 157 | | |
130 | 158 | | |
131 | 159 | | |
| |||
453 | 481 | | |
454 | 482 | | |
455 | 483 | | |
456 | | - | |
| 484 | + | |
457 | 485 | | |
458 | 486 | | |
459 | 487 | | |
| |||
466 | 494 | | |
467 | 495 | | |
468 | 496 | | |
469 | | - | |
470 | 497 | | |
471 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
472 | 505 | | |
473 | 506 | | |
474 | 507 | | |
475 | 508 | | |
| 509 | + | |
476 | 510 | | |
477 | 511 | | |
478 | 512 | | |
| |||
0 commit comments