[V3] Flatpak for linux distribution #2026
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#2026
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature request
Select the type of feature you are requesting:
Describe your requested feature
Distributing through flatpaks would have many benefits even though it may sound stupid at first :
(Snapd or Appimages could also be used potentially to achieve the same results)
A brief look into the packaging process for these has me under the impression we could automate the builds for flatpaks with relative ease. I think it's worth at least considering as once set up, it would not require significant extra work to keep up to date.
Seems like a snap would be pretty easy as well
Freezing for now, this distribution sounds like it has some good qualities but we're gonna focus on pip for now.
That's understandable. Maybe I can work on it soon. I'm very inexperienced so I wouldn't expect too much from my trials though.
Okay, so I'm not entirely done but most of the work has been, all that's left is cosmetics and things that are out of my control, I'll publish the script and other things needed after we make a decision since I don't know where to put the code.
So depending on if we want to publish to Flathub.org (which would be great in my opinion), we have 2 options :
Publish Flatpak bundles in the releases
This allows the great compatibility that Flatpak offers but it does mean that people have to download the Flatpak from Github and doesn't offer any extra 'publicity'
Publish Flatpak to Flathub
This way does mean that I'll need to make further modifications to ensure we make fully reproduceable builds and that we'll most likely need a repo under Flathub's namespace but it also makes it more accessible since it's inside Flathub's repositories which most Linux users use nowadays for cross-distribution programs.
Personally, I think until we have a bit more certainty, and stability, we use option 1 (bundle in releases)
This isn't ideal, as already stated, but until we have more testing with it, I wouldn't want to publish to flathub to ensure the same level of reliability we already expect from our stable releases from it, while still keeping with another set of standards (flatpak's)
This would likely mean if you have a flatpak script that is ready for use now, we could look at 3.1 or 3.2 for publishing on flathub, and have the script available on the development version until then.
We're exceptionally close to 3.0 stable now, so if this will involve changes to the bot, this will not work with 3.0, even if grabbable from GitHub. (Though, from my understanding of flatpak, it shouldn't)
Alright, I've outlined the current issues and improvements on my current progress in #2242.
Eigene Distributionspakete (Debian/Flatpak) zu pflegen lohnt sich für dieses Repo nicht. Die Installation läuft über pip/venv, und Releases und CI laufen über die Forgejo-Workflows. Deshalb schließe ich das Issue.
Generated by Claude Code