Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Jan Alexander Steffens (heftig) c356995dc1
feat(config): Add -z pack-relative-relocs to LDFLAGS
This moves relative relocations from the `.rela.dyn` section into a new
`.relr.dyn` section with a significantly more compact encoding,
supported since glibc 2.36, GNU Binutils 2.38 and LLVM 15.

This can reduce the size of libraries a lot, e.g. the installed size of
`libphonenumber` dropped from about 17 MB to 7 MB.

For more info, see
https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/23.

Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2023-12-03 20:11:24 +01:00
config feat(config): Add -z pack-relative-relocs to LDFLAGS 2023-12-03 20:11:24 +01:00
contrib feat(web): implement option to print the URL instead of opening it 2023-11-26 18:23:17 +01:00
doc feat(web): implement option to print the URL instead of opening it 2023-11-26 18:23:17 +01:00
src feat(web): implement option to print the URL instead of opening it 2023-11-26 18:23:17 +01:00
test/bin test: added pkgctl devel wrapper for convenient development testing 2023-05-20 00:08:11 +02:00
.gitignore build: command to build packages inside a clean chroot 2023-05-20 00:08:11 +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 fix(make): Specify GITLAB_HOST for glab to avoid default host confusion 2023-11-24 22:27:14 +01:00
README.md chore: add a config file for git cliff 2023-09-26 21:13:08 +02:00
cliff.toml chore(release): nicely format multiple "Component:" trailers 2023-11-24 02:32:02 +01: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

Development

For local development testing, there is a convenience wrapper for pkgctl that will automatically build the project and proxy all calls to the local build directory:

./test/bin/pkgctl --help

Commit messages

All commits must follow conventional commits.

The following groups are allowed:

  • chore
  • feat
  • fix
  • doc
  • perf
  • test

To override the scope for the changelog entry use the Component: trailer.

Example:

feat(db): yay mega cool feature

Very long and useful description.

Fixes #1
Fixes #2

Component: pkgctl db remove

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

Dependencies

Runtime Dependencies

  • arch-install-scripts
  • awk
  • bash
  • binutils
  • coreutils
  • diffutils
  • fakeroot
  • findutils
  • grep
  • jq
  • ncurses
  • openssh
  • parallel
  • rsync
  • sed
  • systemd
  • util-linux
  • bzr
  • git
  • mercurial
  • subversion

Development Dependencies

  • asciidoc
  • make
  • shellcheck

License

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