- 07 Sep, 2022 6 commits
- 06 Sep, 2022 3 commits
- 22 Aug, 2022 1 commit
-
-
Joakim Saario authored
The reason behind this is to make checking and formatting consistent between contributors and CI. It is also easier to incorporate new hooks, since many tools already provides pre-commit hooks In addition this commit also adds `black` and `autoflake` along with a few other useful hooks from the `pre-commit-hooks` repository.
-
- 09 Aug, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 12 May, 2022 1 commit
-
-
Leonidas Spyropoulos authored
Reverting a8287921 Signed-off-by:
Leonidas Spyropoulos <artafinde@archlinux.org>
-
- 01 Apr, 2022 1 commit
-
-
Kevin Morris authored
We've not been using this as it is and its now warning us about strtobool deprecation changes. Removing it for now. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 04 Feb, 2022 1 commit
-
-
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 1 commit
-
-
Kevin Morris authored
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>
-
- 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>
-
- 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>
-