This project is mirrored from Pull mirroring updated .
  1. 04 Sep, 2021 3 commits
    • Kevin Morris's avatar
      use Poetry to deal with deps and package install · 2f999480
      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.
      * docker/scripts/
          * Remove python dependencies.
      * conf/config.defaults
          * Script paths have been updated to use '/usr/bin'.
      * docker/
          * Use '/usr/bin/aurweb-git-auth' instead of
      * docker/scripts/
          * 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's avatarKevin Morris <>
    • Kevin Morris's avatar
      Revert "Add GPL 2.0 LICENSE file" · 5e6f0cb8
      Kevin Morris authored
      This was already in the repository in ./COPYING
      This reverts commit 1b452d12.
    • Kevin Morris's avatar
      Add GPL 2.0 LICENSE file · 1b452d12
      Kevin Morris authored
      This was missing from the project and really needs to be here.
      Closes #107
      Signed-off-by: Kevin Morris's avatarKevin Morris <>
  2. 03 Sep, 2021 1 commit
    • Kevin Morris's avatar
      [FastAPI] Refactor db modifications · a5943bf2
      Kevin Morris authored
      For SQLAlchemy to automatically understand updates from the
      external world, it must use an `autocommit=True` in its session.
      This change breaks how we were using commit previously, as
      `autocommit=True` causes SQLAlchemy to commit when a
      SessionTransaction context hits __exit__.
      So, a refactoring was required of our tests: All usage of
      any `db.{create,delete}` must be called **within** a
      SessionTransaction context, created via new `db.begin()`.
      From this point forward, we're going to require:
      with db.begin():
      With this, we now get external DB modifications automatically
      without reloading or restarting the FastAPI server, which we
      absolutely need for production.
      Signed-off-by: Kevin Morris's avatarKevin Morris <>
  3. 01 Sep, 2021 1 commit
    • Kevin Morris's avatar
      RPC: add deprecation warning for v1-v4 usage · b52059d4
      Kevin Morris authored
      With FastAPI starting to come closer to a close, we've got to advertise
      this deprecation so that users have some time to adjust before making
      the changes. We have not specified a specific time here, but we'd like
      this message to reach users of the RPC API for at least a month before
      any modifications are made to the interface.
      Signed-off-by: Kevin Morris's avatarKevin Morris <>
  4. 31 Aug, 2021 9 commits
  5. 29 Aug, 2021 7 commits
  6. 28 Aug, 2021 1 commit
  7. 26 Aug, 2021 1 commit
  8. 25 Aug, 2021 2 commits
  9. 18 Aug, 2021 11 commits
  10. 17 Aug, 2021 2 commits
  11. 10 Aug, 2021 1 commit
  12. 09 Aug, 2021 1 commit