[Git][pacman/pacman][master] 5 commits: meson: replace deprecated get_pkgconfig_variable()
Allan McRae pushed to branch master at Pacman / Pacman Commits: daa2db6a by Joe Baldino at 2022-07-29T09:41:47+10:00 meson: replace deprecated get_pkgconfig_variable() Apparently that function was deprecated in 0.56, so use the generic getter introduced in 0.51 instead. This squashes a warning. Signed-off-by: Joe Baldino <pedanticdm@gmx.us> Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 5abe1455 by Alexander F. Rødseth at 2022-07-29T09:42:38+10:00 pacman: remove redundant argument The fill_progress function is called from two locations, and both locations pass in the same percentage value twice. This patch modifies the function signature to to receive the percentage value just once. Signed-off-by: Alexander F. Rødseth <xyproto@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 51b2e1c9 by Alexander F. Rødseth at 2022-07-29T09:44:04+10:00 pacman: let the progress bar "C"/"c" move up and down at a more regular rate For some terminal widths, the "C"/"c" character does not alternate at regular intervals, but may look like it is stuck at either lowercase or uppercase. The previous behavior toggled based on the character position, while this new behavior toggles the chomp alternation based on the progress percentage value. This leads to slightly improved chomping. Signed-off-by: Alexander F. Rødseth <xyproto@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 79bd5121 by Daan De Meyer at 2022-07-29T10:17:52+10:00 Add --keyringdir meson option to configure the keyring directory On Debian, keyrings are stored in /usr/share/keyrings. To support this, let's add a new --keyringdir option that allows configuring the directory under datarootdir where the keyrings should be imported from. We default to 'pacman/keyrings' for backwards compatibility. - - - - - e017a597 by soloturn at 2022-07-29T11:00:01+10:00 makepkg: Add GITFLAGS environmental variable to customise checkout The default flag used to clone a git repository when using makepkg is "--mirror". However, when working with huge repositories, the use of different flags during cloning can allow an faster checkout. For example, using "--filter=blob:none" allows for small checkouts, at the expense of requiring downloads during the build stage if anything but the HEAD commit is used for the build. In addition, this example would serve as a replacement for the often requested (but broken) addition of --depth=1. Add support for the environment variable GITFLAG to pass flags for the git clone command. Note that this overrides the default rather than adding to it in order to prevent incompatibilities. - - - - - 10 changed files: - build-aux/edit-script.sh.in - doc/makepkg.8.asciidoc - doc/meson.build - doc/pacman-key.8.asciidoc - meson.build - meson_options.txt - scripts/completion/zsh_completion.in - scripts/libmakepkg/source/git.sh.in - scripts/pacman-key.sh.in - src/pacman/callback.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/ff7c6c8e570bcf5e0787639... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/ff7c6c8e570bcf5e0787639... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)