mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 09:56:18 +02:00
Compare commits
4 Commits
6dd555ed1f
...
morten/reu
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a23569bb05 | ||
![]() |
40f31f98a3 | ||
![]() |
c6f5d72708 | ||
![]() |
b4a5e5dbd9 |
@@ -61,7 +61,7 @@ _pkgctl_build_args=(
|
|||||||
'--update-checksums[Force computation and update of the checksums (disables auto-detection)]'
|
'--update-checksums[Force computation and update of the checksums (disables auto-detection)]'
|
||||||
'(-e --edit)'{-e,--edit}'[Edit the PKGBUILD before building]'
|
'(-e --edit)'{-e,--edit}'[Edit the PKGBUILD before building]'
|
||||||
'(-r --release)'{-r,--release}'[Automatically commit, tag and release after building]'
|
'(-r --release)'{-r,--release}'[Automatically commit, tag and release after building]'
|
||||||
'(-m --message=)'{-m,--message=}"[Use the given <msg> as the commit message]:message:"
|
'(-m --message)'{-m,--message}"[Use the given <msg> as the commit message]:message:"
|
||||||
'(-u --db-update)'{-u,--db-update}'[Automatically update the pacman database as last action]'
|
'(-u --db-update)'{-u,--db-update}'[Automatically update the pacman database as last action]'
|
||||||
'(-h --help)'{-h,--help}'[Display usage]'
|
'(-h --help)'{-h,--help}'[Display usage]'
|
||||||
'*:git_dir:_files -/'
|
'*:git_dir:_files -/'
|
||||||
@@ -201,7 +201,7 @@ _pkgctl_issue_view_args=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
_pkgctl_release_args=(
|
_pkgctl_release_args=(
|
||||||
'(-m --message=)'{-m,--message=}"[Use the given <msg> as the commit message]:message:"
|
'(-m --message)'{-m,--message}"[Use the given <msg> as the commit message]:message:"
|
||||||
'(-r --repo)'{-r,--repo}"[Specify a target repository for new packages]:repo:($DEVTOOLS_VALID_REPOS[*])"
|
'(-r --repo)'{-r,--repo}"[Specify a target repository for new packages]:repo:($DEVTOOLS_VALID_REPOS[*])"
|
||||||
'(-s --staging)'{-s,--staging}'[Release to the staging counterpart of the auto-detected repo]'
|
'(-s --staging)'{-s,--staging}'[Release to the staging counterpart of the auto-detected repo]'
|
||||||
'(-t --testing)'{-t,--testing}'[Release to the testing counterpart of the auto-detected repo]'
|
'(-t --testing)'{-t,--testing}'[Release to the testing counterpart of the auto-detected repo]'
|
||||||
|
@@ -120,6 +120,14 @@ if (( ${#validpgpkeys[@]} != 0 )); then
|
|||||||
git add --force -- keys/pgp/*
|
git add --force -- keys/pgp/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Allow us to disable REUSE
|
||||||
|
_RUN_REUSE=${_RUN_REUSE:-1}
|
||||||
|
if ((_RUN_REUSE)); then
|
||||||
|
reuse download
|
||||||
|
reuse lint
|
||||||
|
git add --force -- LICENSES/*
|
||||||
|
fi
|
||||||
|
|
||||||
# find files which should be under source control
|
# find files which should be under source control
|
||||||
needsversioning=(PKGBUILD)
|
needsversioning=(PKGBUILD)
|
||||||
for s in "${source[@]}"; do
|
for s in "${source[@]}"; do
|
||||||
|
@@ -42,10 +42,10 @@ pkgctl_build_usage() {
|
|||||||
|
|
||||||
Build packages inside a clean chroot
|
Build packages inside a clean chroot
|
||||||
|
|
||||||
When a new pkgver is set using the appropriate PKGBUILD options the
|
Build packages in clean chroot environment, offering various options
|
||||||
checksums are automatically updated.
|
and functionalities to customize the package building process.
|
||||||
|
|
||||||
TODO
|
By default, chroot environments are located in /var/lib/archbuild/.
|
||||||
|
|
||||||
BUILD OPTIONS
|
BUILD OPTIONS
|
||||||
--arch ARCH Specify architectures to build for (disables auto-detection)
|
--arch ARCH Specify architectures to build for (disables auto-detection)
|
||||||
|
@@ -18,6 +18,9 @@ export LANG=C.UTF-8
|
|||||||
# Avoid systemd trying to color the terminal on systemd-nspawn
|
# Avoid systemd trying to color the terminal on systemd-nspawn
|
||||||
export SYSTEMD_TINT_BACKGROUND=no
|
export SYSTEMD_TINT_BACKGROUND=no
|
||||||
|
|
||||||
|
# Avoid diffoscope looking at remote debug info through readelf
|
||||||
|
unset DEBUGINFOD_URLS
|
||||||
|
|
||||||
# Set buildtool properties
|
# Set buildtool properties
|
||||||
export BUILDTOOL=devtools
|
export BUILDTOOL=devtools
|
||||||
export BUILDTOOLVER=@buildtoolver@
|
export BUILDTOOLVER=@buildtoolver@
|
||||||
|
Reference in New Issue
Block a user