This project is mirrored from https://:*****@gitlab.archlinux.org/archlinux/aurweb.git. Pull mirroring updated .
  1. 20 Feb, 2021 1 commit
    • Frédéric Mangano-Tarumi's avatar
      Create aurweb.spawn for spawing the test server · 8a135005
      Frédéric Mangano-Tarumi authored and Lukas Fleischer's avatar Lukas Fleischer committed
      
      
      This program makes it easier for developers to spawn the PHP server
      since it fetches automatically what it needs from the configuration
      file, rather than having the user explicitly pass arguments to the php
      executable.
      
      When the setup gets more complicated as we introduce Python,
      aurweb.spawn will keep providing the same interface, while under the
      hood it is planned to support running multiple sub-processes.
      
      Its Python interface provides an way for the test suite to spawn the
      test server when it needs to perform HTTP requests to the test server.
      
      The current implementation is somewhat weak as it doesn’t detect when a
      child process dies, but this is not supposed to happen often, and it is
      only meant for aurweb developers.
      
      In the long term, aurweb.spawn will eventually become obsolete, and
      replaced by Docker or Flask’s tools.
      
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      8a135005
  2. 11 Feb, 2020 3 commits
  3. 07 Oct, 2019 1 commit
  4. 06 Aug, 2018 1 commit
  5. 22 Apr, 2018 1 commit
    • 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: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      97c5bcec
  6. 10 Mar, 2018 1 commit
  7. 24 Feb, 2018 1 commit
  8. 01 Aug, 2017 1 commit
  9. 24 Apr, 2017 1 commit
  10. 23 Apr, 2017 1 commit
  11. 15 Feb, 2017 1 commit
  12. 12 Feb, 2017 1 commit
  13. 25 Jan, 2017 1 commit
  14. 20 Jan, 2017 1 commit
  15. 07 Jan, 2017 1 commit
  16. 08 Oct, 2016 1 commit
    • 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: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      d4fe77ac
  17. 29 Sep, 2016 2 commits
  18. 05 Aug, 2016 2 commits
  19. 04 Aug, 2016 1 commit
  20. 26 Jun, 2016 1 commit
  21. 10 May, 2016 1 commit
  22. 06 Feb, 2016 1 commit
  23. 13 Dec, 2015 1 commit
  24. 14 Nov, 2015 1 commit
  25. 16 Aug, 2015 2 commits
  26. 08 Aug, 2015 1 commit
  27. 28 Jun, 2015 1 commit
  28. 19 Jun, 2015 1 commit
  29. 14 Jun, 2015 1 commit
  30. 11 Jun, 2015 3 commits
  31. 04 Jun, 2015 1 commit
  32. 02 Jun, 2015 2 commits