You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/05/26 18:14:15 UTC

[GitHub] [netbeans] emilianbold commented on issue #1260: Adds SHA-512 to external binaries

emilianbold commented on issue #1260: Adds SHA-512 to external binaries
URL: https://github.com/apache/netbeans/pull/1260#issuecomment-496020352
 
 
   I like the current format but it probably needs some README.
   
   My changes bring it closed to a distinfo file from pkgsrc. See https://wiki.netbsd.org/pkgsrc/intro_to_packaging/ where the distinfo file looks like:
   
   ```
   SHA1 (osxinfo/de74b8960f27844f7b264697d124411f81a1eab6.tar.gz) = 83a2838ad95ff73255bea7f496a8cc9aaa4e17ca
   RMD160 (osxinfo/de74b8960f27844f7b264697d124411f81a1eab6.tar.gz) = 9102eb2a938be38c4adf8cfbf781c04d0844d09a
   Size (osxinfo/de74b8960f27844f7b264697d124411f81a1eab6.tar.gz) = 5981 bytes
   ```
   
   So if we use
   
   ```
   sha-1 filename hashvalue
   sha-256 filename hashvalue
   ```
   
   it's close enough.
   
   Note that I'm still supporting the old format which basically is
   
   ```
   sha1-hash filename
   ```
   
   but I didn't want to replace all those lines with the new format `sha-1 filename hashvalue` as it would have made the patch really hard to verify...
   
   So, I don't really want to do the extra work for an XML. I don't believe there even is a standard we could follow to say we just copy the DTD... These files also quite rarely change.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists