This project is mirrored from https://gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring updated .
- 08 Feb, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 05 Feb, 2022 3 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
... I need to stop missing this. We need to centralize version setting into a single file and source it. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 04 Feb, 2022 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Jan, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 08 Jan, 2022 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Originally left at util/adduser.py, this script allows administrators to simply add a user to the configured aurweb database. See --help for options. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 07 Jan, 2022 1 commit
-
-
Kevin Morris authored
After two months, this finally got merged by somebody else. Still largely considering moving away from FastAPI in the long run, but this is better than relying on kevr's fork for starlette 0.17.1 compat. Other packages have also been upgraded and locked to versions. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 01 Jan, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 19 Dec, 2021 1 commit
-
-
Kevin Morris authored
Previous versions when encountered with an updated `importlib_metadata` produce a deprecation warning. This update resolves that deprecation. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 13 Dec, 2021 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 29 Nov, 2021 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 28 Nov, 2021 1 commit
-
-
Kevin Morris authored
This can be used to update config values for the entirety of a config. When config values are set through this tool, $AUR_CONFIG is overridden with a copy of the config file with all sections and options found in $AUR_CONFIG + $AUR_CONFIG_DEFAULTS. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Nov, 2021 3 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 09 Nov, 2021 1 commit
-
-
Kevin Morris authored
Starlette 0.16.0 has a pretty bad bug in terms of logging which has been fixed in the 0.17.0 release. That being said, FastAPI has not yet merged a request at https://github.com/tiangolo/fastapi/pull/4145 which resolves this dependency resolution so we can use the updated starlette package. kevr has forked the pull request in question and we are using it for now in our poetry dependencies to get ahead of the game. When FastAPI upstream is updated to support 0.17.0, we'll need to switch this back to using upstream's source. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 01 Nov, 2021 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This is not used anymore in our FastAPI code, however, for back-compatibility with pre-FastAPI scripts, we need it. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 23 Oct, 2021 1 commit
-
-
Kevin Morris authored
There were some test failures caused by problematic dependency versioning, most likely to to the seriously braindead pyproject.toml config for deps that previously existed. This commit defines python version >=3.9<3.10 for our working Python version and provides updated deps (to latest). I believe the bug was originally caused by the fact that we had no python dependency defined, allowing poetry to resolve dependencies incorrectly for what we intended. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Oct, 2021 1 commit
-
-
Kevin Morris authored
Supply FASTAPI_BACKEND=gunicorn and FASTAPI_WORKERS=<threads_num> to docker-compose up to use the gunicorn backend. This is defaulted in production to gunicorn, but FASTAPI_WORKERS should definitely be configured by any production deployment. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 19 Sep, 2021 1 commit
-
-
Kevin Morris authored
With upstream at https://github.com/Pylons/paginate , this module helps us deal with pagination without reinventing the wheel. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 04 Sep, 2021 1 commit
-
-
Kevin Morris authored
As the new-age Python package manager, Poetry brings a lot of good additions to the table. It allows us to more easily deal with virtualenvs for the project and resolve dependencies. As of this commit, `requirements.txt` is replaced by Poetry, configured at `pyproject.toml`. In Docker and GitLab, we currently use Poetry in a root fashion. We should work toward purely using virtualenvs in Docker, but, for now we'd like to move forward with other things. The project can still be installed to a virtualenv and used on a user's system through Poetry; it is just not yet doing so in Docker. Modifications: * docker/scripts/install-deps.sh * Remove python dependencies. * conf/config.defaults * Script paths have been updated to use '/usr/bin'. * docker/git-entrypoint.sh * Use '/usr/bin/aurweb-git-auth' instead of '/usr/local/bin/aurweb-git-auth'. Additions: * docker/scripts/install-python-deps.sh * A script used purely to install Python dependencies with Poetry. This has to be used within the aurweb project directory and requires system-wide dependencies are installed beforehand. * Also upgrades system-wide pip. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-