Commit Graph

61 Commits (d86b18844e34a69ed3d83d8566b22002825feb3c)

Author SHA1 Message Date
Delyan Angelov ab7cc5809a
ci: vfmt cmd/tools/vpm.v 2022-01-15 18:02:58 +02:00
Delyan Angelov d0bb810b42
vpm: fix `v install GIT_REPO_URL` 2022-01-15 16:38:03 +02:00
Delyan Angelov 57563599a7
vpm: support full urls in v.mod's dependencies field (#13180) 2022-01-15 14:35:37 +02:00
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Delyan Angelov 697eca5ddf
tools: ensure `git` is installed, when doing vpm operations that require it 2022-01-01 15:40:19 +02:00
Delyan Angelov 2b92ccecb5
ci: fix `v build-examples` and `v build-tools` 2021-08-28 12:44:03 +03:00
Delyan Angelov 0cbc77d881
Revert "vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189)"
This reverts commit eee71cebd4.
2021-08-18 18:58:24 +03:00
mahdi ramezaan zaade eee71cebd4
vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189) 2021-08-18 14:05:10 +03:00
mahdi ramezaan zaade 5bd602d0a7
vpm: install directly from git/hg (#11166) 2021-08-13 12:28:30 +03:00
Daniel Däschle 52a3360a47
vpm: fix show command (#11093) 2021-08-09 01:49:17 +03:00
Daniel Däschle 800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
Enzo 0d25106b4d
cmd/tools/vpm: improve v show (#10198) 2021-05-25 14:30:48 +03:00
Pranav Baburaj da88235bdc
vpm: addd a show command (#10186) 2021-05-24 15:17:57 +03:00
Lukas Neubert dee733aae4
fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
Delyan Angelov 52a14e8422
vpm: fix panic at the end of `v remove ui` 2021-03-26 11:37:54 +02:00
Lukas Neubert 21bbc24c49
v remove: use correct command name in error when no args are given (#9273) 2021-03-12 21:32:34 +02:00
Delyan Angelov d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
spaceface d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Delyan Angelov 3362d7ecbb
vpm: make the 404 in text error more precise (till https://vpm.vlang.io/ is fixed properly) 2021-02-25 09:05:18 +02:00
Delyan Angelov 7c9d280233
v install: fix `does not exist`, when the response contained a 404 text 2021-02-23 08:58:26 +02:00
Delyan Angelov e5a84719ca
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Alexander Medvednikov 50a6976b5e all: minor array fixes 2020-12-20 16:08:56 +01:00
Delyan Angelov 4b35495fbe all: support VMODULES environment variable (defaulting to ~/.vmodules) 2020-11-08 08:07:17 +02:00
Delyan Angelov 56817ea137 v search: add an import suggestion for an already existing module in vlib 2020-11-07 18:03:09 +02:00
Lukas Neubert f3de2cea7d
vpm search: mark modules that are already installed (#6657) 2020-10-20 23:02:17 +02:00
Delyan Angelov 31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
Lukas Neubert 3a8be4d8d9
os: home_dir() remove trailing slash (#6512) 2020-09-30 16:02:54 +02:00
Robin Martijn 4774c89381
vpm: install and check all modules as lowercase modules. (#6445) 2020-09-22 17:02:42 +02:00
Lukas Neubert 8b25c29323
vpm outdated: add support for mercurial (#6376) 2020-09-15 19:35:00 +03:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02:00
Lukas Neubert 664c26ab4b
v update: add verbose output (#6080) 2020-08-07 17:33:13 +02:00
Alexander Medvednikov df332f85b7 vpm: remove vpm.best 2020-08-04 22:10:29 +02:00
Lukas Neubert 0cc8d840a3
vpm: fix and improve `outdated` (#5902) 2020-07-22 02:25:20 +02:00
Lukas Neubert c93467bca5
vpm: add list command (#5888) 2020-07-20 17:39:37 +03:00
Lukas Neubert cc7c8009a1
vpm: outdated command (#5833) 2020-07-15 21:55:07 +02:00
Lukas Neubert 6d788654e1
vpm: fixes with underscores for install and search (#5623) 2020-07-02 18:20:42 +02:00
Lukas Neubert d40334fe9d
vpm: replace `-` in author names with `_` (#5583) 2020-06-30 21:42:16 +02:00
Lukas Neubert eec5cf1eb1
vpm: use only `-v` for verbose output 2020-06-07 14:20:56 +02:00
Delyan Angelov d7bb887c2a vpm: fix `v update` for offical v modules too, like ui or markdown 2020-05-31 19:18:24 +03:00
Ned Palacios ed7ed6262f
vpm: use current folder v.mod, if no args provided in `v install` 2020-05-24 15:25:29 +03:00
Delyan Angelov 0de70e8b2c vpm: handle -v as well as -verbose 2020-05-21 08:30:38 +03:00
Lukas Neubert 60dd7a7471
vpm: fix v update ui 2020-05-13 08:19:12 +03:00
Don Alfons Nisnoni 1c8d2c21b5
vpm: fix 404 error message 2020-05-08 22:50:36 +02:00
yuyi 9f4d498ff1
all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
Delyan Angelov b898970031 cmd/tools: use same line imports too 2020-04-26 09:32:05 +03:00
yuyi 541b058e90
all: use `a !in b` instead of `!(a in b)` 2020-04-26 06:39:23 +02:00
Alexander Medvednikov 24958df565 parser: do not allow duplicate fns; cgen: move fn code to fn.v 2020-04-13 19:59:57 +02:00
Alexey a333ac1888
all: remove redundant parentheses in `if` statements 2020-03-29 10:08:42 +02:00