Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Eli Schwartz 8f5a02b23d
Don't rely on $0 to determine script names.
Programs can freely define the value of argv0 and thus it means nothing.
Instead, use the bash-specific variable explicitly designed to safely
and accurately reference the name of the currently sourced file.

This also fixes the case where simple debugging mechanisms like using
"bash -x foo" tried to treat "foo" as the unqualified $0 and therefore
broke horribly due to lack of pathnames.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2019-08-09 19:41:51 +02:00
doc doc: add manpage for the new offload-build tool 2019-06-12 23:42:10 +02:00
lib Don't rely on $0 to determine script names. 2019-08-09 19:41:51 +02:00
.gitignore sogrep: don't be templated when it is not templated 2019-03-28 21:17:50 +01:00
.travis.yml ci: adding travis support for basic check 2019-01-22 03:33:53 +01:00
Makefile Makefile: don't inject DESTDIR into the pkgdatadir 2019-08-09 19:40:05 +02:00
PKGBUILD.proto Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.proto 2017-07-05 18:21:56 +02:00
README.md readme: fix faulty whitespace in release commands 2019-03-29 21:40:28 +01:00
arch-nspawn.in arch-nspawn should not take pacman cache from host 2019-08-09 19:41:51 +02:00
archbuild.in fix whitespace/indentation errors 2019-04-20 17:58:55 +02:00
archco.in Avoid using string interpolation; use printf format strings instead. 2017-04-05 22:11:16 +02:00
archrelease.in archrelease: Whitespace adjustment 2017-07-05 18:35:16 +02:00
bash_completion.in Quote strings that shellcheck warns about. 2017-07-05 18:21:56 +02:00
checkpkg.in Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.proto 2017-07-05 18:21:56 +02:00
commitpkg.in Remove i686 support 2017-11-08 14:22:56 +01:00
crossrepomove.in crossrepomove: do not set svn propset 2019-03-13 22:06:00 +01:00
find-libdeps.in Don't rely on $0 to determine script names. 2019-08-09 19:41:51 +02:00
finddeps.in Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.proto 2017-07-05 18:21:56 +02:00
lddd.in Make slightly more involved changes to make shellcheck happy. 2017-07-05 18:21:56 +02:00
makechrootpkg.in makechrootpkg: load makepkg.conf variables correctly 2019-08-09 19:40:05 +02:00
makepkg-x86_64.conf conf: sync makepkg.conf with latest version from pacman package 2019-02-09 14:27:31 +01:00
mkarchroot.in Revert "mkarchroot: Don't let the environment affect pacstrap (sans proxy settings)." 2019-08-09 19:41:51 +02:00
offload-build offload-build: disable shellcheck false-positive for shell-escape 2019-06-13 00:17:11 +02:00
pacman-extra.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-gnome-unstable.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-kde-unstable.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-multilib-staging.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-multilib-testing.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-multilib.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-staging.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
pacman-testing.conf Update bundled pacman and makepkg configuration 2016-02-07 10:12:56 +01:00
rebuildpkgs.in Don't rely on $0 to determine script names. 2019-08-09 19:41:51 +02:00
sogrep add sogrep command 2019-03-28 21:17:55 +01:00
zsh_completion.in remove arch rm as it's not really useful 2019-02-24 13:37:37 +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.

Patches

Patches can be send to arch-projects@archlinux.org or via a pull request on Github. When sending patches to the mailing list make sure to set a valid subjectprefix otherwise the email is denied by mailman. Git can be configured as following.

git config format.subjectprefix 'devtools] [PATCH'

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