[ARVADOS-DEV] updated: f5c0804e329500d619fe184ccffbccdfd973d7cd

Git user git at public.curoverse.com
Wed May 23 17:49:19 EDT 2018


Summary of changes:
 git/hooks/check-copyright-headers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  f5c0804e329500d619fe184ccffbccdfd973d7cd (commit)
      from  dceecad87e765ad94fec9f7d6b7bd6d2816f225c (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.


commit f5c0804e329500d619fe184ccffbccdfd973d7cd
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date:   Wed May 23 17:47:20 2018 -0400

    Change the pattern matching for our copyright header so that it doesn't croak
    on files that are copyright someone else.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>

diff --git a/git/hooks/check-copyright-headers.sh b/git/hooks/check-copyright-headers.sh
index 1eccfe4..18796f2 100755
--- a/git/hooks/check-copyright-headers.sh
+++ b/git/hooks/check-copyright-headers.sh
@@ -45,7 +45,7 @@ for rev in $(git rev-list --objects $2..$3 | git cat-file --batch-check='%(objec
   done
   if [[ ${ignore} = 1 ]]; then continue; fi
 
-  HEADER=`git show ${sha} | head -n20 | egrep -A3 -B1 'Copyright.*Arvados'`
+  HEADER=`git show ${sha} | head -n20 | egrep -A3 -B1 'Copyright.*All rights reserved.'`
 
   if [[ ! "$HEADER" =~ "SPDX-License-Identifier:" ]]; then
     if [[ "$EXITCODE" == "0" ]]; then

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list