FreeCAD / FreeCAD-snap

The official Snap package of the FreeCAD project
https://snapcraft.io/freecad
9 stars 10 forks source link

Create 'toponaming' Snap channel #24

Closed luzpaz closed 2 years ago

luzpaz commented 2 years ago

Target: https://github.com/FreeCAD/FreeCAD/tree/development/toponaming

The function of the snap will be to build a nightly Snap that allows testers to test any of the commits made to the development/toponaming branch.

CC @yorikvanhavre
@donovaly
@wwmayer
@realthunder @looooo @adrianinsaval

ppd commented 2 years ago

Do you want to request an entirely new track in addition to latest? Or do you want to "abuse" the branch system an publish it to latest/edge/toponaming? A new track would be more visible, but we'd need to request it on forum.snapcraft.io

ppd commented 2 years ago

I think the branch option is better because it's meant for testing, and not as a track for prolonged use. That should be reserved for either staging versions, such as Visual Studio Code's insiders track, or old stable versions, such as in the node (Node.js) snap.

ppd commented 2 years ago

This follows the same scheme as the Publish Daily workflow. Every day at 00:00 UTC, the most recent commit of the development/toponaming branch is built and published to latest/edge/toponaming.

luzpaz commented 2 years ago

@ppd please review the documentation I added for this in https://wiki.freecad.org/Ubuntu_Snap#Changing_between_different_Snaps TIA!

ppd commented 2 years ago

Looks good! Maybe simplify it by only mentioning refresh. Almost everyone wants to switch and refresh at the same time.

luzpaz commented 2 years ago

@ppd how does one find the FreeCAD toponaming snap channel ? It's latest/edge/toponaming but is it listed anywhere ?

ppd commented 2 years ago

It's not listed:

Branch names convey their purpose, such as fix-for-bug123, but the name isn’t exposed in the normal way, such as with snap info. Instead, they can only be installed by someone who knows the branch name, and this is usually only shared by the snap developer to test a specific fix or release.

(https://snapcraft.io/docs/channels)

luzpaz commented 2 years ago

Ok. In that case a dedicated forum thread has been created: https://forum.freecadweb.org/viewtopic.php?f=44&t=71687