From c1be67be8a78465e3bb2ec29985bd747a088158e Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 3 Sep 2009 16:38:07 +0000
Subject: [PATCH] abuild: include repo description and version in temp apk
 cache

---
 abuild.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/abuild.in b/abuild.in
index 23c9f965a44f..0e1a8685d075 100755
--- a/abuild.in
+++ b/abuild.in
@@ -533,7 +533,9 @@ apkcache() {
 	if [ -f APKINDEX.tar.gz ]; then
 		oldindex="--index APKINDEX.tar.gz"
 	fi
-	apk index $oldindex --output APKINDEX.tar.gz.unsigned *.apk || exit 1
+	apk index $oldindex --output APKINDEX.tar.gz.unsigned \
+		--description "$repo $(cd $startdir && git describe)" \
+		*.apk || exit 1
 	msg "Signing the index..."
 	abuild-sign -q APKINDEX.tar.gz.unsigned || exit 1
 	mv APKINDEX.tar.gz.unsigned APKINDEX.tar.gz
-- 
GitLab