This project is mirrored from https://:*****@gitlab.archlinux.org/archlinux/aurweb.git. Pull mirroring updated .
  1. 18 May, 2021 1 commit
  2. 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's avatarEli Schwartz <eschwartz@archlinux.org>
      e454a020
    • Kevin Morris's avatar
      swap uvicorn out for hypercorn · 19652d6c
      Kevin Morris authored and Eli Schwartz's avatar Eli Schwartz committed
      
      
      uvicorn is subjectively nicer to play with for local dev work, but
      hypercorn is required in order to do HTTP/2 which is fairly
      performance-important.
      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>
      19652d6c
  3. 20 Feb, 2021 24 commits
  4. 14 Oct, 2020 1 commit
  5. 27 Aug, 2020 1 commit
  6. 26 Aug, 2020 1 commit
  7. 22 Mar, 2020 1 commit
  8. 27 Feb, 2020 3 commits
  9. 11 Feb, 2020 2 commits
    • Lukas Fleischer's avatar
      Make SMTP port and authentication configurable · b855ce94
      Lukas Fleischer authored
      
      
      Add more options to configure the smtplib implementation for sending
      notification emails.
      
      The port can be changed using the new smtp-port option.
      
      Encryption can be configured using smtp-use-ssl and smtp-use-starttls.
      Keep in mind that you usually also need to change the port when enabling
      either of these options.
      
      Authentication can be configured using smtp-user and smtp-password.
      Authentication is disabled if either of these values is empty.
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      b855ce94
    • Lukas Fleischer's avatar
      Support smtplib for sending emails · de549fb2
      Lukas Fleischer authored
      
      
      Support mail delivery without a local MTA. Instead, an SMTP server can
      now be configured using the smtp-server option in the [notifications]
      section. In order to use this option, the value of the sendmail option
      must be empty.
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      de549fb2
  10. 02 Feb, 2020 4 commits