1cf402eae9
The adequate target repo options are not appropriately forwarded to the release subcommand if the auto-release options is activated. Previously we did not restrict the --repo option, which the build option has used as a shortcut. Since last release, this option is restricted to new packages that are not in any official repository yet. Fix this issue by forwarding the same target repo options that have been used during the build command and not forcefully the --repo options. Fixes #209 Component: pkgctl build Signed-off-by: Levente Polyak <anthraxx@archlinux.org> |
||
---|---|---|
config | ||
contrib | ||
doc | ||
src | ||
test/bin | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
cliff.toml |
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
- bump the version in the Makefile
- Commit everything as
Version $(date +"%Y%m%d")
- Create a new tag
git tag -s $(date +"%Y%m%d")
- Push changes
- Upload the source tarball with
make dist upload
- Update the package
Dependencies
Runtime Dependencies
- arch-install-scripts
- awk
- bash
- binutils
- coreutils
- curl
- diffutils
- fakeroot
- findutils
- grep
- jq
- ncurses
- openssh
- parallel
- rsync
- sed
- systemd
- util-linux
- bzr
- git
- mercurial
- subversion
Optional Dependencies
- bat (pretty printing)
- nvchecker (version checking)
Development Dependencies
- asciidoc
- make
- shellcheck
License
Devtools is licensed under the terms of the GPL-3.0-or-later (see LICENSE).