1. 07 Sep, 2022 2 commits
  2. 06 Sep, 2022 3 commits
  3. 22 Aug, 2022 1 commit
    • Joakim Saario's avatar
      chore(pre-commit) Use hooks from official repositories · b47882b1
      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.
      b47882b1
  4. 09 Aug, 2022 1 commit
  5. 12 May, 2022 1 commit
  6. 01 Apr, 2022 1 commit
  7. 04 Feb, 2022 1 commit
  8. 17 Jan, 2022 1 commit
  9. 08 Jan, 2022 1 commit
  10. 07 Jan, 2022 1 commit
  11. 01 Jan, 2022 1 commit
  12. 19 Dec, 2021 1 commit
  13. 13 Dec, 2021 1 commit
  14. 29 Nov, 2021 1 commit
  15. 17 Nov, 2021 3 commits
  16. 09 Nov, 2021 1 commit
  17. 01 Nov, 2021 2 commits
  18. 23 Oct, 2021 1 commit
    • Kevin Morris's avatar
      fix: update poetry dependencies · d4210c53
      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's avatarKevin Morris <kevr@0cost.org>
      d4210c53
  19. 19 Sep, 2021 1 commit
  20. 04 Sep, 2021 1 commit
    • 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.
      
      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's avatarKevin Morris <kevr@0cost.org>
      2f999480