[aur-dev] [PATCH v2 0/5] FS#45410, TUs bypassing blacklist

Johannes Löthberg johannes at kyriasis.com
Tue Jun 23 08:55:06 UTC 2015


This patch series are meant to firstly simplify somewhat, and then to
implement FS#45410.

Changes since v1:
* Replace all uses of % with .format for consistency
* Quote envvar variables with shlex.quote
* Simplify if statement in git-serve

Johannes Löthberg (5):
  git: Use .format everywhere instead of %
  git: Use AUR_USER env var instead of ForceCommand argument
  git-auth: Set AUR_PRIVILEGED env var for TUs & devs
  git-serve: Drop direct AccountType checking, use AUR_PRIVILEGED
  git-update: Allow privileged users to bypass blacklist

 git-interface/aurinfo.py    | 18 +++++++++---------
 git-interface/git-auth.py   | 30 ++++++++++++++++++++++++++----
 git-interface/git-serve.py  | 31 +++++++++++++++----------------
 git-interface/git-update.py | 41 +++++++++++++++++++++--------------------
 4 files changed, 71 insertions(+), 49 deletions(-)

-- 
2.4.4


More information about the aur-dev mailing list