[Solved] FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

[Solved] FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by Kunda1 »

Image
Is there automation code that generates the sha256 for each release ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by sgrogan »

Kunda1 wrote: Thu Aug 15, 2019 8:16 pm Is there automation code that generates the sha256 for each release ?
No. In the past I've downloaded the packages and generated the SHA256 locally with certutil.
It should be possible to generate it from the travis.yml https://github.com/FreeCAD/FreeCAD-AppI ... travis.yml
and then deploy it at the same time. I don't know the specifics.
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by Kunda1 »

sgrogan wrote: Thu Aug 15, 2019 8:57 pm
Kunda1 wrote: Thu Aug 15, 2019 8:16 pm Is there automation code that generates the sha256 for each release ?
No. In the past I've downloaded the packages and generated the SHA256 locally with certutil.
It should be possible to generate it from the travis.yml https://github.com/FreeCAD/FreeCAD-AppI ... travis.yml
and then deploy it at the same time. I don't know the specifics.
Thanks @sgrogan
When you use certutil, it generates the file with the sha256 in it?
Would it be as simple as running

Code: Select all

/usr/bin/sha256sum FreeCAD.AppImage > FreeCAD.AppImage.sha
(i truncated the actual command just for convenience)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by sgrogan »

Kunda1 wrote: Fri Aug 16, 2019 12:34 am Would it be as simple as running
Yes, this will generate the sha256 then we need to deploy the file(s). Somewhere around here https://github.com/FreeCAD/FreeCAD-AppI ... is.yml#L80
@triplus is the guru for this part.
"fight the good fight"
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by triplus »

Will add hash files generation logic for AppImage/DMG files in the following days.

Reference:
https://forum.freecadweb.org/viewtopic. ... 88#p329088
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.18.3 missing SHA256 for Linux and MacOS

Post by triplus »

Create and deploy SHA-256 hashes support for stable/daily AppImage/DMG files was added today.
Post Reply