<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-core/installer/init.lua, branch v1.8.1</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/init.lua?h=v1.8.1</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/installer/init.lua?h=v1.8.1'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2023-05-18T15:06:38Z</updated>
<entry>
<title>feat(installer): lock package installation (#1290)</title>
<updated>2023-05-18T15:06:38Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-05-18T15:06:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=227f8a9aaae495f481c768f8346edfceaf6d2951'/>
<id>urn:sha1:227f8a9aaae495f481c768f8346edfceaf6d2951</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: log entire opts table (#1149)</title>
<updated>2023-03-29T08:40:16Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-29T08:40:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=b3db9cb08a1c2cb889369c22d688a0343a4c3431'/>
<id>urn:sha1:b3db9cb08a1c2cb889369c22d688a0343a4c3431</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>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): write debug log file after installation finishes (#806)</title>
<updated>2022-12-26T16:24:39Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-26T16:24:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=5f6a3a30f40721bed47cc288c5516c8b2790103e'/>
<id>urn:sha1:5f6a3a30f40721bed47cc288c5516c8b2790103e</id>
<content type='text'>
</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>refactor(installer): rename run_installer to exec_in_context (#744)</title>
<updated>2022-12-08T01:20:42Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-08T01:20:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=d97579ccd5689f9c6c365e841ea99c27954112ec'/>
<id>urn:sha1:d97579ccd5689f9c6c365e841ea99c27954112ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(installer): write mason-debug.log in debug mode (#577)</title>
<updated>2022-10-19T12:56:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-10-19T12:56:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=9a2f83f46cf498b3532afb05213dcc54de8d243a'/>
<id>urn:sha1:9a2f83f46cf498b3532afb05213dcc54de8d243a</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>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>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>
