Compare commits
5 commits
authentik/
...
v3.21
Author | SHA1 | Date | |
---|---|---|---|
0caef84127 | |||
f49fa21894 | |||
e2f0f1f005 | |||
eab8fee00d | |||
7d89efbe5b |
4 changed files with 35 additions and 13 deletions
|
@ -18,8 +18,30 @@ for pkg in $owned_by_you; do
|
||||||
downstream_version=$(sed -n "/^P:$pkg$/,/^$/p" APKINDEX | awk -F ':' '{if($1=="V"){print $2}}' | sort -V | tail -n 1)
|
downstream_version=$(sed -n "/^P:$pkg$/,/^$/p" APKINDEX | awk -F ':' '{if($1=="V"){print $2}}' | sort -V | tail -n 1)
|
||||||
downstream_version=${downstream_version/-*}
|
downstream_version=${downstream_version/-*}
|
||||||
|
|
||||||
# special case for forgejo-aneksajo:
|
# special cases
|
||||||
upstream_version=${upstream_version/-git-annex/_git}
|
case $pkg in
|
||||||
|
forgejo-aneksajo)upstream_version=${upstream_version/-git-annex/_git};;
|
||||||
|
authentik)
|
||||||
|
upstream_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/projects/?name=$pkg&distribution=Alpine" | jq -r '.items.[].stable_versions' | jq -r ".[] | match(\"${downstream_version%.*}.*\").string" | head -n 1)
|
||||||
|
latest_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/packages/?name=$pkg&distribution=Alpine" | jq -r '.items.[].stable_version' )
|
||||||
|
# append version number to signal that this is not latest major version
|
||||||
|
if [ "${upstream_version%.*}" != "${latest_version%.*}" ]; then
|
||||||
|
echo "$pkg${latest_version%.*} major version available"
|
||||||
|
echo "$pkg${latest_version%.*} $downstream_version $latest_version $repo" >> out_of_date
|
||||||
|
pkg=$pkg${upstream_version%.*}
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
mastodon)
|
||||||
|
upstream_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/projects/?name=$pkg&distribution=Alpine" | jq -r '.items.[].stable_versions' | jq -r ".[] | match(\"${downstream_version%.*}.*\").string" | head -n 1)
|
||||||
|
latest_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/packages/?name=$pkg&distribution=Alpine" | jq -r '.items.[].stable_version' )
|
||||||
|
# append version number to signal that this is not latest major version
|
||||||
|
if [ "${upstream_version%.*}" != "${latest_version%.*}" ]; then
|
||||||
|
echo "$pkg${latest_version%.*} major version available"
|
||||||
|
echo "$pkg${latest_version%.*} $downstream_version $latest_version $repo" >> out_of_date
|
||||||
|
pkg=$pkg${upstream_version%.*}
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ -z "$upstream_version" ]; then
|
if [ -z "$upstream_version" ]; then
|
||||||
echo "$pkg not in anitya"
|
echo "$pkg not in anitya"
|
||||||
|
|
|
@ -15,10 +15,10 @@ does_it_exist() {
|
||||||
repo=$4
|
repo=$4
|
||||||
|
|
||||||
query="$repo/$name: upgrade to $upstream_version"
|
query="$repo/$name: upgrade to $upstream_version"
|
||||||
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )"
|
query="%22$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )%22"
|
||||||
|
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues&sort=latest" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Authorization: token $ISSUE_TOKEN"
|
-H "Authorization: token $ISSUE_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
@ -35,10 +35,10 @@ is_it_old() {
|
||||||
repo=$4
|
repo=$4
|
||||||
|
|
||||||
query="$repo/$name: upgrade to"
|
query="$repo/$name: upgrade to"
|
||||||
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )"
|
query="%22$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )%22"
|
||||||
|
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues&sort=latest" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN"
|
-H "authorization: token $ISSUE_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
@ -126,10 +126,10 @@ fi
|
||||||
|
|
||||||
if [ -f not_in_anitya ]; then
|
if [ -f not_in_anitya ]; then
|
||||||
query="Add missing $repo packages to anitya"
|
query="Add missing $repo packages to anitya"
|
||||||
query="$(echo $query | sed 's| |%20|g')"
|
query="%22$(echo $query | sed 's| |%20|g')%22"
|
||||||
|
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues&sort=latest" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "authorization: token $ISSUE_TOKEN"
|
-H "authorization: token $ISSUE_TOKEN"
|
||||||
)"
|
)"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=forgejo-aneksajo
|
pkgname=forgejo-aneksajo
|
||||||
pkgver=10.0.3_git0
|
pkgver=11.0.0_git0
|
||||||
_gittag=v${pkgver/_git/-git-annex}
|
_gittag=v${pkgver/_git/-git-annex}
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Self-hosted Git service written in Go with git-annex support"
|
pkgdesc="Self-hosted Git service written in Go with git-annex support"
|
||||||
|
@ -60,7 +60,7 @@ build() {
|
||||||
export CGO_LDFLAGS="$LDFLAGS"
|
export CGO_LDFLAGS="$LDFLAGS"
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
## make FHS compliant
|
## make FHS compliant
|
||||||
local setting="code.gitea.io/gitea/modules/setting"
|
local setting="forgejo.org/modules/setting"
|
||||||
export LDFLAGS="$LDFLAGS -X $setting.CustomConf=/etc/forgejo/app.ini"
|
export LDFLAGS="$LDFLAGS -X $setting.CustomConf=/etc/forgejo/app.ini"
|
||||||
export LDFLAGS="$LDFLAGS -X $setting.AppWorkPath=/var/lib/forgejo/"
|
export LDFLAGS="$LDFLAGS -X $setting.AppWorkPath=/var/lib/forgejo/"
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e32c919228df167374e8f3099e2e59bfab610aac6c87465318efe1cac446d014535e270f57b0bf8b2a7eb3843c5dcb189eac4dad2e230b57acd9096ead647eca forgejo-aneksajo-v10.0.3-git-annex0.tar.gz
|
07f72fcd3bb02a6bbfbcf73f8526c51f1f3fe39d2a504395dfb0997743a190bd210389d58114aaf546fb6d0fabaa80a54240632e11eeba35250b9e6b9b63f438 forgejo-aneksajo-v11.0.0-git-annex0.tar.gz
|
||||||
497d8575f2eb5ac43baf82452e76007ef85e22cca2cc769f1cf55ffd03d7ce4d50ac4dc2b013e23086b7a5577fc6de5a4c7e5ec7c287f0e3528e908aaa2982aa forgejo-aneksajo.initd
|
497d8575f2eb5ac43baf82452e76007ef85e22cca2cc769f1cf55ffd03d7ce4d50ac4dc2b013e23086b7a5577fc6de5a4c7e5ec7c287f0e3528e908aaa2982aa forgejo-aneksajo.initd
|
||||||
b537b41b6b3a945274a6028800f39787b48c318425a37cf5d40ace0d1b305444fd07f17b4acafcd31a629bedd7d008b0bb3e30f82ffeb3d7e7e947bdbe0ff4f3 forgejo-aneksajo.ini
|
b537b41b6b3a945274a6028800f39787b48c318425a37cf5d40ace0d1b305444fd07f17b4acafcd31a629bedd7d008b0bb3e30f82ffeb3d7e7e947bdbe0ff4f3 forgejo-aneksajo.ini
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=listmonk
|
pkgname=listmonk
|
||||||
pkgver=4.1.0
|
pkgver=5.0.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard'
|
pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard'
|
||||||
arch="all"
|
arch="all"
|
||||||
|
@ -67,7 +67,7 @@ package() {
|
||||||
ln -s /etc/listmonk/config.toml "$pkgdir"/usr/share/webapps/listmonk/config.toml
|
ln -s /etc/listmonk/config.toml "$pkgdir"/usr/share/webapps/listmonk/config.toml
|
||||||
}
|
}
|
||||||
sha512sums="
|
sha512sums="
|
||||||
936b33d6de1d69ee4e7f768810116ac997c516754aace0371089bc8106bebee944197864afc11b7bc5725afa9a4f195d6629957bfcdd37c847e3780aa34558ec listmonk-4.1.0.tar.gz
|
b0875124106ac737550eb340c209f079698c0b9e1f1e55c70eca113720dbc9dcfaac63aa65722299a1448a582cedf0f9ee20b24ea0625d4e780d83e0d6bab198 listmonk-5.0.0.tar.gz
|
||||||
939450af4b23708e3d23a5a88fad4c24b957090bdd21351a6dd520959e52e45e5fcac117a3eafa280d9506616dae39ad3943589571f008cac5abe1ffd8062424 listmonk.sh
|
939450af4b23708e3d23a5a88fad4c24b957090bdd21351a6dd520959e52e45e5fcac117a3eafa280d9506616dae39ad3943589571f008cac5abe1ffd8062424 listmonk.sh
|
||||||
8e9c0b1f335c295fb741418246eb17c7566e5e4200a284c6483433e8ddbf5250aa692435211cf062ad1dfcdce3fae9148def28f03f2492d33fe5e66cbeebd4bd listmonk.openrc
|
8e9c0b1f335c295fb741418246eb17c7566e5e4200a284c6483433e8ddbf5250aa692435211cf062ad1dfcdce3fae9148def28f03f2492d33fe5e66cbeebd4bd listmonk.openrc
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue