[aur-dev] [PATCH/RFC 0/5] Use Git repositories to store AUR packages

Lukas Fleischer archlinux at cryptocrack.de
Tue Jun 17 14:22:48 EDT 2014


This patch series adds Git support to the AUR. The scripts are not
thoroughly tested and there is no documentation as of now. First
comments and reviews are welcome, though!

If you want to test this, note that the scripts currently require a
patched sshd(8) [1]. I am trying to get this upstream.

[1] https://github.com/ScottDuckworth/openssh-akcenv

Lukas Fleischer (5):
  Add support for adding SSH public keys to profiles
  Add basic Git authentication/authorization scripts
  Add update hook template
  Use Git repositories to store packages
  Add public clone URLs to package details

 UPGRADING                             |   10 +-
 schema/aur-schema.sql                 |    1 +
 scripts/git-integration/config.sample |   17 +
 scripts/git-integration/git-auth.py   |   41 +
 scripts/git-integration/git-serve.py  |  106 ++
 scripts/git-integration/git-update.py |  334 ++++++
 web/html/account.php                  |    7 +-
 web/html/pkgsubmit.php                |  495 --------
 web/lib/Archive/PEAR.php              | 1063 ------------------
 web/lib/Archive/PEAR5.php             |   33 -
 web/lib/Archive/Tar.php               | 1993 ---------------------------------
 web/lib/acctfuncs.inc.php             |   78 +-
 web/lib/aurjson.class.php             |    1 -
 web/lib/config.inc.php.proto          |    4 +-
 web/lib/pkgbasefuncs.inc.php          |   39 -
 web/lib/pkgbuild-parser.inc.php       |  139 ---
 web/lib/pkgfuncs.inc.php              |  195 ----
 web/lib/routing.inc.php               |    1 -
 web/template/account_edit_form.php    |    5 +
 web/template/header.php               |    1 -
 web/template/pkg_details.php          |   10 +-
 web/template/pkgbase_details.php      |   10 +-
 22 files changed, 602 insertions(+), 3981 deletions(-)
 create mode 100644 scripts/git-integration/config.sample
 create mode 100755 scripts/git-integration/git-auth.py
 create mode 100755 scripts/git-integration/git-serve.py
 create mode 100755 scripts/git-integration/git-update.py
 delete mode 100644 web/html/pkgsubmit.php
 delete mode 100644 web/lib/Archive/PEAR.php
 delete mode 100644 web/lib/Archive/PEAR5.php
 delete mode 100644 web/lib/Archive/Tar.php
 delete mode 100644 web/lib/pkgbuild-parser.inc.php

-- 
2.0.0



More information about the aur-dev mailing list