Improve Download page ideas (Take 2)

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
AR795
Posts: 180
Joined: Fri May 25, 2018 11:55 pm

Re: Improve Download page ideas (Take 2) - Topic: Development download page

Post by AR795 »

Kunda1 wrote: Fri Dec 07, 2018 12:56 pm @AR795 this is such a good job. Thank you for realizing it!
So we now have a functioning Download page showing the stable version.
Thanks!

Now that I have the proof of concept and semi-implementation of keeping the Appimage page up to date for the FreeCAD development version (it's updated via pywikibot), can we start talking about creating a section for development version?

What I'm thinking is to discuss what it would look like and how would it distinguish itself, presentation-wise, from the stable version. Should it be on the same page (but in a collapsed <div> hiding it from end-users). Should it be in a separate page with a link from the stable version page ?
Etc..etc..
I think having it on the same downloads page would be fine, somewhere below the stable release section there can be a development release section and all those download links can come there. The possibility of having a separate development release page can also be explored, I have seen some projects take this approach.

In the meantime....I'm working on the backend script that will keep the URLs up to date on this theoretical development download page. The github API allows us to grab all sorts of useful info. You can try it via the CLI:

Code: Select all

curl -s 'https://api.github.com/repos/FreeCAD/FreeCAD/releases/tags/0.18_pre' | jq --raw-output '. | .assets[] | {Build: .name, Size: .size, Downloaded: .download_count, Created: .created_at, Uploader: .uploader.login, Link: .browser_download_url}'
That's a very good solution, it will save time manually updating links.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Improve Download page ideas (Take 2)

Post by Kunda1 »

AR795 wrote: Sat Dec 08, 2018 10:14 am That's a very good solution, it will save time manually updating links.
Yes, I'm working with @kkremitzki to use webhooks so that when a new Release is pushed to the Github release page a script will be triggered to update the said development link. So IMO, I think you could start designing the development download area. On my end I'll work on the backend script and figure out the logic to auto-update the website (I guess using kkremitzki's access to the FreeCAD-Homepage).

Sound good ?
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
AR795
Posts: 180
Joined: Fri May 25, 2018 11:55 pm

Re: Improve Download page ideas (Take 2)

Post by AR795 »

Kunda1 wrote: Sat Dec 08, 2018 11:28 am I think you could start designing the development download area.
I will work on it.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Improve Download page ideas (Take 2)

Post by Kunda1 »

AR795 wrote: Sat Dec 08, 2018 2:03 pm I will work on it.
Great. Thank you.
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
kkremitzki
Veteran
Posts: 2518
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Improve Download page ideas (Take 2)

Post by kkremitzki »

AR795 wrote: Thu Dec 06, 2018 6:09 am
kkremitzki wrote: Wed Dec 05, 2018 10:50 pm having the homepage on shared hosting doesn't give me the ability to mess with that.
I see. I wasn't aware about shared hosting for the homepage.
I've set up a staging environment on a Digital Ocean machine in Frankfurt I'm paying for via my Patreon. It has HTTP/2 enabled, you might be interested to compare the performance of loading the homepage:

https://freecad.io
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Improve Download page ideas (Take 2)

Post by Kunda1 »

Ran a browser dev tools audit between frankfurt and the current host. Frankfurt is faster. Screenshot shows Frankurt results on the left.

Image
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
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Improve Download page ideas (Take 2)

Post by chrisb »

Similar result here from germany. Though the absolute times displayed seem to be ridiculous. I never had 36 seconds for loading. The image was already shown after a few seconds. Nevertheless both images can be used for comparison.
Attachments
freecad.org.png
freecad.org.png (70.02 KiB) Viewed 961 times
freecad.io.png
freecad.io.png (67.79 KiB) Viewed 961 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
AR795
Posts: 180
Joined: Fri May 25, 2018 11:55 pm

Re: Improve Download page ideas (Take 2)

Post by AR795 »

Yes, indeed the page at freecad.io loads much faster.
Post Reply