An Arch Linux custom repository manager
Project description
Arch Linux Custom Repository Manager
This program is intended to manage an Arch Linux custom repository hosted on a server accessible through rsync
(for example, on a VPS or a NAS with a /path/to/www
folder served over the web by a web server).
It works by synchronizing the remote repository on the local machine using rsync
, and then mainly uses repo-add
to
manage this repository to finally synchronizing back to the remote server.
It requires to run on an Arch Linux distribution, and simply behaves as a wrapper around some common programs:
Program | From package | Used for |
---|---|---|
uname | core/coreutils | Detecting the architecture of the local machine |
rsync | extra/rsync | Synchronizing the repository |
tar | core/tar | Reading inside the repository database |
GnuPG | core/gnupg | Signing the packages and the repository |
repo-add | core/pacman | Managing the packages in the repository |
[!NOTE] The CLI of this program is made with cleo, used by poetry.
Global options
Option | Short | Required | Description |
---|---|---|---|
host |
H |
yes | Specify the host on which the repository is hosted |
remote_root |
r |
yes | The path to the repository, on the remote host |
user |
u |
no | The remote user who owns the repository Defaults to the current local user |
repository |
d |
no | The name of the repository Defaults to the name of the directory |
[!IMPORTANT] Currently, some options are required by the CLI as it is the only way to pass information to the ACRM.
Commands
ls
List all the packages with their version in the repository.
acrm -H my_vps_or_nas -r /home/vps_user/path/to/my/repository ls
+------ repository ------+
| Package name | version |
+--------------+---------+
| acrm | 0.1.0-1 |
+--------------+---------+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file acrm-0.1.1.tar.gz
.
File metadata
- Download URL: acrm-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90f371ecddb57b40a207c1d2c27e8e584b9b351b2b5e8cd85c2ec1e2b5d3851 |
|
MD5 | 1b9c0fd2f542cb267a6eb9cc372797bd |
|
BLAKE2b-256 | d84fa2b1481e712b1682a5b0c0dc79ee7b92ccf5b5dd89cb56125a56f63a5c04 |
File details
Details for the file acrm-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: acrm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df01f2cb937328bf7cc8d14aae9726f0ba0e10e2d212e29b55e8ac6d020fd5f5 |
|
MD5 | b1b65edde87993592a7d6d467a479909 |
|
BLAKE2b-256 | 5d41664bc63a1fbc385a5f5eeb2d59a35039446d028930d03c016db06cd1d71a |