Commit Graph

40 Commits

Author SHA1 Message Date
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
Felix Schütt
5b165b634b Fix execution of python/python with wrong directory mapping 2022-10-18 20:16:41 +02:00
Felix Schütt
fd5fa25a91 Do not auto-download packages if the execution failed 2022-10-18 18:33:25 +02:00
Felix Schütt
1a398c4adc Fix more wasmer run UX bugs 2022-10-18 10:08:25 +02:00
Felix Schütt
7c05da022a Fix issue when running wasmer/wit-pack and wabt
Fixed duplicated mapped directories when running the .wasm file
2022-10-18 09:19:05 +02:00
Felix Schütt
a96049884f Add unit test and fix problems when installing package 2022-10-17 17:58:58 +02:00
Felix Schütt
ef1bc7b608 Fix "make lint" 2022-10-14 21:18:45 +02:00
Felix Schütt
f8f33a86ea Add --force install method (download packages without cooldown) 2022-10-14 09:24:19 +02:00
Felix Schütt
f5eb1cbe7a Added timeout of 5 minutes for re-querying packages from registry 2022-10-14 09:06:21 +02:00
Felix Schütt
9455b6b5bd Nit: update version == Some(&v.version) 2022-10-13 19:02:43 +02:00
Felix Schütt
b4e84c09f3 Use unwrap_or(name) 2022-10-13 19:00:07 +02:00
Felix Schütt
b96f3546d6 Drop unnecessary loop labels 2022-10-13 18:57:11 +02:00
Felix Schütt
04b5c431e3 Lazy-return string on Error 2022-10-13 18:55:48 +02:00
Felix Schütt
a1548ec7ff Use split_once instead of split().nth(1) 2022-10-13 18:49:39 +02:00
Felix Schütt
5b72f97876 Add option to auto-install packages by command name ("wasmer ls") 2022-10-10 15:47:43 +02:00
Felix Schütt
5bc191487e Try fixing errors when parsing CLI args: todo: undo clap migration 2022-10-07 15:57:44 +02:00
Felix Schütt
0194f8e92a cargo fmt 2022-10-07 15:05:44 +02:00
Felix Schütt
7147694443 Fix "make lint" 2022-10-07 15:04:06 +02:00
Felix Schütt
7edfd68759 cargo fmt 2022-10-07 13:44:08 +02:00
Felix Schütt
50733a536b Try adding support for pkg_fs 2022-10-07 13:17:34 +02:00
Felix Schütt
da1e29523f Fix error in listing local packages 2022-10-07 11:11:20 +02:00
Felix Schütt
2640a6d662 Pass filesystem mappings from wapm.toml to --mapdir 2022-10-06 15:47:26 +02:00
Felix Schütt
0068d7908b Do not re-download already-downloaded package 2022-10-06 14:20:08 +02:00
Felix Schütt
81786734c8 Fail on ambigouus package name 2022-10-06 14:09:18 +02:00
Felix Schütt
efdb1f4e76 cargo fmt 2022-10-06 12:00:21 +02:00
Felix Schütt
374494ef3c Install packages correctly 2022-10-06 11:56:07 +02:00
Felix Schütt
2c1cf2e7c5 Implemented "did you mean" functionality 2022-10-05 15:43:14 +02:00
Felix Schütt
4bf7c43ca3 Query packages correctly from wapm registry and debug error msg 2022-10-05 15:18:54 +02:00
Felix Schütt
83c50d349d Add code for querying GraphQL 2022-10-04 13:56:50 +02:00
Felix Schütt
3b15e75d66 Add GraphQL querying 2022-10-04 13:22:14 +02:00
Felix Schütt
ba8b13c3e8 Add spinner when installing package 2022-10-04 13:17:40 +02:00
Felix Schütt
771e1e33a1 Added RunWithoutFile to prepare downloading + GraphQL schema 2022-10-04 12:10:31 +02:00