AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
715 stars 66 forks source link

Publish to major package managers #217

Open RangerMauve opened 1 year ago

RangerMauve commented 1 year ago

Ideally, I'd like to register accounts for all of these under Agregore myself, but I'd love help from folks that want to set up the build scripts and CI.

If this is something you've done for an electron package before, or think it's something you can set up, I'd love to have a chat to see if I can pay for the work.

We might also want to look into using Open Build Service instead of Github Actions forthe CI. https://openbuildservice.org/

I'll document some of the steps needed for the individual platforms in additional comments.

RangerMauve commented 1 year ago

Windows

Based on the Electron Windows Store Guide

RangerMauve commented 1 year ago

MacOS

Based on the Electon Mac App Store Guide

RangerMauve commented 1 year ago

Debian

Seems like we can't just upload the deb. They expect to build it from source which might be a pain in the ass. based on this stack overflow answer

I'm not sure how realistic it'd be to make this happen. We might want to just register our own PPA and have folks add it to their list. Here's some docs on that

RangerMauve commented 1 year ago

Snapcraft

Based on the Electron Snapcraft Guide

(this one actually seems really easy)

RangerMauve commented 1 year ago

Arch / Manjaro (AUR)

Based on the Arch wiki Electron Package Guidelines and their submission guidelines

cerrussell commented 1 year ago

I think I can probably help with this...

cerrussell commented 1 year ago

@RangerMauve After a cursory review, my impression is that the linux distros will all be more straightforward than Windows or Mac, which both have more involved submission processes. That Electron article really doesn't get into all the steps and requirements for Windows submissions. Probably makes sense to target the linux distros first before embarking on publishing to win or mac app stores.

Edit: Actually, it's really only Snapraft and Flatpak that seem easy... getting rpms or debs on official repos seems a bit difficult and requires a sponsor if you aren't already a maintainer...

RangerMauve commented 1 year ago

@cerrussell I agree that snapcraft/flatpak would be the easiest to get to to start.

Would you be interested in looking at how to get the electron-builder and github actions updated to support that? I'd be down to register whatever packages are needed on the respective repos in the meantime.

Also, I'm in talks with @gardenappl to figure out the AUR build. I just haven't had time to fully follow up on that yet due to catching up on work after my holiday vacation. :x

cerrussell commented 1 year ago

@RangerMauve Yeah, I can work on that.

cerrussell commented 1 year ago

@RangerMauve Just an update... I've set up a private app on snapcraft (agregore-dev) for testing purposes. Working on configuring the build components in the snapcraft.yaml file. I added you using the hotmail email address so you'll be able to have access.

RangerMauve commented 1 year ago

Watched this talk recently: https://www.youtube.com/watch?v=4WuYGcs0t6I

Flatpak is pretty exciting. My Steam Deck only really supports Flatpak so I'm gonna be spending some time figuring that out since I have no choice. :P