You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bd...@apache.org on 2004/03/05 15:11:33 UTC

cvs commit: cocoon-2.1/tools/relicense check-diffs.sh

bdelacretaz    2004/03/05 06:11:33

  Added:       tools/relicense check-diffs.sh
  Log:
  check-diffs.sh added to check relicensing diffs (bugzilla 27467)
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/tools/relicense/check-diffs.sh
  
  Index: check-diffs.sh
  ===================================================================
  #!/bin/sh
  # checks diffs during relicense process
  # see bugzilla 27467
  
  if [[ "$1" != "-q" ]]
  then
      cat << EOF
      This is meant to check the output of
  
          cvs -z3 diff -r  ASF_20_BEFORE .
  
      To make sure diffs only include license-related stuff.
  
      See
          http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27467
      for more info
  
  EOF
  fi
  
  EXPR="\*.*\*|Copyright|Licensed|ou may|LICENSE-2.0|Unless|distributed|RCS file|Apache Cocoon|THIS SOFTWARE|INCLUDING|FITNESS|APACHE SOFTWARE|INDIRECT|DING,|OF USE|ANY THEORY|This software|on behalf|information on the|Software Foundation|THEORY OF LIAB|WARRANTIES|the License|Redistributions|this list|or other mat|end-user documentation included|following ack|this ack|used to  endorse|prior written|derived from|without prior|Apache Software License|Redistribution and use|are permitted|include *the following|acknowledge?ment may|apache@apache.org|Apache Software  Foundation|and wherever|retrieving revision|@version|\*|^\> ?|^< ?|=============================|---|^Index:|^diff |^[0-9]+\,[0-9]+[a-z].*|[0-9]+[a-z][0-9]+"
  egrep -v "$EXPR"