| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(powershell): conform to single quotes (#1740) | Thomas Tan | 11 days | 1 | -1/+1 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | feat(npm): add `install_args` setting (#1581) | Amit Tamari | 11 days | 1 | -1/+2 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | fix(pypi): pass --no-user flag (#1958) | William Boman | 2025-05-19 | 1 | -0/+1 |
| | | | | Fixes #1937. | ||||
| * | refactor: turn StdioSink into a proper class | William Boman | 2025-02-19 | 10 | -34/+28 |
| | | |||||
| * | refactor!: change Package API | William Boman | 2025-02-19 | 3 | -3/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the following public APIs: **(_breaking_) Events on the `Package` class** The `uninstall:success` event on the `Package` class now receives an `InstallReceipt` as argument, instead of an `InstallHandle`. This receipt is an in-memory representation of what was uninstalled. There's also a new `uninstall:failed` event for situations where uninstallation for some reason fails. Note: this also applies to the registry events (i.e. `package:uninstall:success` and `package:uninstall:failed`). --- **(_breaking_) `Package:uninstall()` is now asynchronous and receives two new arguments, similarly to `Package:install()`** While package uninstallations remain synchronous under the hood, the public API has been changed from synchronous -> asynchronous. Users of this method are recommended to provide a callback in situations where code needs to execute after uninstallation fully completes. --- **(_breaking_) `Package:get_install_path()` has been removed. --- **`Package:install()` now takes an optional callback** This callback allows consumers to be informed whether installation was successful or not without having to go through a different, low-level, API. See below for a comparison between the old and new APIs: ```lua -- before local handle = pkg:install() handle:once("closed", function () -- ... end) -- after pkg:install({}, function (success, result) -- ... end) ``` | ||||
| * | fix(pypi): remove -U flag and fix log message | William Boman | 2025-02-19 | 1 | -2/+1 |
| | | |||||
| * | refactor!: remove old managers (#1497) | William Boman | 2025-02-16 | 4 | -2/+54 |
| | | |||||
| * | fix(pypi): prefer stock python3 if it satisfies version requirement (#1736) | Inhyuk Cho | 2024-07-09 | 1 | -2/+4 |
| | | |||||
| * | fix(pypi): allow access to system site packages by default (#1584) | Silico_Biomancer | 2024-07-07 | 1 | -1/+2 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | feat(pypi): improve resolving suitable python version (#1725) | William Boman | 2024-06-01 | 1 | -16/+70 |
| | | |||||
| * | fix(pypi): exclude python3.12 from candidate list (#1722) | William Boman | 2024-05-31 | 1 | -1/+0 |
| | | | | Support for python3.12 among pypi packages is pretty poor, this limits the upper bound to python3.11 instead. | ||||
| * | fix(pypi): fix variable shadowing (#1610) | William Boman | 2024-01-29 | 1 | -1/+3 |
| | | |||||
| * | feat(pypi): attempt more python3 candidates (#1608) | William Boman | 2024-01-25 | 1 | -12/+59 |
| | | |||||
| * | feat: don't use vim.g.python3_host_prog as a candidate for python (#1606) | William Boman | 2024-01-21 | 1 | -7/+1 |
| | | | | | This is inconsistent with how other system dependencies are resolved and is not documented anywhere. | ||||
| * | feat: add support for openvsx sources (#1589) | William Boman | 2024-01-06 | 2 | -48/+126 |
| | | |||||
| * | fix(pypi): support MSYS2 virtual environments on Windows (#1547) | William Boman | 2023-11-08 | 1 | -17/+26 |
| | | |||||
| * | fix(std): use gtar if available (#1433) | 3uryd1ce | 2023-08-19 | 1 | -1/+4 |
| | | | | Closes #1415. | ||||
| * | feat(installer): write more installation output to stdout (#1376) | William Boman | 2023-06-28 | 10 | -4/+17 |
| | | | | This should give better insights into the installation progress. | ||||
| * | chore(ci): upgrade linter versions (#1377) | William Boman | 2023-06-28 | 1 | -10/+16 |
| | | |||||
| * | feat(installer): add generic build provider (#1228) | William Boman | 2023-04-18 | 1 | -0/+48 |
| | | |||||
| * | fix(std): manually call zstd on Windows (#1212) | William Boman | 2023-04-14 | 1 | -1/+20 |
| | | | | Closes #1207. | ||||
| * | refactor(std): quiet git checkout (#1186) | William Boman | 2023-04-06 | 1 | -1/+1 |
| | | |||||
| * | fix(npm): set install-strategy on npm >= 9 (#1179) | William Boman | 2023-04-04 | 1 | -2/+22 |
| | | | | Closes #1175. | ||||
| * | refactor: only schedule in a.scheduler() when in fast event (#1170) | William Boman | 2023-04-02 | 1 | -3/+1 |
| | | | | Explicitly schedule via `a.wait(vim.schedule)` instead. | ||||
| * | style: enforce import order (#1092) | William Boman | 2023-03-12 | 8 | -12/+12 |
| | | | | | | * chore(workflows): update dependencies * style: enforce import order | ||||
| * | feat: add github registry source capabilities (#1091) | William Boman | 2023-03-12 | 10 | -0/+732 |
