Commit dcdc483
committed
WIP: setup-util: introduce shallow actions
- `has` is now `is-installed` for easier grok
- `setup-util` actions are now grouped into shallow and setup actions, which allows handling of things like the `invoke` action to not trigger `setup-util-*` actions etc; `setup-util-bash` is the larger receipient of these changers
- `setup_util` is now a auto-loading function inside `util.bash`
- consistent dependency and action arguments
- moving to before setup iotons for important actiosn to not conflict with transpose and invoke setup options
- mark dependencies in grouped installers like `setup-util-(devices|devel|docker|mediainfo|samba|trash|vscode|xcode)` to again not trigger invoke etc on dependencies
- fixed some situations where `setup-util` was used instead of `setup_util` and vice versa, such as `setup-util-gh`
- remove some unnecessary but helpful explicit returns - it should become a convention before reinjected - `setup-util-lsb-release`
- remove unncessary setup options for `get-installations` in `setup-util-vscode`, which would cause a conflict with overlapping actions
todos:
- need to figure out invoke for xcode
- need to do the new arg parsing
- need to merge get-app, get-font, and their options
- need to finish 201 status implementation to remove applicability functions1 parent 370a204 commit dcdc483
116 files changed
Lines changed: 583 additions & 569 deletions
File tree
- commands
- docs/bash
- sources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
1576 | | - | |
| 1576 | + | |
1577 | 1577 | | |
1578 | | - | |
| 1578 | + | |
1579 | 1579 | | |
1580 | 1580 | | |
1581 | 1581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
| 567 | + | |
566 | 568 | | |
567 | 569 | | |
568 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments