mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
git-update.py: Update repository description
Use the package description of the first package as the Git repository description. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c3c110c09d
commit
9ed559eb33
1 changed files with 4 additions and 0 deletions
|
@ -211,3 +211,7 @@ db = mysql.connector.connect(host=aur_db_host, user=aur_db_user,
|
||||||
cur = db.cursor()
|
cur = db.cursor()
|
||||||
save_srcinfo(srcinfo, db, cur, user)
|
save_srcinfo(srcinfo, db, cur, user)
|
||||||
db.close()
|
db.close()
|
||||||
|
|
||||||
|
with open(git_dir + '/description', 'w') as f:
|
||||||
|
pkginfo = srcinfo.GetMergedPackage(list(srcinfo.GetPackageNames())[0])
|
||||||
|
f.write(pkginfo['pkgdesc'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue