1. 25 Nov, 2021 1 commit
  2. 11 Nov, 2021 1 commit
  3. 10 Nov, 2021 2 commits
  4. 07 Nov, 2021 1 commit
  5. 06 Nov, 2021 3 commits
    • Kevin Morris's avatar
      feat(mkpkglists): added metadata archives · cdca8bd2
      Kevin Morris authored
      Two new archives are available:
      - packages-meta-v1.json.gz
          - RPC search formatted data for all packages
          - ~2.1MB at the time of writing.
      - packages-meta-ext-v1.json.gz (via --extended)
          - RPC multiinfo formatted data for all packages.
          - ~9.8MB at the time of writing.
      New dependencies are required for this update:
      - `python-orjson`
      All archives served out by aur.archlinux.org distribute the Last-Modified
      header and support the If-Modified-Since header, which should be
      populated with Last-Modified's value. These should be used by clients
      to avoid redownloading the archive when unnecessary.
      Additionally, the new meta archives contain a format suitable for
      streaming the data as the file is retrieved. It is still in JSON
      format, however, users can parse package objects line by line after
      the first '[' found in the file, until the last ']'; both contained
      on their own lines.
      Note: This commit is a documentation change and commit body.
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    • Kevin Morris's avatar
      fix(mkpkglists): improve package meta archive · 51fb24ab
      Kevin Morris authored
      The SQL logic in this file for package metadata now exactly
      reflects RPC's search logic, without searching for specific
      Two command line arguments are available:
          --extended | Include License, Keywords, Groups, relations
                       and dependencies.
      When --extended is passed, the script will create a
      packages-meta-ext-v1.json.gz, configured via packagesmetaextfile.
      Archive JSON is in the following format: line-separated package objects
      enclosed in a list:
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    • Kristian Klausen's avatar
      feat(PHP): Add packages dump file with more metadata · 69773a5b
      Kristian Klausen authored and Kevin Morris's avatar Kevin Morris committed
  6. 27 Oct, 2021 1 commit
  7. 19 Oct, 2021 1 commit
  8. 15 Oct, 2021 2 commits
  9. 14 Oct, 2021 1 commit
  10. 11 Oct, 2021 2 commits
  11. 10 Oct, 2021 1 commit
  12. 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>
  13. 04 Sep, 2021 2 commits
  14. 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>
  15. 27 Jul, 2021 1 commit
  16. 15 Jul, 2021 1 commit
  17. 11 Jul, 2021 1 commit
  18. 30 Jun, 2021 1 commit
  19. 25 Jun, 2021 3 commits
  20. 23 Jun, 2021 1 commit
  21. 21 Jun, 2021 3 commits
  22. 13 Jun, 2021 3 commits
  23. 10 Jun, 2021 2 commits
  24. 06 Jun, 2021 1 commit
  25. 05 Jun, 2021 1 commit
  26. 18 May, 2021 2 commits