[arch-projects] [devtools] [GIT] The official devtools repository branch master updated. 20191016-20-g4c803b9
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official devtools repository". The branch, master has been updated via 4c803b9db8f6395c610c96bd090d1ba2ced82a9c (commit) via 104c5bc90e259028f5c9352a32f8976aa0f95a8d (commit) via cee28a1b13ddd0f60b2466b20a43f04a4bf5df54 (commit) via e0f82d394717efb28537f0a366b4a5b3515354b6 (commit) via 74313db9ee243b30b48d355f88b3c8971b90161f (commit) via 2c611d20bdd04feae6ab32a7ef8947aeb4118604 (commit) via ca4d348c86de0a466d48e6d99ac390729707c317 (commit) via 2fb1cc2dd2c2171bd2c078a37f871de45b0fe118 (commit) via bcba56640536406b860fa7364357659b51d0aea5 (commit) via f8f2f0202804a7c6001a98295ec35d43ec5f809c (commit) via 68f0bff172f77390dfad798f12e4a56e0c1f35d4 (commit) via f85a58a0a630d44285532693b61d4b8a58dee495 (commit) via 20eec484fadd7212367749ee7cd37d3aa18e8c4e (commit) via 6fffbfbc8af6b1194b977582fe3cb308b550f864 (commit) from 001726337972f35e1907f6460831c3c3c9d656e4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4c803b9db8f6395c610c96bd090d1ba2ced82a9c Author: Levente Polyak <anthraxx@archlinux.org> Date: Sat Nov 30 13:30:34 2019 +0100 Version 20191130 commit 104c5bc90e259028f5c9352a32f8976aa0f95a8d Author: Levente Polyak <anthraxx@archlinux.org> Date: Sat Nov 30 13:13:49 2019 +0100 makechrootpkg: sync database for checkpkg to avoid nonexistent targets For build servers or similar infrastructure its relatively common to not sync/update the database regularly. This leads to problems properly running checkpkg duo to nonexistent target files that we try to download. As building on build servers is a very common use case, lets ensure we sync the local database before trying to resolve the package locations. commit cee28a1b13ddd0f60b2466b20a43f04a4bf5df54 Author: Levente Polyak <anthraxx@archlinux.org> Date: Sat Nov 30 13:09:14 2019 +0100 makechrootpkg: check local pkg versions before downloading for checkpkg Avoid always trying to download and output the according message. Add checks for packages either not being available in the repo or all variants have up to date versions stored in the local cache. commit e0f82d394717efb28537f0a366b4a5b3515354b6 Author: Levente Polyak <anthraxx@archlinux.org> Date: Thu Nov 28 21:50:15 2019 +0100 completion: add makerepropkg zsh completion commit 74313db9ee243b30b48d355f88b3c8971b90161f Author: Levente Polyak <anthraxx@archlinux.org> Date: Thu Nov 28 21:49:43 2019 +0100 completion: reflect new -U mkarchchroot option commit 2c611d20bdd04feae6ab32a7ef8947aeb4118604 Author: Ivy Foster <escondida@iff.ink> Date: Thu Nov 21 18:08:25 2019 -0600 lib/common.sh: do not use colors when running on a dumb terminal commit ca4d348c86de0a466d48e6d99ac390729707c317 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Sun Nov 17 21:24:02 2019 -0500 doc: add manpage for the new makerepropkg tool Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit 2fb1cc2dd2c2171bd2c078a37f871de45b0fe118 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Wed Feb 13 17:14:00 2019 -0500 makerepropkg: add new program to try to reproducibly build a package This attempts to recreate a package that was probably created using makechrootpkg, and see if it conforms to the https://reproducible-builds.org/ specification. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit bcba56640536406b860fa7364357659b51d0aea5 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Tue Sep 3 18:40:00 2019 -0400 mkarchroot: support wrapping pacstrap -U Needed to support reproducible builds. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit f8f2f0202804a7c6001a98295ec35d43ec5f809c Author: Eli Schwartz <eschwartz@archlinux.org> Date: Sat Nov 9 22:13:00 2019 -0500 archbuild: use better umask In commit 40a90e2cab479cc64903a62b42eb617a8a7e5842 we tried to protect against system umasks resulting in unreadable chroots. However, we tried to do this in a targeted manner due to not wanting to fiddle with permissions for user-owned files. Unfortuantely, mkdir -p -m755 does not actually work that way -- the parent directory is created with broken permissions. We need umask. Run umask and mkdir in a subshell to prevent leakage. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit 68f0bff172f77390dfad798f12e4a56e0c1f35d4 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Fri Nov 8 09:40:09 2019 -0500 commitpkg: clearly delineate the commit message template and the rationale In commit 75d23eec942e7160108ee194894b6b83ed3045d5 we moved to include commitpkg arguments as the first line of the svn commit message, but we simply dumped the result after the version number without separating the two, increasing the cognitive burden of parsing the rationale. Since the whole point of the change was to make it easier to see what happened when using git log --oneline (reducing the cognitive burden of parsing 'pretty' output with author/date info), it makes sense to also delineate the reason correctly. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit f85a58a0a630d44285532693b61d4b8a58dee495 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Wed Oct 2 11:21:33 2019 -0400 arch-nspawn: rely on deduplication to avoid making multiple host_mirror mounts Instead of comparing exact mirror urls to see if they are in host_mirrors in order to "skip" the official mirrors Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> commit 20eec484fadd7212367749ee7cd37d3aa18e8c4e Author: Levente Polyak <anthraxx@archlinux.org> Date: Thu Nov 7 22:28:17 2019 +0100 offload-build: remove empty src dir when SRCDEST is set Right now there is a bug in makepkg that leaves back an empty src directory if SRCDEST is set. This is purely cosmetic, but lets just politely try to rmdir it and fail silently if its empty or non-existent. Signed-off-by: Levente Polyak <anthraxx@archlinux.org> commit 6fffbfbc8af6b1194b977582fe3cb308b550f864 Author: Levente Polyak <anthraxx@archlinux.org> Date: Thu Nov 7 22:19:12 2019 +0100 offload-build: catch more signals to be sure SRCPKGDEST gets cleaned It may be not enough to just listen on EXIT depending on the shell used so lets make sure we clean up SRCPKGDEST by listening to more sigs. Signed-off-by: Levente Polyak <anthraxx@archlinux.org> ----------------------------------------------------------------------- Summary of changes: .gitignore | 1 + Makefile | 4 +- arch-nspawn.in | 16 ++-- archbuild.in | 2 +- commitpkg.in | 2 +- doc/makerepropkg.1.asciidoc | 38 +++++++++ doc/mkarchroot.1.asciidoc | 3 + lib/common.sh | 2 +- makechrootpkg.in | 18 +++-- makerepropkg.in | 190 ++++++++++++++++++++++++++++++++++++++++++++ mkarchroot.in | 13 ++- offload-build | 6 +- zsh_completion.in | 10 ++- 13 files changed, 280 insertions(+), 25 deletions(-) create mode 100644 doc/makerepropkg.1.asciidoc create mode 100755 makerepropkg.in hooks/post-receive -- The official devtools repository
On 11/30/19 7:31 AM, Levente Polyak via arch-projects wrote: Generally some nice improvements, but what is the deal with this???
commit 104c5bc90e259028f5c9352a32f8976aa0f95a8d Author: Levente Polyak <anthraxx@archlinux.org> Date: Sat Nov 30 13:13:49 2019 +0100
makechrootpkg: sync database for checkpkg to avoid nonexistent targets
For build servers or similar infrastructure its relatively common to not sync/update the database regularly. This leads to problems properly running checkpkg duo to nonexistent target files that we try to download. As building on build servers is a very common use case, lets ensure we sync the local database before trying to resolve the package locations.
This commit means that devtools is not suitable for installation on any archlinux system (including the systems owned and maintained by Developers and Trusted Users) other than the single build server which you've declared to be a common, yet not exclusive, use case of devtools. One can solve the problem with outdated databases by regularly updating, or by having dragon.archlinux.org do a periodic pacman -Sy and relying on devops to not break the box by using pacman -S without -u. Devtools is now a direct cause of noncompliance with https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are..., and this will affect both users who follow the recommended best practices to build/test AUR packages using extra-x86_64-build, as well as Developers and Trusted Users who prefer to build on their own hardware, but do not expect running extra-x86_64-build to sneakily modify their pacman database out from under them. Please revert. -- Eli Schwartz Bug Wrangler and Trusted User
participants (2)
-
Eli Schwartz
-
Levente Polyak