Commit graph

147 commits

Author SHA1 Message Date
e90fc8b617
chore(pkg): use new index url 2025-01-22 11:55:28 +05:30
ae414680ca
chore(CHANGELOG): update entries 2025-01-21 22:56:07 +05:30
1ae6570d8a
refactor(lib): update installation lock related comments 2025-01-21 22:46:09 +05:30
aef778883e
feat(lib): use structured lock file with metadata
This allows for us to know whether a lock file is too old and hence
invalid, and perform a sanity check to ensure that the resource it is
meant to be protecting is the resource we are trying to access.
2025-01-21 22:39:07 +05:30
57605e87b8
refactor(lib): use declared tool dir and use assert to handle nil 2025-01-21 22:19:56 +05:30
8cea7bef8a
fix(lib): fix directory checking condition for tool dir creation 2025-01-21 22:18:42 +05:30
3757ee3583
fix(lib): make installation lock be tool scoped
Instead of having a global installation lock be held in the tool storage
dir, it is now held on a per-tool basis within the tool's directory.
2025-01-21 22:15:56 +05:30
8c6cb1053b
chore(CHANGELOG): update entries 2025-01-21 16:35:20 +05:30
295023129f
fix(lib): hold on-disk lock for installation attempts
* Fixes an issue to do with multiple installation attempts trying
  to access the same resources concurrently, causing installation
  errors
* Made conditional progress bar a shared state among `__call` metamethod
  shorthand and `installTool`, in order to prevent constructing it in
  two different places
2025-01-21 16:29:09 +05:30
3a5ba527cf
chore(lib): prepare for v0.1.9 2025-01-16 08:52:35 +00:00
e6faf6c4d9
chore(CHANGELOG): update entries 2025-01-16 08:50:56 +00:00
14860284da
fix(lib): windows PE format detection offset being a u32 2025-01-16 08:48:48 +00:00
f4f05b8264
fix(lib): TypeError in extractEntry function for zip 2025-01-16 08:48:03 +00:00
4da1e25967
chore(lib): prepare for v0.1.8 2025-01-16 07:48:34 +00:00
86f40d601b
chore(CHANGELOG): update entries 2025-01-16 07:44:56 +00:00
2d50daa2c6
chore(bins): bump blink to v0.15.2 2025-01-16 07:42:09 +00:00
Luka
3e1876ad43
feat(lib): switch to luau-unzip (#3)
* chore(bins): bump `asphalt` to v0.8.4

* chore(bins): bump `selene` to v0.28.0

* feat(lib): use luau-unzip

* chore(CHANGELOG): add luau-unzip

* chore: switch back to CRLF

* fix(lib): extracting wrong binary

* refactor(lib): use extractEntry function

* refactor(lib): make checks explicit and add comments to zip decompressor

* chore(lib): remove unused exec util

* chore(CHANGELOG): remove trailing full-stop

---------

Co-authored-by: Erica Marigold <hi@devcomp.xyz>
2025-01-16 13:08:06 +05:30
e194995f29
chore(CHANGELOG): update support tool entries 2025-01-12 18:32:50 +00:00
a33fa76f8b
chore(bins): bump luau-lsp to v1.38.1 2025-01-12 18:31:35 +00:00
7236d5e701
chore: update lockfile 2024-12-29 11:24:45 +00:00
3f9bcc2fff
chore(CHANGELOG): update entry for v0.1.7 2024-12-29 11:22:31 +00:00
09bf30d751
chore(CHANGELOG): fix pesde/luau-lsp version being wrong 2024-12-29 11:21:50 +00:00
29857272e0
chore(bins): bump luau-lsp to v1.38.0 2024-12-29 11:20:08 +00:00
08a45703da
chore: update lockfiles 2024-12-28 09:22:53 +00:00
05193b9133
chore(CHANGELOG): update changelog entries 2024-12-28 14:51:55 +05:30
26280ed820
chore(lib): prepare for v0.1.7 2024-12-28 09:21:20 +00:00
edb0a3be2a
chore(bins): bump asphalt to v0.8.3 2024-12-28 09:16:45 +00:00
472813b41b
style: apply stylua formatter 2024-12-25 16:11:05 +00:00
269c05cbb4
chore(CHANGELOG): update changelog 2024-12-25 16:00:25 +00:00
ed8d5594b9
fix(lib): unhandled error when no gh CLI present
We did not correctly handle the case if the `gh` CLI was not present,
since `process.spawn` errors. We now wrap it in a `Result.try` and
handle that as required.
2024-12-25 15:56:39 +00:00
aba182cea5
fix(lib): handle result conditionally too
Previously, we were calling `:unwrap` while trying to increment the
progress bar even if we were not in an interactive environment. This
fixes that.
2024-12-25 15:48:50 +00:00
35fb2df3a4
chore(lib): prepare for v0.1.6 2024-12-25 05:59:33 +00:00
e8dc5ecffb
chore(CHANGELOG): update changelog 2024-12-25 05:56:31 +00:00
3d5bdc55bf
chore(bins): bump darklua to v0.15.0 2024-12-25 05:55:31 +00:00
f219d27f34
chore(CHANGELOG): use new domain for all links 2024-12-22 21:52:45 +05:30
dfc8acb5b2
chore(CHANGELOG): update unreleased changes 2024-12-22 16:03:19 +00:00
773cc1b2a1
fix(lib): error while attempting to migrate when new dir exists 2024-12-22 15:59:27 +00:00
76e434ec6d
fix(lib): propagate ProgressBar results and handle them 2024-12-22 15:58:52 +00:00
e323dc08a3
chore: include CHANGELOG 2024-12-22 21:17:56 +05:30
09248561bf
chore(bins): update blink to v0.15.1 2024-12-22 14:57:33 +00:00
cbf58c8ca1
chore(bins): update blink to v0.15.0 2024-12-22 14:55:22 +00:00
ffefa493df
chore(bins): sync README for asphalt 2024-12-22 14:53:58 +00:00
e6e5debcac
chore: update lockfiles 2024-12-22 14:42:22 +00:00
f0524d036d
chore(lib): bump version 2024-12-22 14:35:20 +00:00
4a26699691
chore(pkg): update pesde lockfiles 2024-12-16 19:39:08 +00:00
682088dbca
chore(bins): include asphalt bin 2024-12-16 19:37:56 +00:00
7bf8063366
feat(lib): make ProgressBar:nextStage return a result 2024-12-16 19:28:28 +00:00
8a074d0406
chore(lib): bump version 2024-12-16 07:32:58 +00:00
e0a9ca9aa4
fix(lib)!: check if existing tool_storage is dir, not file 2024-12-16 07:28:26 +00:00
db91ef8af5
chore(lib): bump version 2024-12-16 06:33:30 +00:00