Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Levente Polyak a08bc2acf4
feature(clone): add protocol option to force cloning over HTTPS
This is a rather quick and simple implementation to override the current
logic and force clone with HTTPS. Allowing to explicitly clone over HTTPS
is currently required to unblock reproducible builds where no ssh keys
and GitLab user accounts are set up as of now. Hence this quick solution
comes into play to mitigate the regression on reproducible builds
builders.

Revisit the overall auto detection and protocol logic approach for a
later release related to some ideas floating around in pending
merge-requests.

Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2023-05-24 02:50:08 +02:00
config config: update pacman configs for new repository layout 2023-05-20 00:08:13 +02:00
contrib feature(clone): add protocol option to force cloning over HTTPS 2023-05-24 02:50:08 +02:00
doc feature(clone): add protocol option to force cloning over HTTPS 2023-05-24 02:50:08 +02:00
src feature(clone): add protocol option to force cloning over HTTPS 2023-05-24 02:50:08 +02: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 Version 1.0.0 2023-05-21 12:25:44 +02:00
README.md doc: add dependency declaration to the README.md 2023-05-20 00:08:12 +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

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

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
  • 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).