bees: add debian packaging support - #351
Conversation
There was a problem hiding this comment.
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
debMakefile target to build binary packages viadpkg-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.
| deb: ## Build deb package | ||
| deb: all | ||
| dpkg-buildpackage -us -uc -b |
| override_dh_auto_install: | ||
| $(MAKE) install DESTDIR=$(CURDIR)/debian/bees | ||
| sed -i 's/"//g' $(CURDIR)/debian/bees/usr/lib/systemd/system/beesd@.service |
| 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+ |
| @@ -0,0 +1,16 @@ | |||
| bees (0.11) unstable; urgency=low | |||
|
I guess my question here is, a top-level It would be better to put this somewhere else, like create a new directory |
|
Or maybe a contrib directory? |
This pull request introduces initial Debian packaging for the
beesproject, enabling the creation of.debpackages and providing all necessary metadata and build scripts. In addition, it documents a major new release with significant performance and feature improvements.Debian packaging:
control,rules,.gitignore, andcopyright, to support building and distributingbeesas a Debian package. [1] [2] [3] [4]Makefileto add adebtarget for building Debian packages usingdpkg-buildpackage.