From ef148d7d14ce2f6782d47186bc944851893e39eb Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Fri, 5 Mar 2021 15:02:38 +0100 Subject: Fix list-constributors.sh script. --- dev/tools/list-contributors.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 dev/tools/list-contributors.sh diff --git a/dev/tools/list-contributors.sh b/dev/tools/list-contributors.sh old mode 100644 new mode 100755 index c968f2e952..0b0d01c7e2 --- a/dev/tools/list-contributors.sh +++ b/dev/tools/list-contributors.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # For compat with OSX which has a non-gnu sed which doesn't support -z -SED=`which gsed || which sed` +SED=`(which gsed || which sed) 2> /dev/null` if [ $# != 1 ]; then - error "usage: $0 rev0..rev1" + echo "usage: $0 rev0..rev1" exit 1 fi git shortlog -s -n --group=author --group=trailer:Co-authored-by $1 | cut -f2 | sort -k 2 | grep -v -e "coqbot" -e "^$" > contributors.tmp cat contributors.tmp | wc -l | xargs echo "Contributors:" -cat contributors.tmp | gsed -z "s/\n/, /g" +cat contributors.tmp | $SED -z "s/\n/, /g" echo rm contributors.tmp -- cgit v1.2.3 From afa4882102d627ce5be6821f591f3bf42fe74324 Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Fri, 5 Mar 2021 15:03:59 +0100 Subject: Document the relation of the list-contributors.sh script to .mailmap. --- dev/doc/release-process.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/doc/release-process.md b/dev/doc/release-process.md index 57c325f698..1697a19668 100644 --- a/dev/doc/release-process.md +++ b/dev/doc/release-process.md @@ -114,6 +114,11 @@ list of contributors between Coq revisions. Typically used with `VX.X+alpha..vX.X` to check the contributors of version `VX.X`. + Note that this script relies on `.mailmap` to merge multiple + identities. If you notice anything incorrect while using it, use + the opportunity to fix the `.mailmap` file. Same thing if you want + to have the full name of a contributor shown instead of a pseudonym. + ## For each release (preview, final, patch-level) ## - [ ] Ensure that there exists a milestone for the following version. -- cgit v1.2.3 From 4927211d7139730fdd8cfe1319b03c11c1659639 Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Fri, 5 Mar 2021 15:04:09 +0100 Subject: Fix the .mailmap. --- .mailmap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index 6474a9d164..c30a4298e0 100644 --- a/.mailmap +++ b/.mailmap @@ -22,6 +22,7 @@ Yves Bertot Yves Bertot Yves Bertot Yves Bertot Yves Bertot Yves Bertot Frédéric Besson fbesson +Frédéric Besson BESSON Frederic Siddharth Bhat Siddharth Lasse Blaauwbroek Lasse Blaauwbroek Simon Boulier SimonBoulier @@ -72,6 +73,7 @@ Vincent Gross vgross huang Hugo Herbelin herbelin Hugo Herbelin Hugo Herbelin +Wolf Honore whonore Jasper Hugunin Jasper Hugunin Tom Hutchinson thutchin Cezary Kaliszyk cek @@ -91,7 +93,6 @@ Larry Darryl Lee Jr. llee454@gmail.com Xavier Leroy Pierre Letouzey letouzey Pierre Letouzey letouzey -Xia Li-yao Lysxia Yishuai Li Yishuai Li Assia Mahboubi amahboub Kenji Maillard Kenji Maillard @@ -154,6 +155,9 @@ Laurent Théry Laurent Théry thery Anton Trunov Anton Trunov Benjamin Werner werner +Li-yao Xia Lysxia +Li-yao Xia Xia Li-yao +Li-yao Xia Xia Li-yao Wang Zhuyang hawnzug Beta Ziliani Beta Ziliani Beta Ziliani beta -- cgit v1.2.3 From 9955d2dfe778e41e447cb3ae71e708c7a3716f0d Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Fri, 5 Mar 2021 15:08:36 +0100 Subject: Update nixpkgs. To get the right version of git to use the list-contributors.sh script. --- default.nix | 2 +- dev/nixpkgs.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index f838f17d07..4700a6ed64 100644 --- a/default.nix +++ b/default.nix @@ -33,7 +33,7 @@ }: with pkgs; -with stdenv.lib; +with pkgs.lib; stdenv.mkDerivation rec { diff --git a/dev/nixpkgs.nix b/dev/nixpkgs.nix index a582a70e0a..37e39a99a9 100644 --- a/dev/nixpkgs.nix +++ b/dev/nixpkgs.nix @@ -1,4 +1,4 @@ import (fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/0bbeca2ff952e6a171534793ddd0fa97c8f9546a.tar.gz"; - sha256 = "0h1y4ffvyvkqs6k2pak02pby25va7c6c1y4p8xkwlzqwswxqxvfl"; + url = "https://github.com/NixOS/nixpkgs/archive/5c7a370a208d93d458193fc05ed84ced0ba7f387.tar.gz"; + sha256 = "1jkn71xscsk4rb0agbp5saf06hy36qvy512zzh3881pkkn67i9js"; }) -- cgit v1.2.3