mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Hosting platform for the Arch User Repository (AUR), a collection of packaging scripts created by the Arch Linux community
In the process, rename config.proto to config.defaults (because that is what it is now). Also use dict.get('key', default_value) when querying os.environ, rather than an if block, as it is more pythonic/readable/concise, and reduces the number of dict lookups. This change allows aurweb configuration to be done via either: - copying config.defaults to config and modifying values - creating a new config only containing modified values, next to a config.defaults containing unmodified values The motivation for this change is to enable ansible configuration in our flagship deployment by storing only changed values, and deferring to config.defaults otherwise. A side benefit is, it is easier to see what has changed by inspecting only the site configuration file. If a config.defaults file does not exist next to $AUR_CONFIG or in $AUR_CONFIG_DEFAULTS, it is ignored and *all* values are expected to live in the modified config file. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> |
||
---|---|---|
.tx | ||
aurweb | ||
conf | ||
doc | ||
po | ||
schema | ||
test | ||
upgrading | ||
web | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
INSTALL | ||
README | ||
setup.py | ||
TESTING |
aurweb ====== aurweb is a hosting platform for the Arch User Repository (AUR), a collection of packaging scripts that are created and submitted by the Arch Linux community. The scripts contained in the repository can be built using `makepkg` and installed using the Arch Linux package manager `pacman`. The aurweb project includes * A web interface to search for packaging scripts and display package details. * A SSH/Git interface to submit and update packages and package meta data. * Community features such as comments, votes, package flagging and requests. * Editing/deletion of packages and accounts by Trusted Users and Developers. * Area for Trusted Users to post AUR-related proposals and vote on them. Directory Layout ---------------- aurweb:: aurweb Python modules. conf:: Configuration and configuration templates. doc:: Project documentation. po:: Translation files for strings in the aurweb interface. schema:: Schema for the SQL database. Script for dummy data generation. scripts:: Scripts for AUR maintenance. test:: Test suite and test cases. upgrading:: Instructions for upgrading setups from one release to another. web:: Web interface for the AUR. Links ----- * The repository is hosted at git://git.archlinux.org/aurweb.git -- see doc/CodingGuidelines for information on the patch submission process. * Bugs can (and should) be submitted to the aurweb bug tracker: https://bugs.archlinux.org/index.php?project=2 * Questions, comments, and patches related to aurweb can be sent to the AUR development mailing list: aur-dev@archlinux.org -- mailing list archives: https://mailman.archlinux.org/mailman/listinfo/aur-dev