mirror of
https://github.com/YunoHost-Apps/diagramsnet_ynh.git
synced 2024-09-03 18:26:33 +02:00
Merge branch 'testing' of https://github.com/YunoHost-Apps/diagramsnet_ynh into testing
This commit is contained in:
commit
8e301824c6
5 changed files with 9 additions and 24 deletions
20
.github/workflows/updater.sh
vendored
20
.github/workflows/updater.sh
vendored
|
@ -65,44 +65,28 @@ echo "Handling asset at $asset_url"
|
||||||
|
|
||||||
src="app"
|
src="app"
|
||||||
|
|
||||||
# If $src is not empty, let's process the asset
|
|
||||||
if [ ! -z "$src" ]; then
|
|
||||||
|
|
||||||
# Create the temporary directory
|
# Create the temporary directory
|
||||||
tempdir="$(mktemp -d)"
|
tempdir="$(mktemp -d)"
|
||||||
|
|
||||||
# Download sources and calculate checksum
|
# Download sources and calculate checksum
|
||||||
filename=${asset_url##*/}
|
filename="temp.tar.gz"
|
||||||
curl --silent -4 -L $asset_url -o "$tempdir/$filename"
|
curl --silent -4 -L $asset_url -o "$tempdir/$filename"
|
||||||
checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
|
checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
|
||||||
|
|
||||||
# Delete temporary directory
|
# Delete temporary directory
|
||||||
rm -rf $tempdir
|
rm -rf $tempdir
|
||||||
|
|
||||||
# Get extension
|
|
||||||
if [[ $filename == *.tar.gz ]]; then
|
|
||||||
extension=tar.gz
|
|
||||||
else
|
|
||||||
extension=${filename##*.}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rewrite source file
|
# Rewrite source file
|
||||||
cat <<EOT > conf/$src.src
|
cat <<EOT > conf/$src.src
|
||||||
SOURCE_URL=$asset_url
|
SOURCE_URL=$asset_url
|
||||||
SOURCE_SUM=$checksum
|
SOURCE_SUM=$checksum
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=$extension
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=
|
SOURCE_FILENAME=
|
||||||
EOT
|
EOT
|
||||||
echo "... conf/$src.src updated"
|
echo "... conf/$src.src updated"
|
||||||
|
|
||||||
else
|
|
||||||
echo "... asset ignored"
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPDATE STEPS
|
# SPECIFIC UPDATE STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams
|
Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams
|
||||||
|
|
||||||
**Shipped version:** 18.0.1~ynh1
|
**Shipped version:** 18.0.3~ynh1
|
||||||
|
|
||||||
**Demo:** https://app.diagrams.net/
|
**Demo:** https://app.diagrams.net/
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
Application en ligne qui permet de faire des schémas et du dessin vectoriel
|
Application en ligne qui permet de faire des schémas et du dessin vectoriel
|
||||||
|
|
||||||
**Version incluse :** 18.0.1~ynh1
|
**Version incluse :** 18.0.3~ynh1
|
||||||
|
|
||||||
**Démo :** https://app.diagrams.net/
|
**Démo :** https://app.diagrams.net/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
SOURCE_URL=https://github.com/jgraph/drawio/archive/v18.0.2.tar.gz
|
SOURCE_URL=https://api.github.com/repos/jgraph/drawio/tarball/v18.0.3
|
||||||
SOURCE_SUM=00c9508997e8aeea1d91d928d6108d321e864786529ac92c0599ca6e0de2306e
|
SOURCE_SUM=3096dabfcd8b89d95f75f7b648a6e3caaae26db96b9fb0425aa502ee242857fa
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
SOURCE_FILENAME=
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams",
|
"en": "Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams",
|
||||||
"fr": "Application en ligne qui permet de faire des schémas et du dessin vectoriel"
|
"fr": "Application en ligne qui permet de faire des schémas et du dessin vectoriel"
|
||||||
},
|
},
|
||||||
"version": "18.0.2~ynh1",
|
"version": "18.0.3~ynh1",
|
||||||
"url": "https://www.diagrams.net/",
|
"url": "https://www.diagrams.net/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
"nginx"
|
"nginx"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install" : [
|
"install": [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain"
|
"type": "domain"
|
||||||
|
|
Loading…
Add table
Reference in a new issue