Commit Graph

231 Commits

Author SHA1 Message Date
Felix Schütt
33a2585b14 Update from master, fix merge conflicts 2022-11-17 15:28:59 +01:00
Felix Schütt
9d7ed9e04a Add wasmer whoami 2022-11-17 14:32:49 +01:00
Felix Schütt
63fe99a6ff Fix wasmer-registry cargo test 2022-11-17 10:48:26 +01:00
Felix Schütt
cd38b39eb3 Add comments to GraphQL registry ping code 2022-11-17 10:38:31 +01:00
Felix Schütt
d27267094f Adress duplicated logic 2022-11-17 10:35:02 +01:00
Felix Schütt
a5ae89b5c2 Use WASMER_TOKEN and wasmer/* in request header 2022-11-17 10:30:11 +01:00
Felix Schütt
aafd57ca9e Remove unpack zip functionality from unpack_tar_gz 2022-11-16 13:58:37 +01:00
Felix Schütt
f73cf54ce8 Fix cross-compile test by switching to build-exe
We run this test only on linux and macos, on Windows it might or
might not work.
2022-11-16 11:27:36 +01:00
Felix Schütt
852475bf30 Download .tar.gz files into tempdir instead of path-relative dir 2022-11-15 14:47:40 +01:00
Felix Schütt
a1c919a8bb Add unpack_zip to try_unpack_targz
On Windows, this function gets used to download zig cc releases
from GitHub, but GitHub uses .zip for Windows releases and .tar.gz
for everything else. So this function has to accomodate that.
2022-11-15 14:31:55 +01:00
Felix Schütt
cf77524829 Completely rework downloading logic, add -isystem to zig cc 2022-11-15 12:51:24 +01:00
Felix Schütt
7d89d6de21 Fix "make lint" 2022-11-11 15:50:25 +01:00
Felix Schütt
108a5598ec Remove duplicated code + add comments for checksum function 2022-11-11 15:46:27 +01:00
Felix Schütt
3bfcca837d Try to fix cargo test 2022-11-11 15:33:57 +01:00
Felix Schütt
fcaf255256 Add test_name to WapmConfig::get_folder 2022-11-11 15:00:58 +01:00
Felix Schütt
b705db438c Fix "make lint" 2022-11-11 14:09:02 +01:00
Felix Schütt
43c7c4e91b Return error on 404 2022-11-11 14:02:38 +01:00
Felix Schütt
e9f4b6c0fa Refactor builder / proxy setup into separate function 2022-11-11 13:52:05 +01:00
Felix Schütt
8559eaee03 Remove wasi-special case for PWD 2022-11-11 13:29:19 +01:00
Felix Schütt
7b85da3820 Remove duplicate save() function from PartialWapmConfig 2022-11-11 13:25:04 +01:00
Felix Schütt
bcf259550a Convert from String -> anyhow::Error 2022-11-11 12:51:59 +01:00
Felix Schütt
3cf558a61c Fix "make lint" 2022-11-11 12:23:57 +01:00
Felix Schütt
a9b064736e Fix panic in graphql, adress review comments 2022-11-11 12:08:12 +01:00
Felix Schütt
5084c142ac Remove --feature="integration_tests" 2022-11-11 11:58:59 +01:00
Felix Schütt
b8c281b1b5 Fix https://{registry}/me display 2022-11-11 11:43:08 +01:00
Felix Schütt
26c3d4de2f Fix make lint 2022-11-10 17:08:35 +01:00
Felix Schütt
27e66b2811 Autocorrect wapm.dev / wapm.io URLs, fix integration test 2022-11-10 17:01:29 +01:00
Felix Schütt
509a5619c9 Implement wasmer login 2022-11-10 15:46:09 +01:00
Felix Schütt
75bedbaa71 Add integration test, fix make lint 2022-11-10 14:38:44 +01:00
Felix Schütt
e8c422d520 Implement wasmer run {url} 2022-11-10 14:24:16 +01:00
Felix Schütt
2ef0bb6b6b Remove GetPackages query 2022-11-03 22:01:43 +01:00
Felix Schütt
15aeda5f8e Fix "make lint" 2022-11-03 19:23:25 +01:00
Felix Schütt
8104a96cf0 Fix bug in installation of python/python if directory doesn't exist 2022-11-03 18:26:15 +01:00
Felix Schütt
508c1f06a1 Fix "make lint" 2022-11-03 16:59:32 +01:00
Felix Schütt
10ad7521ca cargo fmt 2022-11-03 16:27:31 +01:00
Felix Schütt
6b41c2d0d9 Add and unit-test get_if_package_has_new_version 2022-11-03 16:26:44 +01:00
Felix Schütt
c0e3316997 Rework 5-minute timeout logic to query packages 2022-11-03 16:09:55 +01:00
Felix Schütt
90f110f4b5 Disable println output and spinner if stdout is not a tty 2022-11-03 13:14:30 +01:00
Felix Schütt
70fa262c5c Remove unnecessary checks to test internet connection 2022-11-03 12:45:43 +01:00
Felix Schütt
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00
Felix Schütt
86ef576421 Added function to auto-download and install zig when cross-compiling 2022-10-28 20:31:19 +02:00
Felix Schütt
7d5093b5a5 wasmer-registry: use rustls instead of openssl for HTTPS 2022-10-26 07:26:05 +02:00
Felix Schütt
2e8a59a1ce Update dependency of wasmer-registry 2022-10-25 13:16:24 +02:00
Felix Schütt
8ee578fb5d Update package versions 2022-10-25 12:54:45 +02:00
Felix Schütt
90ab3e6bb2 Properly disable unit test on -musl 2022-10-24 19:10:51 +02:00
Felix Schütt
acb529aa39 Disable segfaulting unit test on linux-musl 2022-10-24 18:13:46 +02:00
Michael-F-Bryan
e57b7bb25a Ran rustfmt 2022-10-21 16:49:33 +08:00
Felix Schütt
fcc796225d Debug failing test on linux-musl 2022-10-20 19:04:41 +02:00
Felix Schütt
3de62868d7 Fix "make lint" 2022-10-19 15:05:48 +02:00
Felix Schütt
1f59a5c81e Run packages via specifying directory instead of package name 2022-10-19 14:44:12 +02:00