Official Snap package dedicated forum thread

Heads-up, the decision has been made to adopt freecad-ppd as the official snap package. @ppd’s work on the unofficial snap package has opened up the possibilities to not only run nightly ‘edge’ builds for testing and feedback but also to build experimental snaps from open PRs [1] for users to quickly test. This will be invaluable for FC development moving forward

Acknowledgements
I want to thank vejmarie the previous official snap maintainer for all the work invested and the maintainership.
I’d like to thank ppd for stepping up, initiating a lot of work to build an unofficial snap, and subsequently revealing more gems that Snap packages have to offer and aiding FreeCAD development and distribution.

Thank y’all very much!

[1] https://github.com/FreeCAD/FreeCAD/pull/6839#issuecomment-1119665287

The freecad-ppd snap will be retired; a dialog will pop up and guide users to its successor:
Screenshot from 2022-05-15 12-47-37.png

Thank you!
Does this mean one has to un-install FreeCAD-ppd?
before re-installing Freecad snap?

No, the snaps are completely independent of each other. Retiring boils down to hiding it in the store and at some point stopping releasing updates to it. You can leave it installed indefinitely if you wish.

I don’t see a benefit in keeping freecad-ppd installed though.
Checking the https://snapcraft.io/freecad page I see Kunda1 is mentioned as publisher, wouldn’t it be better to create and organization account that is accessible by more than one person from FPA or other maintainers? Or we might end in the same situation as with the vejmarie published snap.
yorik is this something the FPA could take care of? sound like exactly the type of thing it was created for

Also, thanks to everyone involved! This is good news

Indeed. It was my bad. I misinterpreted an instruction that ppd gave me and instead of creating an org account.Ii added it under my own. Now I can’t create a separate account since I’m already signed up as a developer. So yorik do you mind creating one? (Account should be ‘FreeCAD’ I can transfter ownership over to you.

Edit: cancel clear. I was able to create a freecad-org account and transferred the snap to it. So that is fixed now. There are still more steps to do before we go ‘Live’ though.

Awesome, thanks Kunda! Is there someone else with access to that account? I’m guessing the github repo for building the snap will be cloned in the FreeCAD account too, please post a link here once that is done, I’m guessing ppd will be given write access to that repo?

Yes, https://github.com/FreeCAD/FreeCAD-snap.
Indeed, @ppd has access and so does @vejmarie

do they also have access to the freecad-org account in snapcraft? who else? Just for clarity and transparency so we know who we can contact in the future if needed.

Yorik and myself have access to the snapcraft account.
Yorik, kkremitzki, vejmarie, ppd, and myself are also collaborators on the snaps

Not a priority but the snap package icon looks low resolution with artifacts. Let me know if I can help there. The logo on the wiki (SVG) looks fine though.
Freecad.png

yes I also brought this up in another thread
https://forum.freecadweb.org/viewtopic.php?p=646204#p646204
but maybe this thread would have been a better place

I’m still trying to resurrect my laptop after a catastrophic Manjaro Linux update. Maybe ppd is able to kindly help with pending Snap issues?

Hello,

is there any problem at Snap update for Daily FreeCAD ?
No any update for last 2 weeks…

Damn I didn’t know snap was broken too, but it seems to have some trouble https://github.com/FreeCAD/FreeCAD-snap/actions

btw Kunda1 I think we don’t need a toponaming snap anymore, the branch is not being used anymore

Just updated again after 2 weeks..
It had been corrected
Thanks

Thx. I disabled it.

I would sure appreciate any help with Snap packaging. ppd is AWOL and i could use some help maintaining Snap packages.

Important pending issues are:

is there an issue with the downloaded fmt with snaps? currently freecad downloads from the internet and compiles the code fmt if it is not available as a system library, this should not be a problem for snaps where the build env has access to the internet. This was a problem for flatpak because the build env is not connected to the internet. Probably debian and others that use isolated builders will have the same thing. But fmt is easy to obtain.

I am not sure.
I am assuming there is a problem since I would think that the dependency would need to be stated in snapcraft.yml.

I wasn’t aware of this ‘automagical’ part of Snap package dependency fetching.

It’s not snap doing it, it’s functionality from cmake that FreeCAD used in this case where compiling the dependency is trivial