[ 
https://issues.apache.org/jira/browse/TINKERPOP3-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marko A. Rodriguez closed TINKERPOP3-852.
-----------------------------------------
    Resolution: Fixed

I tested the script on my Mac OSX and it worked. This is a very cool tool.

Still weird how on my Mac it has `U` prefixes everywhere. Regardless, it works.

{code}
$ bin/validate-distribution.sh 3.0.1-incubating

Validating binary distributions

* downloading Uapache Ugremlin Uconsole 
(apache-gremlin-console-3.0.1-incubating-bin.zip)... OK
* validating signatures and checksums ...
  * PGP signature ... OK
  * MD5 checksum ... OK
  * SHA1 chacksum ... OK
* unzipping Uapache Ugremlin Uconsole ... OK
* validating Uapache Ugremlin Uconsole's docs ... OK
* validating Uapache Ugremlin Uconsole's binaries ... OK
* validating Uapache Ugremlin Uconsole's legal files ...
  * LICENSE ... OK
  * NOTICE ... OK
  * DISCLAIMER ... OK
* validating Uapache Ugremlin Uconsole's plugin directory ... OK
* validating Uapache Ugremlin Uconsole's lib directory ... OK
* testing script evaluation ... OK

* downloading Uapache Ugremlin Userver 
(apache-gremlin-server-3.0.1-incubating-bin.zip)... OK
* validating signatures and checksums ...
  * PGP signature ... OK
  * MD5 checksum ... OK
  * SHA1 chacksum ... OK
* unzipping Uapache Ugremlin Userver ... OK
* validating Uapache Ugremlin Userver's docs ... OK
* validating Uapache Ugremlin Userver's binaries ... OK
* validating Uapache Ugremlin Userver's legal files ...
  * LICENSE ... OK
  * NOTICE ... OK
  * DISCLAIMER ... OK
* validating Uapache Ugremlin Userver's plugin directory ... OK
* validating Uapache Ugremlin Userver's lib directory ... OK

Validating source distribution

* downloading Uapache Utinkerpop U3.0.1 
(apache-tinkerpop-3.0.1-incubating-src.zip)... OK
* validating signatures and checksums ...
  * PGP signature ... OK
  * MD5 checksum ... OK
  * SHA1 chacksum ... OK
* unzipping Uapache Utinkerpop U3.0.1 ... OK
* building project ... OK
{code}

> A shell script that validates the distribution artifacts at release time
> ------------------------------------------------------------------------
>
>                 Key: TINKERPOP3-852
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-852
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: build-release
>    Affects Versions: 3.0.1-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Daniel Kuppitz
>             Fix For: 3.1.0-incubating, 3.0.2-incubating
>
>
> Write a {{test-artifacts.sh}} that will do the following.
> * Download the {{apache-gremlin-console-x.y.z.zip}} (and {{-server}} and 
> {{-source}}).
> * Unzip and make sure its not corrupt.
> * Check to make sure that {{doc/}} directory exists ({{index.html}} there? 
> {{images/}} there?)
> * Check to make sure that {{javadocs/}} directory exists. {{index.html}} ? 
> {{GraphTraversal.html}}.
> * Check MD5, PGP, SHA1 against .zip.
> * Check  {{bin/}} to make sure .bat and .sh are there and filesize not 0.
> * Check LICENSE, NOTICE, DISCLAIMER, etc. exist and filesize is reasonable 
> and that its valid ASCII text (not some corrupted stuff).
> *  Check {{ext/}} directory exists and default plugins there.
> *  Check {{lib/}} directory and jars are there and folder size is 
> "reasonable."
> * Run {{gremlin.sh}}. Pipe in a script and make sure result is correct and 
> exit code is 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to