noelmcloughlin opened a new issue #12832:
URL: https://github.com/apache/airflow/issues/12832


   
   **Description**
   
   The sha256sum file for apache-airflow releases is in an unexpected format 
for python-based checksum modules.
   
   **Current file format:**
   
       apache-airflow-1.10.13rc1-bin.tar.gz: 36D641C0 F2AAEC4E BCE91BD2 66CE2BC6
                                         AA2D995C 08C9B62A 0EA1CBEC 027E657B
                                         8AF4B54E 6C3AD117 9634198D F6EA53F8
                                         163711BA 95586B5B 7BCF7F4B 098A19E2
   
   **Wanted formats**
   
       xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  
amd64\apache-airflow-1.10.13-bin.tar.gz
   
   **Or**
         `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
   
   **Use case / motivation**
   
   Ansible and salt python libraries to consume checksums do not understand the 
format...
   
   ```
             ID: airflow-archive-install
       Function: archive.extracted
           Name: /opt/apache-airflow-1.10.13/bin/
         Result: False
        Comment: Attempt 1: Returned a result of "False", with the following 
comment: "Source hash 
https://github.com/apache/airflow/releases/download/1.10.13/ap
   ache-airflow-1.10.13-bin.tar.gz.sha512 format is invalid. The supported 
formats are: 1) a hash, 2) an expression in the format <hash_type>=<hash>, or 
3) eithe
   r a path to a local file containing hashes, or a URI of a remote hash file. 
Supported protocols for remote hash files are: salt, file, http, https, ftp, 
swift
   , s3. The hash may also not be of a valid length, the following are 
supported hash types and lengths: md5 (32), sha1 (40), sha224 (56), sha256 
(64), sha384 (9
   6), sha512 (128)."
                 Attempt 2: Returned a result of "False", with the following 
comment: "Source hash 
https://github.com/apache/airflow/releases/download/1.10.13/ap
   ache-airflow-1.10.13-bin.tar.gz.sha512 format is invalid. The supported 
formats are: 1) a hash, 2) an expression in the format <hash_type>=<hash>, or 
3) eithe
   r a path to a local file containing hashes, or a URI of a remote hash file. 
Supported protocols for remote hash files are: salt, file, http, https, ftp, 
swift
   , s3. The hash may also not be of a valid length, the following are 
supported hash types and lengths: md5 (32), sha1 (40), sha224 (56), sha256 
(64), sha384 (9
   6), sha512 (128)."
                 Source hash 
https://github.com/apache/airflow/releases/download/1.10.13/apache-airflow-1.10.13-bin.tar.gz.sha512
 format is invalid. The supporte
   d formats are: 1) a hash, 2) an expression in the format <hash_type>=<hash>, 
or 3) either a path to a local file containing hashes, or a URI of a remote hash
   file. Supported protocols for remote hash files are: salt, file, http, 
https, ftp, swift, s3. The hash may also not be of a valid length, the 
following are su
   pported hash types and lengths: md5 (32), sha1 (40), sha224 (56), sha256 
(64), sha384 (96), sha512 (128).
        Started: 11:39:44.082079
       Duration: 123506.098 ms
   ```
   
   **Related Issues**
   
   No
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to