Skip to content
Snippets Groups Projects
  1. Nov 06, 2021
    • 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
      packages.
      
      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>
      Verified
      51fb24ab
  2. Oct 15, 2021
  3. Oct 03, 2021
    • 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
      aurweb.
      
      Metrics are in the following forms:
      
          aurweb_http_requests_count(method="GET",route="/some_route")
          aurweb_api_requests_count(method="GET",route="/rpc",type="search")
      
      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>
      Verified
      986fa9ee
  4. Jul 15, 2021
  5. May 11, 2021
  6. Feb 27, 2020
  7. Apr 22, 2018
    • Eli Schwartz's avatar
      config: allow reading both the defaults file and the modified config · 97c5bcec
      Eli Schwartz authored and Lukas Fleischer's avatar Lukas Fleischer committed
      
      In the process, rename config.proto to config.defaults (because that is
      what it is now).
      
      Also use dict.get('key', default_value) when querying os.environ, rather
      than an if block, as it is more pythonic/readable/concise, and reduces
      the number of dict lookups.
      
      This change allows aurweb configuration to be done via either:
      - copying config.defaults to config and modifying values
      - creating a new config only containing modified values, next to a
        config.defaults containing unmodified values
      
      The motivation for this change is to enable ansible configuration in our
      flagship deployment by storing only changed values, and deferring to
      config.defaults otherwise.
      
      A side benefit is, it is easier to see what has changed by inspecting
      only the site configuration file.
      
      If a config.defaults file does not exist next to $AUR_CONFIG or in
      $AUR_CONFIG_DEFAULTS, it is ignored and *all* values are expected to
      live in the modified config file.
      
      Signed-off-by: default avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
      97c5bcec
  8. Mar 10, 2018
  9. Jan 26, 2018
  10. Aug 01, 2017
  11. Jul 25, 2017
  12. Apr 12, 2017
  13. Jan 17, 2017
  14. Jan 12, 2017
  15. Oct 17, 2016
  16. Oct 08, 2016
    • Lukas Fleischer's avatar
      Reorganize Git interface scripts · d4fe77ac
      Lukas Fleischer authored
      
      Move the Git interface scripts from git-interface/ to aurweb/git/. Use
      setuptools to automatically create wrappers which can be installed using
      `python3 setup.py install`. Update the configuration files, the test
      suite as well as the INSTALL and README files to reflect these changes.
      
      Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>
      d4fe77ac
  17. Jun 08, 2016
  18. Mar 15, 2016
  19. Feb 07, 2016
  20. Dec 13, 2015
  21. Nov 14, 2015
  22. Jun 28, 2015
  23. Jun 18, 2015
  24. Jun 12, 2015
  25. Jun 11, 2015
  26. Jun 09, 2015
  27. Jun 02, 2015
  28. Jun 01, 2015
  29. May 21, 2015
  30. Apr 11, 2015
  31. Feb 04, 2015
  32. Jan 11, 2015
  33. Jan 01, 2015
  34. Dec 29, 2014
  35. Dec 27, 2014
  36. Feb 06, 2014
  37. Jan 19, 2013
  38. Dec 07, 2012
Loading