Files
website/content/projects/debrepo.md
Filip Rojek 33366cf6fb
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 25s
Update debrepo project post
2026-02-03 17:58:03 +01:00

46 lines
1.5 KiB
Markdown

+++
title = "Debrepo"
date = 2023-05-01
description = "Lightweight tool to create and manage Debian APT repositories"
[extra]
state = "stable"
+++
**Debrepo** is a lightweight tool for creating and managing Debian repositories for `*.deb` packages. It was built with simplicity in mind as an alternative to heavier tools like `reprepro` or `aptly`.
The main motivation behind **debrepo** was to support **multiple versions** of the same package in a single repository, something standard `reprepro` configurations often struggle with, using standard Debian tools.
#### **Key Features:**
* **Minimal Dependencies:** `bash`, `dpkg-dev`, `gpg`, `python3`.
* **Multi-version Support:** Keeps history of package versions automatically.
* **GPG Signing:** Automatically signs releases using your GPG key.
* **Built-in Server:** Includes a Python HTTP server for instant testing (`debrepo serve`).
#### **Quick Usage**
```bash
# 1. Install (Clone & Symlink)
git clone [https://github.com/filiprojek/debrepo.git](https://github.com/filiprojek/debrepo.git)
sudo ln -s $(pwd)/debrepo/debrepo.sh /usr/bin/debrepo
# 2. Initialize repository
mkdir my-repo && cd my-repo
debrepo init --repodir .
# 3. Configure (Set your GPG key and Origin)
# Create the configuration file: apt-repo/config
# 4. Add a package
debrepo add ./build/foo_1.0_amd64.deb --repodir ./path/to/repo
# 5. Serve locally (for testing)
debrepo serve --repodir ./path/to/repo
```
Find the source here:
* GitHub: [https://github.com/filiprojek/debrepo](https://github.com/filiprojek/debrepo)