1. 16 Jan, 2023 2 commits
  2. 06 Jan, 2023 2 commits
  3. 05 Jan, 2023 1 commit
  4. 03 Jan, 2023 1 commit
    • Levente Polyak's avatar
      makepkg.conf: enable rust debuginfo · ea782a8a
      Levente Polyak authored
      This enables DEBUG_RUSTFLAGS with the appropriate debuginfo settings.
      The empty RUSTFLAGS variable is required workaround to avoid double
      compilation during package function call. The issue is that the
      behavior of the current implementation of buildenv_debugflags is not
      idempotent, so consecutive calls will append the same flags again
      leading to cargo consider the build inputs to have changed.
      Signed-off-by: Levente Polyak's avatarLevente Polyak <anthraxx@archlinux.org>
  5. 21 Nov, 2022 1 commit
  6. 08 Nov, 2022 1 commit
  7. 07 Nov, 2022 1 commit
  8. 12 Oct, 2022 3 commits
  9. 11 Oct, 2022 1 commit
    • Felix Yan's avatar
      common: improve performance of find_cached_package · 5d02c6df
      Felix Yan authored and Levente Polyak's avatar Levente Polyak committed
      find_cached_package was unnecessarily looping over all packages which
      uses a lot of CPU and could be exceptionally slow when PKGDEST contains
      a lot of packages.
      Fix this by adding the target pkgname, pkgver and arch to the glob and
      only process potential candidates.
  10. 02 Oct, 2022 1 commit
  11. 01 Sep, 2022 3 commits
  12. 31 Aug, 2022 5 commits
    • Levente Polyak's avatar
      crossrepomove: fix moving debug packages to the target repo · 2e406044
      Levente Polyak authored
      We did not copy over the optional debug packages to the staging
      environment before db-updating the moved state. Afterwards the db-remove
      call removed the debug packages from the source repo. This lead to
      dropping debug packages when using crossrepomove.
      This approach ensures we have a uniform shell to avoid shell glob
      behavior inconsistencies. The copy of the package path is mandatory and
      will error out if missing while the debug package path is optional as
      reflected by a subshell that succeeds either way.
      Fixes #92
    • Morgan Adamiec's avatar
      makechrootpkg: support -A makepkg flag · 1e23bbc1
      Morgan Adamiec authored and Levente Polyak's avatar Levente Polyak committed
    • Levente Polyak's avatar
      fix: properly check for invalid argument in checkpkg and diffpkg · 53be0527
      Levente Polyak authored
      The option switch case only matches by splitting via '|' instead of ','
    • Levente Polyak's avatar
      diffpkg: prefer to search inside the pool dir if available · f4e8047d
      Levente Polyak authored
      On certain packaging machines where the pacman cache gets updated very
      infrequently, the behavior of diffpkg may not function correctly as old
      packages were to be downloaded as diff target. In such cases we look for
      a pool directory first and search via a glob for an available pool
      package sorted by version.
      The pool search glob has three glob segments each disallowing the dash
      delimiter to split across pkgrel, pkgver and arch. This will return the
      correct package from the pool without considering overly eager wildcards
      that potentially match different pkgnames.
      The default pool search directory is /srv/ftp/pool
    • Levente Polyak's avatar
      diffpkg: allow to set column width for side-by-side view · 70a3041f
      Levente Polyak authored
      The magic values `columns` and `auto` allow to set specific aspects,
      with 'auto' as the default value:
      - auto: Set width to the maximum line length of all input files
      - columns: Set width to the shell defined $COLUMNS env var
      Furthermore any number can be passed to set a static width.
  13. 23 Aug, 2022 2 commits
  14. 13 Aug, 2022 1 commit
  15. 21 Jun, 2022 13 commits
  16. 20 Jun, 2022 1 commit
  17. 10 Jun, 2022 1 commit
    • Levente Polyak's avatar
      archrelease: support subdirectories in package directories · ac222ae0
      Levente Polyak authored
      We need to support subdirectories for the `keys` directory used to
      distribute PGP keys alongside the packaging sources.
      This is achieved by using `svn ls` to list the files and directories
      in the packaging root and leverage the behavior of `svn copy` to
      consider subdirectories inside the root but only copy over files and
      directories under the subdirectory that are already tracked by svn.
      As a step in between, we now use `svn ls --recursive` to list all
      tracked svn files in the current repos directory and remove all tracked
      files in the staging area. Hence the `svn copy` in combination with the
      `svn rm` will result in a sync behavior from the packaging root to the
      repos directory.
      Signed-off-by: Levente Polyak's avatarLevente Polyak <anthraxx@archlinux.org>