mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change(rendercomment): converted to use aurweb.db ORM
- Added aurweb.util.git_search. - Decoupled away from rendercomment for easier testability. - Added aurweb.testing.git.GitRepository. - Added templates/testing/{PKGBUILD,SRCINFO}.j2. - Added aurweb.testing.git.GitRepository + `git` pytest fixture Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4b0cb0721d
commit
2d0e09cd63
9 changed files with 398 additions and 195 deletions
10
templates/testing/SRCINFO.j2
Normal file
10
templates/testing/SRCINFO.j2
Normal file
|
@ -0,0 +1,10 @@
|
|||
pkgbase = {{ pkg.PackageBase.name }}
|
||||
pkgver = {{ pkg.Version }}
|
||||
pkgrel = 1
|
||||
pkgdesc = {{ pkg.Description }}
|
||||
url = {{ pkg.URL }}
|
||||
arch='any'
|
||||
license = {{ pkg.package_licenses | join(", ", attribute="License.Name") }}
|
||||
depends = {{ pkg.package_dependencies | join(", ", attribute="DepName") }}
|
||||
|
||||
pkgname = {{ pkg.Name }}
|
Loading…
Add table
Add a link
Reference in a new issue