Commit graph

84 commits

Author SHA1 Message Date
Delyan Angelov
ff85408722
ci: fix unused var warning in cmd/tools/vpm/common.v 2025-05-21 13:42:50 +03:00
kbkpbot
11ee29c3cf
tools: make v search ui work again through the vpm site (fix #23966) (#24535) 2025-05-21 06:02:39 +03:00
Delyan Angelov
0b547598f5
ci: use a different starting port for the hg server web server processes in the different tests, to minimise the chances of conflicts 2025-05-15 12:14:49 +03:00
Delyan Angelov
226e1d6442
tools: let cmd/tools/vpm/install_test.v use a .hg/hgrc file too 2025-05-15 12:10:39 +03:00
Delyan Angelov
e3218ff73e
tools: use a .hg/hgrc file for install_version_test.v (workaround windows failure) 2025-05-15 11:59:37 +03:00
Delyan Angelov
73b5423b6f
ci: show hg version too, to ease the diagnosing of install_version_test.v failures 2025-05-15 11:32:24 +03:00
Delyan Angelov
bdeef49c02
tools: fix ./v -d network test cmd/tools/vpm 2025-05-01 09:31:03 +03:00
Alexander Medvednikov
951d30405f builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
Delyan Angelov
cb3b980379
tools: make v install avoid using --filter=blob:none --shallow-submodules --also-filter-submodules on windows (#23840) 2025-03-01 19:23:54 +02:00
Delyan Angelov
e68fab82c4
ci: fix CI=name ./v -d network test cmd/tools/vpm/ ; update the image runners in vpm_ci.yml (#23628) 2025-02-02 10:45:42 +02:00
Delyan Angelov
469b56ef4e
v.vcache: store the cache files in ~/.vmodules/.cache by default, allowing for user modules, that are named cache (fix #22459) (#22472) 2024-10-10 16:28:07 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Turiiya
e2848e1348
tools: don't write vpm logfiles in CI runs (#21649) 2024-06-07 11:05:05 +03:00
gym603
2e9b4cf42c
tools: call mkdir_all before set_output_path to avoid a vpm panic when ~/.vmodules/cache does not exist (#21463) 2024-05-08 11:27:03 +03:00
Delyan Angelov
3f725fe96d
ci: fix outdated_test.v (--unshallow is not needed now) 2024-04-17 19:26:08 +03:00
Delyan Angelov
27cc27737a
vpm: fix regression, so v install sdl && v run ~/.vmodules/sdl/setup.vsh works again 2024-04-17 17:26:05 +03:00
Delyan Angelov
9d117fc3a0
tools: fix vpm on macos, when using the bundled git executable (#21292) 2024-04-16 14:19:12 +03:00
Turiiya
423c39ccb4
vpm: check for git version before adding --also-filter-submodules flag (#21259) 2024-04-12 10:59:22 +03:00
Turiiya
38353088e0
vpm: optimize performance by adding filter when cloning (#21216) 2024-04-07 17:11:58 +03:00
Turiiya
3a6cf5adfc
tools.vpm: debug-log to $VMODULES/cache/vpm.log if not running in debug mode (#21192) 2024-04-06 12:29:43 +03:00
Delyan Angelov
f172a040ef
ci: improve test robustness on windows (#21116) 2024-03-28 07:29:17 +02:00
Delyan Angelov
e4ac5c7552
vpm: make all tests use cmd_ok and cmd_fail to ease understanding CI errors 2024-03-27 13:28:40 +02:00
Delyan Angelov
80e688e9a1
ci: fix vpm tests with -d network, add more diagnostic output 2024-03-27 12:22:42 +02:00
Delyan Angelov
bb320f19c8
vpm: show the final path where a module is installed, improve color contrast for white on black terminal sessions 2024-03-27 10:36:27 +02:00
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