#!/bin/sh # This hook script prevents the user from pushing to Savannah if any of the new # commits' OpenPGP signatures cannot be verified. # Called by "git push" after it has checked the remote status, but before # anything has been pushed. If this script exits with a non-zero status nothing # will be pushed. # # This hook is called with the following parameters: # # $1 -- Name of the remote to which the push is being done # $2 -- URL to which the push is being done # # If pushing without using a named remote those arguments will be equal. # # Information about the commits which are being pushed is supplied as lines to # the standard input in the form: # # z40=0000000000000000000000000000000000000000 # Only use the hook when pushing to Savannah. case "$2" in *git.sv.gnu.org*) break ;; *) exit 0 ;; esac while read local_ref local_sha remote_ref remote_sha do if [ "$local_sha" = $z40 ] then # Handle delete : else if [ "$remote_sha" = $z40 ] then # We are pushing a new branch. To prevent wasting too # much time for this relatively rare case, we examine # all commits since the first signed commit, rather than # the full history. This check *will* fail, and the user # will need to temporarily disable the hook to push the # new branch. range="e3d0fcbf7e55e8cbe8d0a1c5a24d73f341d7243b..$local_sha" else # Update to existing branch, examine new commits range="$remote_sha..$local_sha" fi # Verify the signatures of all commits being pushed. ret=0 for commit in $(git rev-list $range) do if ! git verify-commit $commit >/dev/null 2>&1 then printf "%s failed signature check\n" $commit ret=1 fi done exit $ret fi done exit 0 log msg
AgeCommit message (Expand)Author
2024-10-07gnu: sdl2-gamecontrollerdb: Update to 0-2.414eaee....* gnu/packages/sdl.scm (sdl2-gamecontrollerdb): Update to 0-2.414eaee. Change-Id: I3e4aea7f2881aebdb24dffdaa38a2248aa00e6bf Maxim Cournoyer
2024-10-07gnu: sdl2-gamecontrollerdb: Update source URL and home page....* gnu/packages/sdl.scm (sdl2-gamecontrollerdb) [source]: Update URL. [home-page]: Likewise. Change-Id: Ia204917b8bd076063cc43a3894fbca74ee4d256a Maxim Cournoyer
2024-08-31gnu: sdl: Replace with sdl12-compat....* gnu/packages/sdl.scm (sdl12-compat): New package. (sdl): Remove package, defined as sdl12-compat. (sdl2): Don't inherit from sdl. (propagated-inputs-with-sdl2): Add case for sdl12-compat. * gnu/packages/patches/sdl-libx11-1.6.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Unregister it. Change-Id: I843d349b3d69164cc640c7db204464a51819a0df Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 宋文武
2024-08-05Change email of Evgeny Pisemsky....* .mailmap: Add entry to Evgeny Pisemsky. * gnu/packages/emacs-xyz.scm, gnu/packages/engineering.scm, gnu/packages/guile-xyz.scm, gnu/packages/hardware.scm, gnu/packages/perl.scm, gnu/packages/python-xyz.scm, gnu/packages/sdl.scm, gnu/packages/web.scm: Adjust copyright line. Change-Id: I9a10be1ee7cc164f18d826b51348ee26eee2ca4b Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Evgeny Pisemsky
2024-07-18gnu: sdl2-gamecontrollerdb: Update to 0-1.9d09945....* gnu/packages/sdl.scm (sdl2-gamecontrollerdb): Update to 0-1.9d09945. Change-Id: I593fdac1ae4c8e439e2b29eab5880a6acdde80bc Signed-off-by: Christopher Baines <mail@cbaines.net> Evgeny Pisemsky
2024-03-31gnu: sdl2: Update to 2.30.1....* gnu/packages/sdl.scm (sdl2): Update to 2.30.1. Change-Id: I0417cfaa0af55df63f731efad420de9f2b81a3d9 Signed-off-by: John Kehayias <john.kehayias@protonmail.com> dan
2023-11-05gnu: sdl2: Update to 2.28.5....* gnu/packages/sdl.scm (sdl2): Update to 2.28.5. Change-Id: I853776bf82e84499486d32012a9b3a4636226668 John Kehayias
2023-11-05gnu: sdl2: Add vulkan-loader to rpath....* gnu/packages/sdl.scm (sdl2)[arguments]: Append the path of libvulkan.so to rpath. [inputs]: Add vulkan-loader. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I17c8388f5f7b3bb063b79fd4981263994da129c0 dan
2023-10-27gnu: Add sdl2-gamecontrollerdb....* gnu/packages/sdl.scm (sdl2-gamecontrollerdb): New variable. Evgeny Pisemsky