You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2019/01/18 22:41:48 UTC

[tinkerpop] branch TINKERPOP-2125 updated (d7b1048 -> ff95667)

This is an automated email from the ASF dual-hosted git repository.

dkuppitz pushed a change to branch TINKERPOP-2125
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git.


    omit d7b1048  TINKERPOP-2125 Added source file check in release validation script
     new ff95667  TINKERPOP-2125 Added source file check in release validation script

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d7b1048)
            \
             N -- N -- N   refs/heads/TINKERPOP-2125 (ff95667)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 bin/validate-distribution.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[tinkerpop] 01/01: TINKERPOP-2125 Added source file check in release validation script

Posted by dk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dkuppitz pushed a commit to branch TINKERPOP-2125
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit ff95667c5dd114fb34ff24d2e72bf078c1b8647e
Author: Daniel Kuppitz <da...@hotmail.com>
AuthorDate: Wed Jan 16 12:34:10 2019 -0700

    TINKERPOP-2125 Added source file check in release validation script
---
 bin/validate-distribution.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index 55cb164..931a171 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -136,6 +136,20 @@ echo "OK"
 
 if [ "${TYPE}" = "SOURCE" ]; then
 cd ${DIR_NAME}
+echo -n "* checking source files ... "
+find . -type f | xargs -n1 -I {} file {} --mime | grep 'charset=binary' | cut -f1 -d: |
+  grep -Pv '^\./docs/(static|(site/home))/images/((icons|logos|policy|resources)/)?[^/]*\.(png|jpg|ico|pdf)$' |
+  grep -Pv '^./gremlin-dotnet/src/images/[^/]*\.(png|ico)$' |
+  grep -Pv '^./gremlin-dotnet/.*\.snk$' |
+  grep -Pv '^./gremlin-server/src/test/resources/[^/]*\.(p12|jks)$' |
+  grep -Pv '/(resources|data)/.*\.(kryo|json)$' > ../binary-files.txt
+if [ -s ../binary-files.txt ]; then
+  echo "Found unexpected binary files (see $(cd .. ; pwd)/binary-files.txt)"
+  exit 1
+else
+  rm -f ../binary-files.txt
+  echo "OK"
+fi
 echo -n "* building project ... "
 touch {gremlin-dotnet,gremlin-dotnet/src,gremlin-dotnet/test,gremlin-python,gremlin-javascript}/.glv
 LOG_FILE="${TMP_DIR}/mvn-clean-install-${VERSION}.log"