Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Levente Polyak f4e8047d65
diffpkg: prefer to search inside the pool dir if available
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
2022-08-31 02:26:47 +02:00
config make: split out config files into conf directory 2022-06-22 01:05:02 +02:00
contrib diffpkg: prefer to search inside the pool dir if available 2022-08-31 02:26:47 +02:00
doc diffpkg: prefer to search inside the pool dir if available 2022-08-31 02:26:47 +02:00
lib common: Implement helper functions from dbscripts 2022-01-26 21:31:32 +01:00
src diffpkg: prefer to search inside the pool dir if available 2022-08-31 02:26:47 +02:00
.gitignore make: use build dir as target instead of polluting root workdir 2022-06-22 01:05:02 +02:00
.gitlab-ci.yml build: enable gitlab-ci 2022-04-28 19:10:59 +02:00
LICENSE Add GPL-3.0 license file 2021-10-29 09:16:05 +02:00
Makefile make: split out man page files into doc/man folder 2022-06-22 01:05:03 +02:00
README.md doc: update links and references after moving to GitLab 2022-06-22 01:05:03 +02:00

README.md

Devtools - development tools for Arch Linux

This repository contains tools for the Arch Linux distribution for building and maintaining official repository packages.

Building

When building official distro packages the BUILDTOOLVER needs to be set to the exact label of the release package in order to allow to detect the exactly used devtools version. This is required for reproducible builds to fetch the according files like makepkg.conf.

BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" make all

Releasing

  1. bump the version in the Makefile
  2. Commit everything as Version $(date +"%Y%m%d")
  3. Create a new tag git tag -s $(date +"%Y%m%d")
  4. Push changes
  5. Upload the source tarball with make dist upload
  6. Update the package

License

Devtools is licensed under the terms of the GPL-3.0-or-later (see LICENSE).