<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-core/installer/context.lua, branch v1.5.1</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/context.lua?h=v1.5.1</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/context.lua?h=v1.5.1'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2023-06-28T20:00:41Z</updated>
<entry>
<title>fix(linker): ensure exec wrapper target is executable (#1380)</title>
<updated>2023-06-28T20:00:41Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-06-28T20:00:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=10da1a33b4ac24ad4d76a9af91871720ac6b65e4'/>
<id>urn:sha1:10da1a33b4ac24ad4d76a9af91871720ac6b65e4</id>
<content type='text'>
Fixes #1368.</content>
</entry>
<entry>
<title>fix(context): don't write exec wrapper file if it already exists (#1261)</title>
<updated>2023-04-26T16:23:34Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-26T16:23:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=e5bcda8ffb4668d484c1d08d6b5fbe12f330c727'/>
<id>urn:sha1:e5bcda8ffb4668d484c1d08d6b5fbe12f330c727</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(linker): add ruby exec wrapper delegate (#1260)</title>
<updated>2023-04-26T15:58:27Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-26T15:58:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=1cb07e4d7bba61a5da9502bb2a6a1d1ff278d5fe'/>
<id>urn:sha1:1cb07e4d7bba61a5da9502bb2a6a1d1ff278d5fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style: enforce import order (#1092)</title>
<updated>2023-03-12T08:26:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T08:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=698cd0c4f10480991e665f31977650858d625af1'/>
<id>urn:sha1:698cd0c4f10480991e665f31977650858d625af1</id>
<content type='text'>
* chore(workflows): update dependencies

* style: enforce import order</content>
</entry>
<entry>
<title>feat: add github registry source capabilities (#1091)</title>
<updated>2023-03-12T07:21:15Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T07:21:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=a01d02ad7f680aec98a1e2ec35b04cedd307cfa8'/>
<id>urn:sha1:a01d02ad7f680aec98a1e2ec35b04cedd307cfa8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: fix writing pyvenv module wrapper (#1073)</title>
<updated>2023-03-06T16:53:57Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-06T16:53:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=3ee3174e30e33c9d58fa07b0a73a6e180474b59c'/>
<id>urn:sha1:3ee3174e30e33c9d58fa07b0a73a6e180474b59c</id>
<content type='text'>
Closes #1071.</content>
</entry>
<entry>
<title>feat(InstallContext): add strict_mode flag (#1055)</title>
<updated>2023-03-05T01:33:57Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-05T01:33:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=c1dbd9824ceb03f2e378cc5b732cd11ba0e4c991'/>
<id>urn:sha1:c1dbd9824ceb03f2e378cc5b732cd11ba0e4c991</id>
<content type='text'>
Also add some more ctx.fs methods.</content>
</entry>
<entry>
<title>refactor: simplify linker &amp; receipt writing (#1033)</title>
<updated>2023-02-26T06:57:42Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-02-26T06:57:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2e83e412d877a7e6daf04b2b6359521f6fb8c20e'/>
<id>urn:sha1:2e83e412d877a7e6daf04b2b6359521f6fb8c20e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(installer): add share links (#965)</title>
<updated>2023-02-17T19:08:45Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-02-17T19:08:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=f3d90e3b7580a2d1b47a1f9b905808e22a7fac87'/>
<id>urn:sha1:f3d90e3b7580a2d1b47a1f9b905808e22a7fac87</id>
<content type='text'>
* feat(installer): add share links

Adds the ability to symlink share files to ~/.local/share/nvim/mason/share (default location). This is currently not
used by any packages but will be soon (e.g. linking .jar files to a canonical location on the fs).

This also includes the following changes:
- fix(windows): correctly unlink executables

  Prior to this change, executables on Windows would not be removed when uninstalling a package.

- refactor(installer): use Result interfaces

  The motivation behind this is to move away from exceptions and pcalls to leverage the Result interface.
  This allows for better error messaging during installation, as well as improved composability of actions that may
  or may not fail.

- refactor(bin): use absolute paths in exec wrapper scripts
  While relative paths are preferred and will end up returning in the future, they i) cannot be guaranteed for all
  packages, and ii) is somewhat complicated to produce due to lack of std APIs.

  Moving the entire Mason installation directory was never officially supported anyway.

- feat(installer): add "force" flag
  When this flag is true, any existing executables or share files will be overridden if they exist (i.e. mangle another
  package installation).

* refactor(result): always return Result objects in Result.try

The rationale here used to be that exceptions in Result.try() blocks were treated truly as exceptions that should
interrupt code execution per Lua's traditional error handling semantics. However, Lua code is somewhat prone to raise
exceptions when you don't expect it to (especially when interacting with loosely documented external APIs). Combine this
with the fact that code that invokes Result.try() blocks generally doesn't `pcall` and only relies on the Result API to
handle errors, you end up with code that only gracefully handles one class of errors (the well-known ones).

* test(terminator): sleep in tests to avoid race condition

I've no idea why this doesn't pass in CI, works just fine locally.</content>
</entry>
<entry>
<title>refactor(installer): introduce PackageInstallOpts class (#802)</title>
<updated>2022-12-26T15:35:10Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-26T15:35:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=6ee823248f5fc433018ee800c22eef642e375bd1'/>
<id>urn:sha1:6ee823248f5fc433018ee800c22eef642e375bd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(registry): add smithy-language-server (#795)</title>
<updated>2022-12-24T01:57:53Z</updated>
<author>
<name>Nick Rodgers</name>
<email>nick.rodgers42@gmail.com</email>
</author>
<published>2022-12-24T01:57:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=e5e7d716a0c7db1dbb72cd5bfcbe59de43c759cb'/>
<id>urn:sha1:e5e7d716a0c7db1dbb72cd5bfcbe59de43c759cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(api/command): add --debug flag to :MasonInstall (#576)</title>
<updated>2022-10-19T12:41:42Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-10-19T12:41:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=38c3c7f68c0cd442f4faf46569d83c5b8a610c97'/>
<id>urn:sha1:38c3c7f68c0cd442f4faf46569d83c5b8a610c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more competent platform detection (#436)</title>
<updated>2022-09-17T20:35:38Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-09-17T20:35:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=d7eb2eeec566da6cfd1c61b1d7aa6fc592d1b296'/>
<id>urn:sha1:d7eb2eeec566da6cfd1c61b1d7aa6fc592d1b296</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: store link state in install context object (#419)</title>
<updated>2022-09-14T15:58:11Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-09-14T15:58:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=d39e46db31c9b2eee458ca59a814ebc4fe8a5bd5'/>
<id>urn:sha1:d39e46db31c9b2eee458ca59a814ebc4fe8a5bd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: add ctx:write_php_exec_wrapper utility (#409)</title>
<updated>2022-09-12T14:10:09Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-09-12T14:10:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=b56ea0bd8b6b1c265752226666f1069d0a479438'/>
<id>urn:sha1:b56ea0bd8b6b1c265752226666f1069d0a479438</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(installer): use /usr/bin/env bash shebang (#315)</title>
<updated>2022-08-19T15:58:43Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-19T15:58:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=5dbb22a9a44b97f0e7e36e4d0138d9633a338f2e'/>
<id>urn:sha1:5dbb22a9a44b97f0e7e36e4d0138d9633a338f2e</id>
<content type='text'>
Fixes #308.</content>
</entry>
<entry>
<title>test(installer): add spec files for context and linker (#314)</title>
<updated>2022-08-19T15:56:39Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-19T15:56:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=198b5d69e6fc34dfe0de038fab1859617608b2d6'/>
<id>urn:sha1:198b5d69e6fc34dfe0de038fab1859617608b2d6</id>
<content type='text'>
* feat(installer): don't write exec wrappers for targets that don't exist

Just a precaution to avoid writing broken executables.

* test(installer): add spec files for context and linker</content>
</entry>
<entry>
<title>refactor: introduce selene, harden type defs, and use proper EmmyLua syntax (#296)</title>
<updated>2022-08-15T19:03:06Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-15T19:03:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=3c62386a396ae0c1cd7adbaacc379eb4af072a65'/>
<id>urn:sha1:3c62386a396ae0c1cd7adbaacc379eb4af072a65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(julia-lsp): adjust for changes in latest release (#289)</title>
<updated>2022-08-13T12:35:12Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-13T12:35:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=cb7bdcd2d5a71ffb12127d60bcaad5ba39ab741b'/>
<id>urn:sha1:cb7bdcd2d5a71ffb12127d60bcaad5ba39ab741b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(debugpy): write executable for convenient access (#229)</title>
<updated>2022-08-02T16:35:40Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-02T16:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=546d81893bd3d8c3c817bd9c3ec26a0760215500'/>
<id>urn:sha1:546d81893bd3d8c3c817bd9c3ec26a0760215500</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(gem): write shim executables that enhance GEM_PATH appropriately (#202)</title>
<updated>2022-07-30T22:45:17Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-30T22:45:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=116a825929fa3066f32afc77f7459630419bc347'/>
<id>urn:sha1:116a825929fa3066f32afc77f7459630419bc347</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: change emmylua annotation syntax from @ to : for comments (#73)</title>
<updated>2022-07-14T15:27:12Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-14T15:27:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=63de62cd0b0b53c5946d67ee2a3c2dac16379707'/>
<id>urn:sha1:63de62cd0b0b53c5946d67ee2a3c2dac16379707</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add some InstallHandle tests (#67)</title>
<updated>2022-07-13T14:21:16Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-13T14:21:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=fa78d7cf0445083243cdd8feee4923f99d984e30'/>
<id>urn:sha1:fa78d7cf0445083243cdd8feee4923f99d984e30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: add mason-schemas and mason-core modules (#29)</title>
<updated>2022-07-08T16:34:38Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-08T16:34:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=976aa4fbee8a070f362cab6f6ec84e9251a90cf9'/>
<id>urn:sha1:976aa4fbee8a070f362cab6f6ec84e9251a90cf9</id>
<content type='text'>
* refactor: add mason-schemas and move generated filetype map to mason-lspconfig

* refactor: add mason-core module</content>
</entry>
</feed>
