Skip to content
Snippets Groups Projects
  1. May 18, 2021
  2. May 13, 2021
  3. May 11, 2021
    • 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: default 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: default avatarLukas Fleischer <lfleischer@archlinux.org>
      Co-authored-by: default avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: default avatarEli Schwartz <eschwartz@archlinux.org>
      19652d6c
  4. May 09, 2021
  5. May 03, 2021
  6. Apr 28, 2021
  7. Mar 29, 2021
  8. Feb 20, 2021
Loading