aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core
Commit message (Collapse)AuthorAgeFilesLines
* chore: decrease log level (#1467)William Boman2023-08-251-1/+1
|
* fix(std): use gtar if available (#1433)3uryd1ce2023-08-191-1/+4
| | | Closes #1415.
* feat(cargo): support fetching versions for git crates hosted on github (#1459)William Boman2023-08-191-0/+14
|
* chore(async): add Channel (#1456)William Boman2023-08-171-2/+60
|
* chore(logging): fix log string (#1444)William Boman2023-08-091-1/+1
|
* fix(installer): retain unmapped source fields (#1399)William Boman2023-07-211-2/+1
| | | Fixes #1398.
* feat(ui): display package deprecation message (#1391)William Boman2023-07-041-0/+5
|
* fix(purl): percent-encoding is case insensitive (#1382)William Boman2023-06-291-1/+7
|
* fix(linker): ensure exec wrapper target is executable (#1380)William Boman2023-06-282-19/+21
| | | Fixes #1368.
* feat(installer): write more installation output to stdout (#1376)William Boman2023-06-2812-5/+20
| | | This should give better insights into the installation progress.
* chore(ci): upgrade linter versions (#1377)William Boman2023-06-281-10/+16
|
* fix(installer): timeout schema download after 5s (#1374)William Boman2023-06-281-1/+10
| | | Closes #1361.
* feat(fetch): add explicit default timeout to requests (#1364)William Boman2023-06-221-2/+8
|
* feat(fetch): include mason.nvim version in User-Agent (#1362)William Boman2023-06-211-1/+2
|
* refactor(installer): hoist version validation to the compiled installation ↵William Boman2023-06-179-54/+22
| | | | entrypoint (#1357)
* feat(command): improve completion for :MasonInstall (#1353)William Boman2023-06-1313-6/+101
| | | | Now also supports completing versions if completion is triggered when specifying a version, e.g. "rust-analyzer@".
* fix(functional): strip_prefix and strip_suffix should not use patterns (#1352)William Boman2023-06-131-8/+14
|
* fix(async): always check channel state (#1351)William Boman2023-06-131-6/+7
|
* feat(installer): lock package installation (#1290)William Boman2023-05-182-43/+78
|
* feat(ui): add search mode (#1306)William Boman2023-05-172-0/+26
|
* chore(Optional): add :and_then() (#1270)William Boman2023-04-281-0/+10
|
* fix(pypi): also provide install_extra_args to pypi.install (#1263)William Boman2023-04-261-0/+1
| | | Closes #1224.
* fix(context): don't write exec wrapper file if it already exists (#1261)William Boman2023-04-261-0/+3
|
* feat(linker): add ruby exec wrapper delegate (#1260)William Boman2023-04-263-3/+26
|
* refactor(linker): copy_file instead of rename on Windows (#1254)William Boman2023-04-232-4/+12
| | | | | | | | Renaming the file will move it from its original installation directory. While reaching into package installation directories is unsupported and not recommended, it seems to be done pretty broadly. In order to avoid unnecessarily breaking people's configs we copy the file instead, for now. (tip: use the stable locations inside $MASON/share $MASON/opt $MASON/bin, if a package is missing a link please open an issue/PR). This will be reversed back to use uv_fs_rename() in 1.x.x.
* fix(linker): don't symlink on Windows (#1253)William Boman2023-04-231-15/+25
| | | | | | | | | | | | | | | | | 1) FAT (FAT32, exFAT, etc.) file systems doesn't support symlinks. 2) You need administrator access in order to create symlinks. This was working for me locally because I'm running a NTFS fs with "Developer Mode" enabled in Windows 10, which bypasses administrator requirement for mklink. Instead we uv_fs_rename() links. This should effectively be the same, but will require special handling down the road if/when for example multiple package versions can be installed at the same time. When unlinking a package the renamed files should me moved back into the package installation directory, instead of simply being unlinked (i.e. removed). Closes #1251.
* fix(expr): fix strip_{prefix,suffix} (#1249)William Boman2023-04-221-2/+2
|
* refactor(schemas): don't vendor schemas in mason.nvim (#1248)William Boman2023-04-224-8/+92
| | | | | Instead, schemas are now defined in the package registry and downloaded during installation. See https://github.com/mason-org/mason-registry/pull/1319.
* feat(installer): add generic build provider (#1228)William Boman2023-04-189-44/+163
|
* refactor(expr): remove redundant core filters and always stringify reduced ↵William Boman2023-04-183-10/+27
| | | | | value (#1227) The removed filters are not used by mason-registry and are too Lua-specific in nature.
* refactor: refactor github provider to smaller modules (#1223)William Boman2023-04-164-209/+221
|
* refactor(health): split up checks (#1221)William Boman2023-04-161-1/+1
|
* feat(github): add $MASON_VERSION to build context (#1218)William Boman2023-04-162-7/+15
|
* fix(std): manually call zstd on Windows (#1212)William Boman2023-04-141-1/+20
| | | Closes #1207.
* fix(github): use evaluated out_file as asset file value (#1208)William Boman2023-04-121-14/+38
| | | | | | | | | | | | | | | | | This makes it so that after parsing the source, the `{{source.asset.file}}` context value points to the downloaded file, rather than the raw value. This is helpful for source definitions such as: ```yaml source: id: pkg:github/mrjosh/helm-ls@v0.0.3 asset: - target: win_x64 file: helm_ls_windows_amd64:helm_ls_windows_amd64.exe # … bin: # This now evaluates to "helm_ls_windows_amd64.exe" rather than "helm_ls_windows_amd64:helm_ls_windows_amd64.exe". helm_ls: "{{source.asset.file}}" ```
* fix(powershell): close stdin (#1197)William Boman2023-04-081-0/+4
|
* refactor(log): dont print to console when headless by default (#1193)William Boman2023-04-081-2/+1
| | | Set MASON_VERBOSE_LOGS=1 to print logs (note, these are still always written to :MasonLog).
* refactor(async): increase wait time (#1192)William Boman2023-04-081-6/+3
| | | Still somewhat arbitrary, but high enough to not cause issues such as timing out CI jobs.
* refactor(std): quiet git checkout (#1186)William Boman2023-04-061-1/+1
|
* feat(registry): add ability to register package aliases (#1146)elky2023-04-051-0/+4
|
* fix(github): fall back to curl/wget if gh is not available (#1181)William Boman2023-04-052-43/+23
|
* fix(npm): set install-strategy on npm >= 9 (#1179)William Boman2023-04-042-4/+29
| | | Closes #1175.
* test(async): add tests for control mechanisms (#1176)William Boman2023-04-031-0/+1
|
* fix(package): schedule callback that can only run in main loop (#1172)William Boman2023-04-031-2/+2
|
* refactor: only schedule in a.scheduler() when in fast event (#1170)William Boman2023-04-0213-42/+38
| | | Explicitly schedule via `a.wait(vim.schedule)` instead.
* fix(registry): use oneshot channel for updating registry (#1168)William Boman2023-04-022-47/+45
|
* fix(async): early return if no suspend functions (#1165)William Boman2023-04-011-0/+3
|
* chore: log entire opts table (#1149)William Boman2023-03-291-1/+1
|
* feat: add registry.refresh() method (#1096)William Boman2023-03-142-2/+3
|
* fix(sources): also set .desc property when updating spec (#1095)William Boman2023-03-141-2/+0
|