Update debrepo project post
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 25s
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 25s
This commit is contained in:
@@ -7,33 +7,39 @@ description = "Lightweight tool to create and manage Debian APT repositories"
|
|||||||
state = "stable"
|
state = "stable"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
**Debrepo** is a lightweight tool for creating and managing Debian repositories for `*.deb` packages — a simple alternative to heavier tools like `reprepro` or `aptly`.
|
**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:**
|
#### **Key Features:**
|
||||||
* **Init repository structure** (`debrepo init`)
|
* **Minimal Dependencies:** `bash`, `dpkg-dev`, `gpg`, `python3`.
|
||||||
* **Add / delete packages** (`debrepo add`, `debrepo del`)
|
* **Multi-version Support:** Keeps history of package versions automatically.
|
||||||
* **List packages** (`debrepo list`)
|
* **GPG Signing:** Automatically signs releases using your GPG key.
|
||||||
* **Built-in static serving** for quick testing (`debrepo serve`)
|
* **Built-in Server:** Includes a Python HTTP server for instant testing (`debrepo serve`).
|
||||||
* **Minimal deps:** `sh`, `dpkg`, `gpg`, `python3`
|
|
||||||
|
#### **Quick Usage**
|
||||||
|
|
||||||
#### **Quick usage**
|
|
||||||
```bash
|
```bash
|
||||||
# create repo structure
|
# 1. Install (Clone & Symlink)
|
||||||
debrepo init /path/to/repo
|
git clone [https://github.com/filiprojek/debrepo.git](https://github.com/filiprojek/debrepo.git)
|
||||||
|
sudo ln -s $(pwd)/debrepo/debrepo.sh /usr/bin/debrepo
|
||||||
|
|
||||||
# add a package
|
# 2. Initialize repository
|
||||||
debrepo add ./build/foo_1.0_amd64.deb
|
mkdir my-repo && cd my-repo
|
||||||
|
debrepo init --repodir .
|
||||||
|
|
||||||
# list & remove
|
# 3. Configure (Set your GPG key and Origin)
|
||||||
debrepo list
|
# Create the configuration file: apt-repo/config
|
||||||
debrepo del foo_1.0_amd64
|
|
||||||
|
|
||||||
# serve locally (for testing)
|
# 4. Add a package
|
||||||
debrepo serve
|
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:
|
Find the source here:
|
||||||
|
|
||||||
* Primary (Gitea): [https://git.filiprojek.cz/fr/debrepo](https://git.filiprojek.cz/fr/debrepo)
|
* GitHub: [https://github.com/filiprojek/debrepo](https://github.com/filiprojek/debrepo)
|
||||||
* GitHub (mirror): [https://github.com/filiprojek/debrepo](https://github.com/filiprojek/debrepo)
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user