btashton commented on pull request #1382:
URL: https://github.com/apache/incubator-nuttx/pull/1382#issuecomment-655215286


   @adamfeuer I gave it ago against the release I just staged and it seemed to 
work.  A couple comments:
   1. When I put a bad release name in `9.1.0-RC2A` the downloads 404ed but the 
script kept running all the checks.  We should probably make sure we have the 
files that we are looking for.
   2. Can we quiet the wget it
   
   Thanks for putting this together.  The dir option is nice for checking prior 
to committing to the release staging SVN.
   
   ```
   ❯ curl -s 
https://raw.githubusercontent.com/apache/incubator-nuttx/9bc97e7c0dfe0d392e39f11419081cf48db3b8fd/tools/checkrelease.sh
 | bash /dev/stdin --release 9.1.0-RC2
   --2020-07-07 17:43:51--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/
   Resolving dist.apache.org (dist.apache.org)... 13.90.137.153
   Connecting to dist.apache.org (dist.apache.org)|13.90.137.153|:443... 
connected.
   HTTP request sent, awaiting response... 200 OK
   Length: 886 [text/html]
   Saving to: ‘/tmp/nuttx-checkrelease/dist.apache.org/index.html’
   
   dist.apache.org/index.html                
100%[==================================================================================>]
     886  --.-KB/s    in 0s      
   
   2020-07-07 17:43:59 (12.3 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/index.html’ saved [886/886]
   
   Loading robots.txt; please ignore errors.
   --2020-07-07 17:43:59--  https://dist.apache.org/robots.txt
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 165 [text/plain]
   Saving to: ‘/tmp/nuttx-checkrelease/dist.apache.org/robots.txt’
   
   dist.apache.org/robots.txt                
100%[==================================================================================>]
     165  --.-KB/s    in 0s      
   
   2020-07-07 17:44:00 (180 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/robots.txt’ saved [165/165]
   
   --2020-07-07 17:44:00--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-9.1.0-incubating.tar.gz
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 23767677 (23M) [application/gzip]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz’
   
   dist.apache.org/apache-nuttx-9.1.0-incuba 
100%[==================================================================================>]
  22.67M  8.90MB/s    in 2.5s    
   
   2020-07-07 17:44:05 (8.90 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz’ 
saved [23767677/23767677]
   
   --2020-07-07 17:44:05--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-9.1.0-incubating.tar.gz.asc
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 833 [application/pgp-signature]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz.asc’
   
   dist.apache.org/apache-nuttx-9.1.0-incuba 
100%[==================================================================================>]
     833  --.-KB/s    in 0s      
   
   2020-07-07 17:44:07 (34.1 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz.asc’
 saved [833/833]
   
   --2020-07-07 17:44:07--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-9.1.0-incubating.tar.gz.sha512
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 167 [text/plain]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz.sha512’
   
   dist.apache.org/apache-nuttx-9.1.0-incuba 
100%[==================================================================================>]
     167  --.-KB/s    in 0s      
   
   2020-07-07 17:44:09 (2.99 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-9.1.0-incubating.tar.gz.sha512’
 saved [167/167]
   
   --2020-07-07 17:44:09--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-apps-9.1.0-incubating.tar.gz
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 3756073 (3.6M) [application/gzip]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz’
   
   dist.apache.org/apache-nuttx-apps-9.1.0-i 
100%[==================================================================================>]
   3.58M  5.89MB/s    in 0.6s    
   
   2020-07-07 17:44:11 (5.89 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz’
 saved [3756073/3756073]
   
   --2020-07-07 17:44:11--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-apps-9.1.0-incubating.tar.gz.asc
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 833 [application/pgp-signature]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz.asc’
   
   dist.apache.org/apache-nuttx-apps-9.1.0-i 
100%[==================================================================================>]
     833  --.-KB/s    in 0s      
   
   2020-07-07 17:44:14 (13.3 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz.asc’
 saved [833/833]
   
   --2020-07-07 17:44:14--  
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC2/apache-nuttx-apps-9.1.0-incubating.tar.gz.sha512
   Reusing existing connection to dist.apache.org:443.
   HTTP request sent, awaiting response... 200 OK
   Length: 172 [text/plain]
   Saving to: 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz.sha512’
   
   dist.apache.org/apache-nuttx-apps-9.1.0-i 
100%[==================================================================================>]
     172  --.-KB/s    in 0s      
   
   2020-07-07 17:44:16 (2.81 MB/s) - 
‘/tmp/nuttx-checkrelease/dist.apache.org/apache-nuttx-apps-9.1.0-incubating.tar.gz.sha512’
 saved [172/172]
   
   FINISHED --2020-07-07 17:44:16--
   Total wall clock time: 25s
   Downloaded: 8 files, 26M in 3.2s (8.32 MB/s)
   Checking apache-nuttx-9.1.0-incubating.tar.gz sha512...
    OK: apache-nuttx-9.1.0-incubating.tar.gz sha512 hash matches.
   
   Checking apache-nuttx-9.1.0-incubating.tar.gz GPG signature:
    OK: apache-nuttx-9.1.0-incubating.tar.gz gpg signature matches.
   
   Checking apache-nuttx-9.1.0-incubating.tar.gz for required files:
    OK: all required files exist in nuttx.
   
   Checking apache-nuttx-apps-9.1.0-incubating.tar.gz sha512...
    OK: apache-nuttx-apps-9.1.0-incubating.tar.gz sha512 hash matches.
   
   Checking apache-nuttx-apps-9.1.0-incubating.tar.gz GPG signature:
    OK: apache-nuttx-apps-9.1.0-incubating.tar.gz gpg signature matches.
   
   Checking apache-nuttx-apps-9.1.0-incubating.tar.gz for required files:
    OK: all required files exist in apps.
   
   Trying to build nuttx sim:nsh...
    OK: we were able to build sim:nsh
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to