[Git][pacman/pacman][master] 4 commits: pactest: create hookdir
Allan McRae pushed to branch master at Pacman / Pacman Commits: 05307024 by Allan McRae at 2025-10-14T15:13:26+10:00 pactest: create hookdir Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - cf2e37c6 by Allan McRae at 2025-10-14T15:13:26+10:00 Add a helper function for resolving paths Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 42bf0632 by Allan McRae at 2025-10-14T15:13:26+10:00 pacman: parse directory paths passed on commandline Passing a path to pacman such as '--cachedir .' currently fails, whereas providing the full path works. Have pacman get the realpath of any paths passed to it on the command line and do some error checking to ensure valid paths. Fixes #238. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 748e62fa by Allan McRae at 2025-10-14T15:13:26+10:00 Resolve directory paths when parsing pacman.conf This provides checks that the directories specified in pacman.conf exist. It will also fix the "bug" where people replace their pacman package cache with a symlink to another directory, and have issues mid-transaction when pacman is upgraded (and the symlink becomes a directory again). Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 5 changed files: - src/pacman/conf.c - src/pacman/pacman.c - src/pacman/util.c - src/pacman/util.h - test/pacman/pmtest.py View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/5f9d0d2784d8129577fb54c... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/5f9d0d2784d8129577fb54c... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)