Commit graph

59 commits

Author SHA1 Message Date
Turiiya
8b52420035
tools.vpm: fix remove command on Windows, add test (#20852) 2024-02-17 10:54:45 +02:00
Turiiya
9ea039e6fc
tools.vpm: improve detection of already parsed modules (#20223) 2023-12-19 23:47:37 +02:00
Turiiya
3b0802deb4
tools.vpm: refine is_outdated, add v outdated test (#20215) 2023-12-19 14:18:26 +02:00
Turiiya
e5e26db5c4
os: update mv fns, improve performance, add params struct to control overwrite behavior (#20156) 2023-12-13 09:43:18 +02:00
Turiiya
4e213f29ed
tools.vpm: fix moving from temp to vmodules dir (#20152) 2023-12-11 21:28:36 +02:00
Turiiya
2ceb12826f
tools.vpm: add support for ssh and hg version installations (#20125) 2023-12-11 01:13:34 +02:00
Delyan Angelov
e6bb6df591
tools.vpm: skip slow tests, that do need network access, when -d network is not provided 2023-12-10 12:20:09 +02:00
Turiiya
3d0fcfe456
tools.vpm: extract outdated logic into outdated.v, fix outdated hg, extend tests (#20116) 2023-12-08 07:16:55 +02:00
Turiiya
7b44bb973d
tools.vpm: add manifest fetch for hg repositories, add test (#20107) 2023-12-07 18:36:22 +02:00
Turiiya
f0fe3df0a6
tools.vpm: be more specific, when handling .git endings (#20110) 2023-12-07 18:21:09 +02:00
Turiiya
77e65ac82b
tools.vpm: update vcs handling (#20090) 2023-12-05 11:30:15 +02:00
Turiiya
74c59abf4e
tools.vpm: update tests, add get_installed test (#20028) 2023-11-29 19:11:50 +02:00
Turiiya
50f3ac4968
tools.vpm: extend recursive dependency fix for module installation (#20015) 2023-11-28 10:10:51 +02:00
Turiiya
920be09c7e
tools.vpm: remove obsolete array clone (#20016) 2023-11-28 09:44:07 +02:00
Turiiya
69ce060737
tools.vpm: evaluate dependencies earlier to fix potential recursive install loop (#19987) 2023-11-26 17:41:32 +02:00
Turiiya
70b33105d9
tools.vpm: remove flaky flag from tests to better spot issues on different platforms (#19986) 2023-11-26 15:59:13 +02:00
Turiiya
e1cf85fc98
tools.vpm: fix install paths, only normalize relevant, restore assign install_path_fmted, add input tests (#19984) 2023-11-26 15:50:56 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
eeb8d27c6d
tools.vpm: cleanup, extract parsing into parse.v (#19979) 2023-11-24 09:36:55 +02:00
Turiiya
29eda896a1
tools.vpm: fix installing of modules with conflicting names, extend tests (#19961) 2023-11-23 16:07:00 +02:00
Turiiya
b60ef550bd
tools.vpm: add support for env variable VPM_FAIL_ON_PROMPT, to prevent getting stuck in test scenarios with conflicting module dir names (#19960) 2023-11-22 00:50:51 +02:00
Turiiya
f8ed96a2e0
tools.vpm: validate VCS during parsing (#19943) 2023-11-21 05:14:45 +03:00
Turiiya
8267874d14
tools.vpm: improve version detection of installed modules (#19933) 2023-11-19 18:32:03 +02:00
Turiiya
9e9a084cf9
tools.vpm: add output, when scanning modules in an install query (#19934) 2023-11-19 17:11:43 +02:00
Turiiya
b7bced03e8
tools.vpm: add warning, when installing a vpm module missing a manifest (#19927) 2023-11-18 14:42:19 +02:00
Turiiya
fb3d0cdbe9
tools.vpm: support again http installs, when installing from an url (workaround) (#19914) 2023-11-18 11:55:28 +02:00
Turiiya
aa1debcabf
tools.vpm: fix has_vmod test in install_test interpreting wrong dir as install dir (#19891) 2023-11-16 09:14:57 +02:00
Turiiya
6d2f79176a
tools.vpm: simplify, add update result info (#19892) 2023-11-16 08:04:06 +02:00
Turiiya
bc24683608
tools: skip download count increment when vpm runs in CI by default (#19861) 2023-11-15 10:56:19 +02:00
Turiiya
107d466fad
tools: use shared contexts in vpm's update, to resolve dependencies during threaded module updates (#19878) 2023-11-15 09:13:24 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Turiiya
53d49d9c29
tools: don't interrupt resolving deps by vpm, when a module failed updating, improve detecting invalid, add update_test (#19867) 2023-11-14 22:16:11 +02:00
Turiiya
fbb43f5ae4
tools: use expansion character/string to format home paths in vpm output (#19847) 2023-11-12 16:09:04 +02:00
Turiiya
7c5d439717
tools: support --verbose in vpm, as an alternative to -v, to enable verbose output (#19848) 2023-11-12 13:49:50 +02:00
Turiiya
744b92a844
tools: fix already installed detection when running v install --once without args (#19838) 2023-11-12 03:01:49 +03:00
Turiiya
19bc16516f
tools: extend vpm to support specifying git version tags when installing modules (#19835) 2023-11-11 14:40:34 +02:00
Turiiya
11bc8084de
tools: cleanup, prepare vpm version installs (#19821) 2023-11-10 14:11:31 +02:00
Turiiya
33e865c8a8
tools: require the presence of a v.mod file, to install external urls via vpm (#19825) 2023-11-10 14:04:13 +02:00
Turiiya
10160c0cae
tools: add parse_query to vpm (#19814) 2023-11-09 13:00:58 +02:00
Turiiya
93d5c2dccc
tools: improve error messages, add color coding and debug logging (#19781) 2023-11-07 14:23:53 +02:00
Delyan Angelov
140c838f2e
ci: mark install_test.v as flaky too 2023-11-06 12:24:58 +02:00
Delyan Angelov
2362450340
ci: mark more tests as flaky 2023-11-06 12:23:11 +02:00
Turiiya
9fa1f8e275
tools: fix resolving external dependencies in vpm, add test (#19772) 2023-11-05 17:31:43 +02:00
Turiiya
1f8fbb51e8
tools: simplify command execution in vpm, use os.execute_opt (#19741) 2023-11-05 15:55:45 +02:00
Turiiya
b734197714
tools: use a safer way to initialise settings in vpm (#19755) 2023-11-05 11:09:48 +02:00
Turiiya
2ef49b8c11
tools: improve the output of v install (#19760) 2023-11-04 14:03:35 +02:00
Turiiya
230dcb479d
tools: improve VCS handling in vpm part2 (#19754) 2023-11-04 10:16:43 +02:00
Turiiya
55db150fe1
tools.vpm: improve handling of urls that end with .git (#19758) 2023-11-04 10:11:48 +02:00
Turiiya
244411ae42
tools: use VPM_NO_INCREMENT env var to skip dl count increment when testing vpm (#19756) 2023-11-04 08:00:37 +02:00
Turiiya
c2a3eef45b
tools: fix windows install of an already existing module with vpm (#19761) 2023-11-04 07:59:27 +02:00