aboutsummaryrefslogtreecommitdiff
path: root/src/install/extract_tarball.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-28Add local tarball install #5812 (#6118)Gravatar axel escalada 1-1/+3
* check if the value passed for add command is a local tarball and install it, test for local tarball * use bunExe() * use absolute path to copy tarball * fmt ts
2023-08-28just kernel32 things (#4354)Gravatar Jarred Sumner 1-2/+2
* just kernel32 things * more * Update linux_c.zig * Update windows_c.zig * Add workaround Workaround https://github.com/ziglang/zig/issues/16980 * Rename http.zig to bun_dev_http_server.zig * Rename usages * more * more * more * thanks tigerbeetle * Rename `JSC.Node.Syscall` -> `bun.sys` * more * woops * more! * hmm * it says there are only 37 errors, but that's not true * populate argv * it says 32 errors! * 24 errors * fix regular build * 12 left! * Still 12 left! * more * 2 errors left... * 1 more error * Add link to Tigerbeetle * Fix the remainign error * Fix test timeout * Update syscall.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-18zig upgrade (#3667)Gravatar Dylan Conway 1-1/+1
* upgrade * more fixes * Bump Zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-26[install] support trustedDependencies (#3288)Gravatar Alex Lam S.L 1-80/+57
* [install] support trustedDependencies closes #2073 * use `strings.indexOfChar()` * use hashes instead of strings * utilise `inline else`
2023-04-25fix `make setup` (#2731)Gravatar Alex Lam S.L 1-1/+1
- minor clean-ups
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-1/+1
2023-04-09Remove usages of `void{}` in favor of `{}`Gravatar Jarred Sumner 1-2/+2
See https://github.com/ziglang/zig/issues/15213
2023-03-30[install] fix stale pointer with tarball URLs (#2520)Gravatar Alex Lam S.L 1-3/+3
* [install] fix stale pointer with tarball URLs fixes #2512 * `alloc()` & `free()` instead of fixed-size buffer
2023-03-28[install] support tarball URLs (#2497)Gravatar Alex Lam S.L 1-2/+2
closes #2448
2023-03-19Several bug fixes (#2427)Gravatar Jarred Sumner 1-1/+1
* Fix test * Fix segfault when unexpected type is passed in `expect().toThrow` * Fix issues with request constructor * Don't bother cloning headers when its empty * woops * more tests * fix incorrect test * Make the fetch error messages better * Update response.zig * Fix test that failed on macOS * Fix test * Remove extra hash table lookups * Support running dummy registry directly cc @alexlamsl * Update test * Update test * fixup * Workaround crash in test runner * Fixup test * Fixup test * Update os.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-17use `bun.logger` instead of `bun.Output` (#2099)Gravatar Alex Lam S.L 1-56/+64
2023-02-17[install] support git dependencies (#2094)Gravatar Alex Lam S.L 1-10/+4
2023-02-11fix segfault during non-install script execution (#2045)Gravatar Alex Lam S.L 1-5/+4
2023-02-06[WIP] fix corner cases with aliases dependencies (#2000)Gravatar Alex Lam S.L 1-4/+2
* fix corner cases with aliases dependencies * in-memory convert legacy `bun.lockb`
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 1-1/+0
2023-01-25[bun install] For `github` dependencies, write a `.bun-tag` to mark the revisionGravatar Jarred Sumner 1-0/+11
2023-01-25Fix "failed to resolve"Gravatar Jarred Sumner 1-4/+4
2023-01-24get cache key for github in one passGravatar Jarred Sumner 1-30/+65
2023-01-24support GitHub URLs as dependencies (#1875)Gravatar Alex Lam S.L 1-20/+92
2023-01-16Fix `getFdPath` when `/proc/fd` is not mountedGravatar Jarred Sumner 1-1/+1
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-6/+6
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-4/+4
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 1-1/+2
(#1459) * Update bundler.zig * WIP * Update README.md * Update README.md * wip * Support running scripts without package.json * Add `--no-auto-install` and `--prefer-offline` flags * WIP * wip * Update headers-handwritten.h * WIP * Build fixes * Fix UAF * Update install.zig * Must call .allocate() * Micro-optimization: only call .timestamp() once per tick when installing packages * Support progress bar * Extend the timestamp for package staleness checks to 1 day * Add `--prefer-latest`, `-i` CLI Flags * Fix crash * Support line text manually being set on an Error instance * Add a few more fields for error messages * Fix bug when counting 8 character strings in string builder * Implement error handling for automatic package installs! * Fix crash * Make it say module when there's a slash * Update module_loader.zig * Ban dependency versions in import specifiers when a package.json is present * Remove unused field * Update README.md * Update README.md * Update README.md * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-17[bun install] Add a package index via symlinks to ~/.bun/install/cacheGravatar Jarred Sumner 1-0/+14
2022-08-05[bun install] Support private registries & private scopesGravatar Jarred Sumner 1-2/+2
2022-07-10Remove unnecessary `Output.flush`s before `Global.exit` and `Global.crash` ↵Gravatar r00ster91 1-4/+0
(#535) * fix: add missing newline * refactor: std.process.exit -> Global.exit * fix: std.os.abort -> Global.exit I'm not sure about this one. Please verify. * cleanup: remove unnecessary `Output.flush`s
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-3/+3
2022-02-27WASMGravatar Jarred Sumner 1-3/+3
2022-02-13[bun install] Resolve nested `folder:` dependencies and tweak lockfile ↵Gravatar Jarred Sumner 1-1/+0
format for better determinism
2022-02-11[bun install] Implement private registry support & scoped packagesGravatar Jarred Sumner 1-1/+1
Fixes https://github.com/Jarred-Sumner/bun/issues/112
2022-02-10[bun install] Fix bug when packages with long namesGravatar Jarred Sumner 1-2/+2
2022-02-04Several reliability improvements to HTTPGravatar Jarred SUmner 1-1/+1
2022-01-02[bun install] Fix `RenameAcrossMountPoints` errorGravatar Jarred Sumner 1-68/+68
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-1/+1
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-16[bun install] move around some codeGravatar Jarred Sumner 1-0/+281