aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/registry/expr.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: refactor installer internals and add new Package class methods ↵William Boman2025-02-191-110/+0
| | | | | | | | | | | | | | | | | | | (#1523) This contains the following changes: 1) `Package:install()` now accepts a second, optional, callback argument which is called when installation finishes (successfully or not). 2) Adds a `Package:is_installing()` method. This contains the following breaking changes: 1) `Package:install()` will now error when called while an installation is already ongoing. Use the new `Package:is_installing()` method to check whether an installation is already running. This also refactors large portions of the tests by removing test globals, removing async_test, and adding the `mason-test` Lua module instead. Test helpers via globals are problematic to work with due to not being detected through tools like the Lua language server without additional configuration. This has been replaced with a Lua module `mason-test`. `async_test` has also been removed in favour of explicitly making use of the `mason-core.async` API. These changes stands for a significant portion of the diff.
* feat(linker): add ruby exec wrapper delegate (#1260)William Boman2023-04-261-0/+4
|
* fix(expr): fix strip_{prefix,suffix} (#1249)William Boman2023-04-221-2/+2
|
* feat(installer): add generic build provider (#1228)William Boman2023-04-181-2/+8
|
* refactor(expr): remove redundant core filters and always stringify reduced ↵William Boman2023-04-181-10/+22
| | | | | value (#1227) The removed filters are not used by mason-registry and are too Lua-specific in nature.
* style: enforce import order (#1092)William Boman2023-03-121-1/+1
| | | | | * chore(workflows): update dependencies * style: enforce import order
* refactor(expr): better handling of nil values (#1056)William Boman2023-03-051-16/+10
|
* refactor(expr): rename to interpolate (#836)William Boman2023-01-021-14/+14
|
* feat(expr): add tbl_interpolate() (#805)William Boman2022-12-261-7/+24
|
* feat(functional): add strip_{prefix,suffix} (#803)William Boman2022-12-261-0/+3
|
* feat(expr): use same context for value & filter evaluation (#778)William Boman2022-12-201-4/+34
|
* feat: add expr module (#775)William Boman2022-12-201-0/+44
This is (soon) to be used when installing package definitions from https://github.com/mason-org/mason-registry/. See for example: https://github.com/mason-org/mason-registry/blob/7df69dd2a73efc3a08520552ca64597d1db5f4fb/packages/go-debug-adapter/package.yaml#L16