aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-registry
Commit message (Collapse)AuthorAgeFilesLines
* fix(registry): ensure there's no duplicate registry entries (#1957)William Boman2025-05-191-0/+21
|
* tests: fix flaky test (#1924)William Boman2025-05-061-0/+4
|
* refactor(registry): change lua registries to not instantiate Package themselvesWilliam Boman2025-05-021-17/+10
| | | | | | | | Instead of having Lua registries instantiate package instances themselves we now do it in the installer of Lua registry sources. This aligns the behaviour of the Lua registry protocol with the other registry protocols.
* feat(ui): display current version in headerWilliam Boman2025-04-211-2/+2
|
* fix(registry): fix registry.is_installed()William Boman2025-03-241-0/+8
|
* refactor: standardize constructors and improve inheritance constructionWilliam Boman2025-02-191-5/+5
|
* refactor!: refactor installer internals and add new Package class methods ↵William Boman2025-02-191-0/+10
| | | | | | | | | | | | | | | | | | | (#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(registry): add .get_all_package_specs() (#1247)William Boman2023-04-221-0/+4
| | | | This is a faster method than .get_all_packages() due to the fact that it only loads package specifications without instantiating mason-core.package instances. Useful for situations where one only needs to read spec data.
* style: enforce import order (#1092)William Boman2023-03-121-2/+2
| | | | | * chore(workflows): update dependencies * style: enforce import order
* tests: add LuaRegistrySource spec (#1027)William Boman2023-02-231-0/+50
|
* feat(providers): add more endpoints (#1013)William Boman2023-02-191-0/+4
|
* refactor(api): %s,\v(api/)repo,\1github (#981)William Boman2023-02-111-2/+2
|
* feat(registry): add has_package() method (#847)William Boman2023-01-041-0/+20
|
* feat(api): add typed client interface (#556)William Boman2022-10-141-0/+11
|
* feat(fetch): add Accept headers where appropriate (#554)William Boman2022-10-141-1/+5
|
* feat(registry): add api module (#524)William Boman2022-10-081-0/+37