Commit Graph

231 Commits

Author SHA1 Message Date
Felix Schütt
96c8fd8c69 More formatting: PartialWapmConfig::from_file 2022-12-20 15:57:47 +01:00
Felix Schütt
5700cbf92d Add wasmer_dir to WasmerConfig::from_file 2022-12-20 15:45:25 +01:00
Felix Schütt
1330c1ad4d Fix make lint 2022-12-20 15:42:10 +01:00
Felix Schütt
0c1dc1c42d Fix tests 2022-12-20 15:36:55 +01:00
Felix Schütt
506f21a492 Remove old login tokens when updating config 2022-12-20 14:15:21 +01:00
Felix Schütt
58ee174056 Move wasmer config registries to new format for wasmer.toml file 2022-12-20 11:34:13 +01:00
Syrus Akbary
d2868a1191 Undo "merge master into config" 2022-12-20 11:14:42 +01:00
Felix Schütt
02fc047640 Migrate from wapm-toml to wasmer-toml 2022-12-19 17:07:41 +01:00
Felix Schütt
f1aa1d5f53 Add integration tests for all wasmer config flags 2022-12-19 07:56:45 +01:00
Felix Schütt
327f7a61a3 Merge remote-tracking branch 'origin/master' into config 2022-12-18 15:43:03 +01:00
Felix Schütt
3f2adc44eb Fix raw reads to wapm.toml to use LocalPackage::read_toml 2022-12-18 09:03:39 +01:00
Felix Schütt
5e19f0aa4c Change wapm.toml to wasmer.toml with fallback 2022-12-18 08:57:44 +01:00
Felix Schütt
51a518a281 Rename wapm_toml variables to wasmer_toml, prefer wasmer.toml 2022-12-18 08:38:55 +01:00
Felix Schütt
8e865a2411 Remove Package::validate_package_name 2022-12-17 00:33:23 +01:00
Felix Schütt
c29377f298 Rename wapm.sqlite -> wasmer.sqlite 2022-12-17 00:13:52 +01:00
Felix Schütt
e1c42b5f90 Revert "Revert "Implement wasmer init and wasmer publish""
This reverts commit 250ebff4e8.
2022-12-16 23:40:17 +01:00
Felix Schütt
0bdf5c62b1 Implement wasmer config CLI handling properly
Now supports --prefix and [get | set] subcommands
2022-12-16 23:25:56 +01:00
Syrus Akbary
250ebff4e8 Revert "Implement wasmer init and wasmer publish" 2022-12-16 14:09:55 -08:00
Felix Schütt
a1f0d323c8 Merge branch 'master' into config 2022-12-16 22:27:54 +01:00
Felix Schütt
32d04e8ddf Use BoolString for handling CLI flags 2022-12-16 19:37:49 +01:00
Felix Schütt
bd0db36ab7 Migrate from enabled: String to enabled: bool 2022-12-16 19:15:30 +01:00
Felix Schütt
c1966702e2 Add check to validate the package name 2022-12-16 11:43:35 +01:00
Felix Schütt
1727d1534c Remove cargo wapm code 2022-12-16 10:19:58 +01:00
Felix Schütt
344d541d02 Fix make lint 2022-12-16 06:35:20 +01:00
Felix Schütt
43cde31978 Add proper defaults for Telemetry and UpdateNotifications 2022-12-16 06:31:55 +01:00
Felix Schütt
c31587c339 Remove code to check for user / namespace consistency 2022-12-15 22:41:10 +01:00
Felix Schütt
1076ff25b6 Add integration tests 2022-12-15 21:53:34 +01:00
Felix Schütt
11f6c430cb PartialWapmConfig -> WasmerConfig 2022-12-15 20:41:15 +01:00
Felix Schütt
a2b39503ba Fix make lint 2022-12-15 14:01:03 +01:00
Felix Schütt
7a0a515ab1 Add proper check to test whether publishing under a namespace will work 2022-12-14 16:37:05 +01:00
Felix Schütt
d1dd009481 wasmer-registry: add PackageName::parse 2022-12-14 15:54:22 +01:00
Felix Schütt
41a54b606b Add validation when publishing + checking the publishing username 2022-12-13 13:26:10 +01:00
Christoph Herzog
17be14493b Fix a bunch of clippy warnings. 2022-12-13 13:22:09 +01:00
Felix Schütt
60bb15070b Add integration test to make sure that wasmer init + publish works 2022-12-13 12:45:33 +01:00
Christoph Herzog
654ee49226 deps: Use newest webc release (0.4.1) 2022-12-13 11:10:34 +01:00
Felix Schütt
f6abf5122e Merge branch 'master' into init 2022-12-12 20:46:04 +01:00
Felix Schütt
eb3a217fab Fix registry code for wasmer.toml 2022-12-12 20:45:44 +01:00
Felix Schütt
60323484ac Fix merge issues 2022-12-12 14:53:37 +01:00
Felix Schütt
364d1a445e Port wapm publish to wasmer publish 2022-12-12 14:33:49 +01:00
Felix Schütt
a462bc868c Fix merge errors 2022-12-12 14:33:49 +01:00
Felix Schütt
874cb75164 Add uploading function to wasmer-registry 2022-12-12 14:33:49 +01:00
Felix Schütt
6892965e36 wapm.toml -> wasmer.toml 2022-12-12 14:33:49 +01:00
Felix Schütt
53a08b47ff Update wapm-toml version again 2022-12-12 14:33:49 +01:00
Felix Schütt
e69ea73c29 Update wapm toml version 2022-12-12 14:33:49 +01:00
Felix Schütt
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
Felix Schütt
f0936589d0 Increase limit of hash_url 2022-12-12 11:09:05 +01:00
Felix Schütt
8bf5419858 Remove unnecessary functions and tests 2022-12-12 11:01:17 +01:00
Felix Schütt
23697d3f30 Fix make lint 2022-12-12 10:36:18 +01:00
Felix Schütt
fd7c5b71c5 Fix tests for listing local packages 2022-12-12 10:27:31 +01:00
Felix Schütt
34f39bef4c Fix make lint 2022-12-09 16:26:43 +01:00