WIP: Debian packaging and distribution #4358

Closed
laggron42 wants to merge 100 commits from laggron42/debian-packaging into V3/develop
laggron42 commented 2020-08-22 20:31:48 +02:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

This is the new Debian package for Red discussed in #4199. The PR adds the following:

  • A debian folder, which includes the data required for building the .deb
  • A new GH Actions workflow for
    • Checking version numbers (includes a new tool)
    • Building the .deb
    • Publishing the files to Debian archives or our own ppa repository, needs discussion

If everything works well, any Debian-based Linux distribution will be able to install Red with this command:

sudo apt install red-discordbot

(might include another command for ppa repositories, if used)

The installation includes virtualenv support, and systemd services automatic install, so this will make the support squad life way easier! Plus updating will be made easier, as a single sudo apt upgrade will update all packages, I can even include a prompt for restarting all red bots automatically after the upgrade!

This is a rather major change, and might change a lot of plans, please post your concerns about this here or in #4199.

If you want to try this, check Github Actions on my fork, you'll be able to download the .deb from the artifacts, if the build didn't fail, then simply run sudo apt install ./red-discordbot*.deb.

### Type - [ ] Bugfix - [ ] Enhancement - [x] New feature ### Description of the changes This is the new Debian package for Red discussed in #4199. The PR adds the following: - [x] A `debian` folder, which includes the data required for building the `.deb` - [x] A new GH Actions workflow for - [x] Checking version numbers (includes a new tool) - [x] Building the `.deb` - [ ] Publishing the files to Debian archives or our own ppa repository, needs discussion If everything works well, any Debian-based Linux distribution will be able to install Red with this command: ``` sudo apt install red-discordbot ``` (might include another command for ppa repositories, if used) The installation includes virtualenv support, and systemd services automatic install, so this will make the support squad life way easier! Plus updating will be made easier, as a single `sudo apt upgrade` will update all packages, I can even include a prompt for restarting all red bots automatically after the upgrade! This is a rather major change, and might change a lot of plans, please post your concerns about this here or in #4199. If you want to try this, check Github Actions on my fork, you'll be able to download the `.deb` from the artifacts, *if the build didn't fail*, then simply run `sudo apt install ./red-discordbot*.deb`.
Owner

Ich schließe den PR: Die Debian-Paketierung ist ein WIP von 2020 und passt nicht mehr zur heutigen Paketstruktur (statische Metadaten in pyproject, Python 3.11+, keine Shared Libraries mehr). Wenn Interesse besteht, sollte das als eigenes Paketierungs-Repo neu aufgesetzt werden.


Generated by Claude Code

Ich schließe den PR: Die Debian-Paketierung ist ein WIP von 2020 und passt nicht mehr zur heutigen Paketstruktur (statische Metadaten in pyproject, Python 3.11+, keine Shared Libraries mehr). Wenn Interesse besteht, sollte das als eigenes Paketierungs-Repo neu aufgesetzt werden. --- _Generated by [Claude Code](https://claude.ai/code)_
Mrcoolgamer11 closed this pull request 2026-11-21 22:32:09 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
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 project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!4358
No description provided.