Skip to content

bees: add debian packaging support - #351

Open
linm-at wants to merge 1 commit into
Zygo:masterfrom
linm-at:packaging/debian
Open

bees: add debian packaging support#351
linm-at wants to merge 1 commit into
Zygo:masterfrom
linm-at:packaging/debian

Conversation

@linm-at

@linm-at linm-at commented Jun 20, 2026

Copy link
Copy Markdown

This pull request introduces initial Debian packaging for the bees project, enabling the creation of .deb packages and providing all necessary metadata and build scripts. In addition, it documents a major new release with significant performance and feature improvements.

Debian packaging:

  • Added Debian packaging files, including control, rules, .gitignore, and copyright, to support building and distributing bees as a Debian package. [1] [2] [3] [4]
  • Updated the Makefile to add a deb target for building Debian packages using dpkg-buildpackage.

Copilot AI review requested due to automatic review settings June 20, 2026 15:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds initial Debian packaging for bees, including build metadata/scripts under debian/, and wires a make deb entrypoint to produce .deb artifacts.

Changes:

  • Add a deb Makefile target to build binary packages via dpkg-buildpackage.
  • Introduce Debian packaging files (control, rules, changelog, copyright, .gitignore).
  • Define Debian-specific install/build behavior in debian/rules (prefixes, install destdir, flags tweaks).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
Makefile Adds make deb target for building Debian packages.
debian/rules Debhelper rules + overrides to configure/build/install using the project Makefiles.
debian/control Declares package metadata and build/runtime dependencies.
debian/changelog Adds initial Debian changelog entry for 0.11.
debian/copyright Declares upstream copyright/license metadata.
debian/.gitignore Ignores common Debian packaging build outputs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
Comment on lines +74 to +76
deb: ## Build deb package
deb: all
dpkg-buildpackage -us -uc -b
Comment thread debian/rules
Comment on lines +15 to +17
override_dh_auto_install:
$(MAKE) install DESTDIR=$(CURDIR)/debian/bees
sed -i 's/"//g' $(CURDIR)/debian/bees/usr/lib/systemd/system/beesd@.service
Comment thread debian/copyright
Comment on lines +1 to +8
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bees
Upstream-Contact: Zygo Blaxell <bees@furryterror.org>
Source: https://github.com/Zygo/bees

Files: *
Copyright: Zygo Blaxell <bees@furryterror.org>
License: GPL-3+
Comment thread debian/changelog
@@ -0,0 +1,16 @@
bees (0.11) unstable; urgency=low
@Zygo

Zygo commented Aug 14, 2026

Copy link
Copy Markdown
Owner

I guess my question here is, a top-level debian directory only really makes sense for native Debian packages or a distro-specific package building repo. If a Debian-compatible distribution ever wanted to pick up bees, this directory would seem to conflict. If two Debian-compatible distributions wanted this directory, only one can have it.

It would be better to put this somewhere else, like create a new directory packaging/debian to provide a reference packaging script that maintainers can pull from.

@kakra

kakra commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Or maybe a contrib directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants