[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle/master] Set GIT_COMMITTER_{NAME, EMAIL, DATE} in preparation for applying patches.



commit b6947a08e1cac8ecb02c4ac087dc9d7f968ea3f6
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Dec 6 05:27:53 2013 +0000

    Set GIT_COMMITTER_{NAME,EMAIL,DATE} in preparation for applying patches.
    
    These values are included in the commit hash (which is in turn included
    in the tor source code as tor_git_revision).
    
    GIT_COMMITTER_NAME is probably always "Ubuntu" in our configuration, and
    GIT_COMMITTER_DATE isn't strictly needed as it's taken care of by
    libfaketime. But GIT_COMMITTER_EMAIL, if not set, is constructed as
    something like "ubuntu@$(hostname --fqdn)", which can vary between hosts
    even within the build VM.
---
 gitian/descriptors/linux/gitian-tor.yml   |    3 +++
 gitian/descriptors/mac/gitian-tor.yml     |    3 +++
 gitian/descriptors/windows/gitian-tor.yml |    3 +++
 3 files changed, 9 insertions(+)

diff --git a/gitian/descriptors/linux/gitian-tor.yml b/gitian/descriptors/linux/gitian-tor.yml
index 4181a38..28a2d5b 100644
--- a/gitian/descriptors/linux/gitian-tor.yml
+++ b/gitian/descriptors/linux/gitian-tor.yml
@@ -69,6 +69,9 @@ script: |
   #
   cd tor
   git update-index --refresh -q
+  export GIT_COMMITTER_NAME="nobody"
+  export GIT_COMMITTER_EMAIL="nobody@localhost"
+  export GIT_COMMITTER_DATE="$REFERENCE_DATETIME"
   mkdir -p $OUTDIR/src
   #git archive HEAD | tar -x -C $OUTDIR/src
   ./autogen.sh
diff --git a/gitian/descriptors/mac/gitian-tor.yml b/gitian/descriptors/mac/gitian-tor.yml
index 6a14980..e6e4528 100644
--- a/gitian/descriptors/mac/gitian-tor.yml
+++ b/gitian/descriptors/mac/gitian-tor.yml
@@ -85,6 +85,9 @@ script: |
   #
   cd tor
   git update-index --refresh -q
+  export GIT_COMMITTER_NAME="nobody"
+  export GIT_COMMITTER_EMAIL="nobody@localhost"
+  export GIT_COMMITTER_DATE="$REFERENCE_DATETIME"
   mkdir -p $OUTDIR/src
   git archive HEAD | tar -x -C $OUTDIR/src
   ./autogen.sh
diff --git a/gitian/descriptors/windows/gitian-tor.yml b/gitian/descriptors/windows/gitian-tor.yml
index 1d7ea7c..cd1838d 100644
--- a/gitian/descriptors/windows/gitian-tor.yml
+++ b/gitian/descriptors/windows/gitian-tor.yml
@@ -81,6 +81,9 @@ script: |
   #
   cd tor
   git update-index --refresh -q
+  export GIT_COMMITTER_NAME="nobody"
+  export GIT_COMMITTER_EMAIL="nobody@localhost"
+  export GIT_COMMITTER_DATE="$REFERENCE_DATETIME"
   mkdir -p $OUTDIR/src
   git archive HEAD | tar -x -C $OUTDIR/src
   ./autogen.sh



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits