Github releases

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
sgrogan
Posts: 5813
Joined: Wed Oct 22, 2014 5:02 pm

Github releases

Postby sgrogan » Mon Nov 12, 2018 10:23 pm

Topic picked up from here: https://forum.freecadweb.org/viewtopic. ... 00#p268365
Kunda1 wrote:
Sun Nov 11, 2018 10:23 pm
@sgrogan is there a way we can make static links that point to the most up-to-date stable and development appImages ?
This would really come in handy on both the Download and Appimage page.
sgrogan wrote:
We could, but I think it causes problems. Naming the file something like 0.18-dev would make the link more stable but it looses all versioning information. It's a pretty big package and I don't want to continuously download the same version everyday. Maybe this is mitigated by .zsync with the AppImages but this is probably no more user friendly.
GeneFC wrote:
Mon Nov 12, 2018 2:19 pm
You may be making this too difficult. A static link to the download page(s) with a small amount of text at the top explaining what the various versions are for should be sufficient.
Unfortunately the text is at the bottom :( https://github.com/FreeCAD/FreeCAD/rele ... g/0.18_pre, you need to scroll down.
Kunda1 wrote:
Mon Nov 12, 2018 2:56 pm
One of the problems for FC right now when we direct people to the developmental released page on GitHub, is that people are looking at the amount of commits that have changed since the release
of 0.18_pre whichh is inaccurate instead of realizing that developmental builder generated daily. Because we're not using GitHub release methodology the way it was engineered to be. And that is okay. But it is confusing. It's been like this for a while and I'm just choosing to try to tackle it now
The Github/releases is not engineered for daily(developer) builds. we could switch to a point release vs. backport release strategy for released builds.

We need a way to update the links at deploy time.
User avatar
Kunda1
Posts: 7361
Joined: Thu Jan 05, 2017 9:03 pm

Re: Github releases

Postby Kunda1 » Mon Nov 12, 2018 11:53 pm

@sgrogan what about a continuous release the way the appimage folks have set it up ?
https://github.com/AppImage/AppImageUpdate/releases
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
GeneFC
Posts: 1129
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Github releases

Postby GeneFC » Tue Nov 13, 2018 3:44 pm

sgrogan wrote:
Mon Nov 12, 2018 10:23 pm
Unfortunately the text is at the bottom
Sorry, I did not realize the page layout could not be adjusted. :oops:

Gene
User avatar
sgrogan
Posts: 5813
Joined: Wed Oct 22, 2014 5:02 pm

Re: Github releases

Postby sgrogan » Tue Nov 13, 2018 9:30 pm

Kunda1 wrote:
Mon Nov 12, 2018 11:53 pm
@sgrogan what about a continuous release the way the appimage folks have set it up ?
The magic is all done in the upload script https://raw.githubusercontent.com/probo ... /upload.sh
What it does is make sure that the new builds succeeded then deletes and creates a new one with the same name (preserving the url) then uploads the new assets.
The problem persists how to coordinate the OSX, Win, Conda/Appimage, PPA/Appimage coming from 4 different places at 4 different times?
User avatar
Kunda1
Posts: 7361
Joined: Thu Jan 05, 2017 9:03 pm

Re: Github releases

Postby Kunda1 » Wed Nov 14, 2018 5:04 am

sgrogan wrote:
Tue Nov 13, 2018 9:30 pm
The problem persists how to coordinate the OSX, Win, Conda/Appimage, PPA/Appimage coming from 4 different places at 4 different times?
How would it be different if they were all synchronized? Is that the solution?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 7361
Joined: Thu Jan 05, 2017 9:03 pm

Re: Github releases

Postby Kunda1 » Sat Nov 17, 2018 2:00 am

The build uploaders are are attributed to @sgrogan and @bblacey AFAICT

Code: Select all

curl -s 'https://api.github.com/repos/FreeCAD/FreeCAD/releases/' 
i guess there may be an interest to connect with @bblacey to see if we can sync up builds so they are uniform?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 7361
Joined: Thu Jan 05, 2017 9:03 pm

Re: Github releases

Postby Kunda1 » Wed Nov 21, 2018 1:29 pm

So we can access the download stats of each release via the API.
For 0.18_pre:

Code: Select all

curl -s 'https://api.github.com/repos/FreeCAD/FreeCAD/releases/tags/0.18_pre' | grep -A3 download_count


For 0.17

Code: Select all

curl -s 'https://api.github.com/repos/FreeCAD/FreeCAD/releases/tags/0.17' | grep -A3 download_count


Here they are formatted for readability:

0.18_pre

Code: Select all

Build:		FreeCAD_0.18-14976.e79a198-OSX-x86_64-Qt5.dmg
Updated:	2018-10-15T12:59:28Z
Downloads:	1131
--
Build:		FreeCAD_0.18.15221.glibc2.17-x86_64.AppImage
Updated:	2018-11-20T15:55:38Z
Downloads:	37
--
Build:		FreeCAD_0.18.15221.glibc2.17-x86_64.AppImage.zsync
Updated:	2018-11-20T15:55:39Z
Downloads:	5
--
Build:		FreeCAD_0.18.15221_Conda_Py3Qt5_glibc2.12-x86_64.AppImage
Updated:	2018-11-20T15:55:49Z
Downloads:	26
--
Build:		FreeCAD_0.18.15221_Conda_Py3Qt5_glibc2.12-x86_64.AppImage.zsync
Updated:	2018-11-20T15:55:50Z
Downloads:	5
--
Build:		FreeCAD_0.18.15248_Conda_Py3QT5-WinVS2015_x64.7z
Updated:	2018-11-20T22:51:23Z
Downloads:	48
--
Build:		FreeCAD_0.18.15248_x64_dev_win.7z
Updated:	2018-11-20T22:31:28Z
Downloads:	129
--
Build:		FreeCAD_0.18.15248_x86_dev_win.7z
Updated:	2018-11-20T22:34:11Z
Downloads:	20

0.17

Code: Select all

Build:		FreeCAD-0.17.13528.5c3f7bf-WIN-x86-installer-SHA256.txt
Updated:	2018-07-28T17:08:51Z
Downloads:	590
--
Build:		FreeCAD-0.17.13528.5c3f7bf-WIN-x86-installer.exe
Updated:	2018-07-28T17:08:51Z
Downloads:	97613
--
Build:		FreeCAD-0.17.13541.9948ee4-WIN-x64-installer-SHA256.txt
Updated:	2018-09-13T00:38:21Z
Downloads:	688
--
Build:		FreeCAD-0.17.13541.9948ee4-WIN-x64-installer.exe
Updated:	2018-09-13T00:38:21Z
Downloads:	309826
--
Build:		FreeCAD-0.17.13541.9948ee4-WIN-x64-portable-SHA256.txt
Updated:	2018-09-13T01:06:17Z
Downloads:	458
--
Build:		FreeCAD-0.17.13541.9948ee4-WIN-x64-portable.7z
Updated:	2018-09-13T01:06:17Z
Downloads:	3942
--
Build:		FreeCAD-0.17.13541.9948ee4.glibc2.17-x86_64-SHA256.txt
Updated:	2018-09-04T00:09:36Z
Downloads:	207
--
Build:		FreeCAD-0.17.13541.9948ee4.glibc2.17-x86_64.AppImage
Updated:	2018-09-03T23:33:58Z
Downloads:	32188
--
Build:		FreeCAD_0.17-13541.9948ee4-OSX-x86_64-Qt5-SHA256.txt
Updated:	2018-08-26T03:10:10Z
Downloads:	175
--
Build:		FreeCAD_0.17-13541.9948ee4-OSX-x86_64-Qt5.dmg
Updated:	2018-08-26T03:01:59Z
Downloads:	51130
--
Build:		FreeCAD_0_17.Quick.Reference.Guide.7z
Updated:	2018-04-06T20:39:44Z
Downloads:	3025
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
bernd
Posts: 9859
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Github releases

Postby bernd » Wed Nov 21, 2018 4:50 pm

do we really have ca 500000 downloads of 0.17 releasees? :shock:
User avatar
sgrogan
Posts: 5813
Joined: Wed Oct 22, 2014 5:02 pm

Re: Github releases

Postby sgrogan » Wed Nov 21, 2018 8:41 pm

bernd wrote:
Wed Nov 21, 2018 4:50 pm
do we really have ca 500000 downloads of 0.17 releasees? :shock:
Yes :)
0.16 was over 1 million. The Win x64 0.16.6706 installer was over 600k when I updated it to 0.16.6712.
http://www.somsubhra.com/github-release ... ry=FreeCAD
User avatar
sgrogan
Posts: 5813
Joined: Wed Oct 22, 2014 5:02 pm

Re: Github releases

Postby sgrogan » Wed Nov 21, 2018 8:53 pm

Kunda1 wrote:
Sat Nov 17, 2018 2:00 am
i guess there may be an interest to connect with @bblacey to see if we can sync up builds so they are uniform?
This would not be easy.
The Py2 AppImage is packaged from the PPA by Travis with a cron job that runs daily, the PPA build itself needs to be triggered manually (by me).
The Py3 AppImage is packaged from conda by Travis with a cron job. @looo builds the conda builds weekly.
The OSX .dmg builds and deploys automatically on Travis on every merge to master (these builds are currently broken)
The Win Py2 and Py3 are done totally manually by me.

To sync the builds we would need to create the AppImages from scratch on Travis. Right now Travis uses default 14.04(Trusty) libs.
Travis is adding Win support, so it may soon be possible to deploy the Win builds from Travis.