Allan McRae pushed to branch master at Pacman / Pacman
Commits: 56626816 by Andrew Gregory at 2023-12-02T04:56:25+00:00 dload: differentiate between hard and soft errors Set error count to -1 to indicate a hard error to allow them to be treated differently. Signed-off-by: Andrew Gregory <[email protected]> - - - - - 3aa1975c by Andrew Gregory at 2023-12-02T04:56:25+00:00 alpm: add cache server support Cache servers differ from regular servers in that they do not produce warnings and are not removed from the server pool for "soft errors" (i.e. the server was reachable, but the download failed) and they are not used for databases. If a host is used for both a cache server and a regular server, it may still be removed from the server pool for soft errors that occur when used as cache server and removal from the server pool for soft errors will not affect future attempted use as a cache server. Signed-off-by: Andrew Gregory <[email protected]> - - - - - 45e94e2d by Andrew Gregory at 2023-12-02T04:56:25+00:00 pmtest: return pkg from addpkg2db Allows more compact syntax: p1 = self.addpkg2db('sync', pmpkg("foo")) Signed-off-by: Andrew Gregory <[email protected]> - - - - - bad3e13e by Andrew Gregory at 2023-12-02T04:56:25+00:00 conf.c: remove unnecessary _add_mirror function It does very little, is only used in one place, and can't easily be reused for other server types due to the inclusion of an error message. Signed-off-by: Andrew Gregory <[email protected]> - - - - - dc914765 by Andrew Gregory at 2023-12-02T04:56:25+00:00 pacman: add cache server support Signed-off-by: Andrew Gregory <[email protected]> - - - - - 0df44c2e by Andrew Gregory at 2023-12-02T04:56:25+00:00 db.c: set pm_errno for server list modifications Signed-off-by: Andrew Gregory <[email protected]> - - - - - 13 changed files: - doc/pacman.conf.5.asciidoc - lib/libalpm/alpm.h - lib/libalpm/db.c - lib/libalpm/db.h - lib/libalpm/dload.c - lib/libalpm/dload.h - lib/libalpm/sync.c - src/pacman/conf.c - src/pacman/conf.h - src/pacman/pacman-conf.c - test/pacman/meson.build - test/pacman/pmtest.py - + test/pacman/tests/cache-server-basic.py View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/0f512ae46e0524b0b7abec0e11845ff86f17db92...0df44c2e2001c7444b21a8f6d3b7a5fe1428548e -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/0f512ae46e0524b0b7abec0e11845ff86f17db92...0df44c2e2001c7444b21a8f6d3b7a5fe1428548e You're receiving this email because of your account on gitlab.archlinux.org.
