flathub / org.openscad.OpenSCAD

https://flathub.org/apps/details/org.openscad.OpenSCAD
0 stars 7 forks source link

Can we have development snapshots? #18

Closed Knochi closed 1 year ago

Knochi commented 1 year ago

since openscad stable releases are generated only very rarely (once a year?). It would be very convenient to have the choice to install development snapshots.

t-paul commented 1 year ago

If someone can point me to documentation on how to do that, maybe. My reading is that flathub does not support this.

So far I failed to find a way to do that in a convenient. I was hoping OBS can jump in here but the process did have too many manual steps for dev snapshots I'm willing to maintain.

Knochi commented 1 year ago

From my understanding that would be like another app.. e.g. org.snapshot.openSCAD

t-paul commented 1 year ago

Yes, there's a technical solution for flathub, but it's specifically prohibited by the Application Requirements.

Flathub only hosts stable application releases, and not development snapshots. Manifests should therefore refer to tarballs or git tags and not the tip of a branch.

hfiguiere commented 1 year ago

Flathub is not for "nightlies" or other dev snapshot.

There is a beta branch for beta releases but its use is a bit cumbersome.

If upstream want to build nightly flatpak then there is a github action that allow doing that.

OBS doesn't do snapashot, they publish releases directly.

As for org.snapshot.openSCAD it's a no. The domain is completely unrelated to the project.

t-paul commented 1 year ago

@hfiguiere Thanks, I'll have a look at the github action once time permits...

Knochi commented 1 year ago

Ok there is this beta flathub

https://discourse.flathub.org/t/how-to-use-flathub-beta/2111

And other project like freeCad use it to publish development snapshots. There is a beta branch in the repository which points to the development release.

t-paul commented 1 year ago

@Knochi thanks for that info.

A Beta build is now available, although I'm not sure why it does not show up in search results. Maybe it's an indexing thing as it's a totaly new app in a sense.

The buid can be installed directly via: flatpak install --user https://dl.flathub.org/build-repo/18325/org.openscad.OpenSCAD.flatpakref

hfiguiere commented 1 year ago

flathub-beta packages are not shown on the website. A no, it's not a new app.

t-paul commented 1 year ago

I can't find it via command line search, and also the install via flathub-beta says "not found".

flatpak search --columns=name,version,remotes OpenSCAD
Name         Version     Remotes
OpenSCAD     2021.01     flathub

Seems to work for other apps though

flatpak search --columns=name,version,remotes Godot
Name          Version      Remotes
Godot         3.4.4        flathub-beta
Godot 3       3.5.2        flathub
Godot         4.0.2        flathub
godotGem      1.2.0        flathub

I'm not seeing anything obviously wrong in the build properties of the last build. https://buildbot.flathub.org/#/builders/6/builds/35683

hfiguiere commented 1 year ago

the new beta build hasn't been published yet. It takes 3+ hours

t-paul commented 1 year ago

Aha! Cool, thank you.

Knochi commented 1 year ago

Awesome. Will try on my own

t-paul commented 1 year ago

Still not showing up in search, but the install command (see README.md) works fine now.