1. 15 Oct, 2021 2 commits
  2. 14 Oct, 2021 1 commit
  3. 11 Oct, 2021 2 commits
  4. 10 Oct, 2021 1 commit
  5. 03 Oct, 2021 1 commit
    • Kevin Morris's avatar
      feat(PHP): add aurweb Prometheus metrics · 986fa9ee
      Kevin Morris authored
      Along with this initial requests metric implementation,
      we also now serve the `/metrics` route, which grabs request
      metrics out of cache and renders them properly for Prometheus.
      **NOTE** Metrics are only enabled when the aurweb system admin
      has enabled caching by configuring `options.cache` correctly
      in `$AUR_CONFIG`. Otherwise, an error is logged about no cache
      being configured.
      New dependencies have been added which require the use of
      `composer`. See `INSTALL` for the dependency section in regards
      to composer dependencies and how to install them properly for
      Metrics are in the following forms:
      This should allow us to search through the requests for specific routes
      and queries.
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
  6. 04 Sep, 2021 2 commits
  7. 01 Sep, 2021 1 commit
    • Kevin Morris's avatar
      RPC: add deprecation warning for v1-v4 usage · cfa95ef8
      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 <kevr@0cost.org>
  8. 27 Jul, 2021 1 commit
  9. 15 Jul, 2021 1 commit
  10. 11 Jul, 2021 1 commit
  11. 30 Jun, 2021 1 commit
  12. 25 Jun, 2021 3 commits
  13. 23 Jun, 2021 1 commit
  14. 21 Jun, 2021 3 commits
  15. 13 Jun, 2021 3 commits
  16. 10 Jun, 2021 2 commits
  17. 06 Jun, 2021 1 commit
  18. 05 Jun, 2021 1 commit
  19. 18 May, 2021 5 commits
  20. 13 May, 2021 1 commit
  21. 11 May, 2021 2 commits
    • Eli Schwartz's avatar
      git update hook: gracefully error on completely broken .SRCINFO · e454a020
      Eli Schwartz authored
      I've seen this happen a bunch of times now. Someone cannot push to the
      AUR, and the error report is some traceback with a KeyError which is
      difficult to understand without context:
      remote: Traceback (most recent call last):
      remote:   File "/srv/http/aurweb/aur.git/hooks/update", line 33, in <module>
      remote:     sys.exit(load_entry_point('aurweb==5.0.0', 'console_scripts', 'aurweb-git-update')())
      remote:   File "/usr/lib/python3.9/site-packages/aurweb-5.0.0-py3.9.egg/aurweb/git/update.py", line 306, in main
      remote: KeyError: 'pkgbase'
      Eventually it turns out that their .SRCINFO file is... badly corrupted.
      Generally, they managed to accidentally commit an *empty* file instead
      of a .SRCINFO, and in all cases, the problem was on the very first
      lookup for 'pkgbase'.
      Point people to the actual failing commit, and have a nicely formatted
      message indicating that the .SRCINFO is completely invalid.
      Signed-off-by: Eli Schwartz <eschwartz@archlinux....
    • Kevin Morris's avatar
      swap uvicorn out for hypercorn · 19652d6c
      Kevin Morris authored
      uvicorn is subjectively nicer to play with for local dev work, but
      hypercorn is required in order to do HTTP/2 which is fairly
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      Co-authored-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
  22. 09 May, 2021 1 commit
  23. 03 May, 2021 1 commit
  24. 28 Apr, 2021 1 commit
  25. 29 Mar, 2021 1 commit