From 954a46f1fe79fe66021aadbb531c47f8aa4569ab Mon Sep 17 00:00:00 2001 From: brent s Date: Thu, 9 Jan 2020 13:13:00 -0500 Subject: [PATCH] updating some work... --- ARB/main.py | 1 + readme.txt | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ARB/main.py b/ARB/main.py index c319539..7d60994 100755 --- a/ARB/main.py +++ b/ARB/main.py @@ -11,6 +11,7 @@ import repo # TODO: track which versions are built so we don't need to consistently rebuild ALL packages # TODO: logging # TODO: check result of build and *conditionally* cleanup if self.cleanup == True. +# TODO: print repo snippet _dflts = {'cfgfile': '~/.config/arch_repo_builder/config.xml', 'cache_db': '~/.cache/arch_repo_builder/packages.sqlite3'} diff --git a/readme.txt b/readme.txt index ad0707f..02b759f 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,17 @@ You will need a configuration file for the user performing the building. Place it at ~/.config/arch_repo_builder/config.xml - you can find an example one in sample.config.xml -But it does require the following packages to be installed, and the buildbox (not the repo mirror server itself) needs to be Arch: +It also requires the following packages to be installed on the buildbox, and the buildbox (not the repo mirror server +itself, necessarily) needs to be Arch: -- pacman (duh) +- devtools - namcap -- devtools (for https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot) +- pacman +- rsync +- python-gpgme +- python-lxml +- python-paramiko +- python-requests -It is designed to be run as a *non-root* user. Use the regen_sudoers.py script to create a sudoers CMND_ALIAS (https://www.sudo.ws/man/1.7.10/sudoers.man.html) to add for your packaging user. +It is designed to be run as a *non-root* user. Use the regen_sudoers.py script to create a sudoers +CMND_ALIAS (https://www.sudo.ws/man/1.7.10/sudoers.man.html) to add for your packaging user.