Commit 96767e60 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Update the page and publish to tarot-releases

parent f81c4f02
Pipeline #130585 passed with stages
in 24 minutes and 53 seconds
......@@ -159,32 +159,6 @@ if test "x$CI_COMMIT_TAG" != "x"
then
cd $SOURCE_TOP
TARFILE=$(ls dist/tarot-*.tar.gz)
SHASUM=$(sha256sum $TARFILE | head -c 64)
UPLOAD_STATUS=$(curl \
--request POST \
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
--form \
"file=@$TARFILE" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads")
URL=$(echo "$UPLOAD_STATUS" | jq -r '.url')
echo "Upload $TARFILE to $CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads: $UPLOAD_STATUS"
NAME="Tarot release"
TAG_NAME="$CI_COMMIT_TAG"
DESCRIPTION=$(git tag -l --format='%(contents)' "$CI_COMMIT_TAG")
FULL_URL="${CI_PROJECT_URL}${URL}"
LINK="{\"name\": \"$TARFILE\", \"url\": \"$FULL_URL\"}"
ASSETS="{\"links\": [$LINK]}"
DESCRIPTION_ESCAPED=$(echo "$DESCRIPTION" | jq -R --slurp '.')
DATA="{\"name\": \"$NAME\", \"tag_name\": \"$TAG_NAME\", \"description\": $DESCRIPTION_ESCAPED, \"assets\": $ASSETS}"
echo "POSTing $DATA to $CI_API_V4_URL/projects/$CI_PROJECT_ID/releases"
curl --header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
--data "$DATA" \
--request POST \
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases" || exit 1
mkdir /root/.ssh || exit 1
echo "$SSH_KEY" > /root/.ssh/id_rsa || exit 1
echo "$SSH_KEY_PUB" > /root/.ssh/id_rsa.pub || exit 1
......@@ -192,24 +166,7 @@ then
chmod go-rwx /root/.ssh/id_rsa || exit 1
git config --global user.email "vivien@planete-kraus.eu" || exit 1
git config --global user.name "Gitlab CI for the tarot package" || exit 1
git clone git@framagit.org:play-tarot/tarot-flatpak.git || exit 1
cd tarot-flatpak || exit 1
./update-tarot.sh "$FULL_URL" "$SHASUM" || exit 1
git add . || exit 1
git commit -m"New version"
git push
cd .. || exit 1
git clone git@framagit.org:play-tarot/tarot-deb.git || exit 1
cd tarot-deb || exit 1
./update-tarot.sh "$FULL_URL" "$(cat $SOURCE_TOP/.version)" || exit 1
git add . || exit 1
git commit -m"New version"
git push
cd .. || exit 1
git clone git@framagit.org:play-tarot/tarot-mingw.git || exit 1
cd tarot-mingw || exit 1
./update-tarot.sh "$FULL_URL" || exit 1
git add .
git commit -m"New version"
git push
wget -O /tmp/submit https://play-tarot.frama.io/tarot-releases/submit || exit 1
chmod ugo+x /tmp/submit || exit 1
/tmp/submit $TARFILE || exit 1
fi
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tarot 0.4.2.83-ebdc-dirty\n"
"Report-Msgid-Bugs-To: vivien@planete-kraus.eu\n"
"POT-Creation-Date: 2019-04-27 22:05+0200\n"
"POT-Creation-Date: 2019-04-28 00:05+0200\n"
"PO-Revision-Date: 2019-04-22 15:59+0200\n"
"Last-Translator: Vivien Kraus <vivien@planete-kraus.eu>\n"
"Language-Team: French\n"
......
......@@ -11,12 +11,20 @@ This is the repository of the Tarot source code. Welcome!
* Download the software
You have several options.
** Use a supported package manager
** Not using Windows: try your habitual software distribution
How do you usually download software? Try that method with the name
=tarot=, or =eu.planete_kraus.Tarot=. If there is no such package,
please tell me so that I can work on porting the app to this platform.
There is only a requirement: the platform should be able to distribute
GPLv3+-licensed applications.
** Still not using Windows, but the above failed: use a supported package manager
Package managers are recommended since they let you stay up to date
with each release. Tarot tries to be available with as many package
managers as possible, however there are a few restrictions.
*** You're running a debian- or ubuntu-based system
*** You're running a debian- or ubuntu-based system: use apt
You can install tarot system-wide. Run these commands as *root*.
#+BEGIN_SRC shell :eval no
......@@ -36,29 +44,6 @@ You can install tarot system-wide. Run these commands as *root*.
apt install tarot
#+END_SRC
*** You're running any GNU/Linux: Use Flatpak
Configure flatpak with these easy steps:
#+BEGIN_SRC shell :eval no
# Add the GNOME repo for the runtime dependencies; remove "--user" for
# system-wide installation.
flatpak --user remote-add --if-not-exists gnome \
https://sdk.gnome.org/gnome.flatpakrepo
# Add the tarot repo
flatpak --user remote-add --if-not-exists tarot \
https://play-tarot.frama.io/tarot-flatpak/tarot.flatpakrepo
# Install the package
flatpak --user install -y tarot eu.planete_kraus.Tarot
#+END_SRC
For developers: the Flatpak manifest is at
[[https://play-tarot.frama.io/tarot-flatpak/eu.planete_kraus.Tarot.json]][fn::There
is another version at
[[https://play-tarot.frama.io/tarot-flatpak/other/eu.planete_kraus.Tarot.json]]].
It is updated with each release with a short delay.
*** Your favorite package manager is not listed here
Please tell me. There are a few restrictions on which package
managers are listed here:
......@@ -71,26 +56,35 @@ managers are listed here:
possible to use it without its "main" archive) or its archive should
have a clear policy on accepting only free software.
** Download the latest release
There is a Windows installer available here:
** Windows users: download the installer
The latest release is provided as a NSIS installer at
[[https://play-tarot.frama.io/tarot-mingw/tarot-setup.exe]].
The latest release is always available online at
[[https://play-tarot.frama.io/tarot/tarot-latest.tar.gz]]. Once
extracted, you should run:
** Otherwise: download a release and compile it
Visit [[https://play-tarot.frama.io/tarot-releases/]] and download one of
the releases. No checksum is provided because they are available
under HTTPS.
The usual steps to compile the project are:
#+BEGIN_SRC shell :eval no
./configure && make && sudo make install
#+END_SRC
** Just for fun: compile from source
Clone the [[https://framagit.org/play-tarot/tarot]] repository, run the
=autogen.sh= script and follow the usual steps to compile the project.
Please note that you need to have lots of maintainer-dependencies,
like the Autotools, Vala or Emacs in order to do that.
** Cutting-edge development
Each commit on the repository has an attached distribution and
Mingw-compiled setup, as a Gitlab artifact.
* Documentation
There are several sources of documentation. There is an online
version of the manual at
There is an online version of the manual at
[[https://play-tarot.frama.io/tarot/share/doc/tarot/tarot.html/index.html#Top]].
Less interestingly, there is a developer blog at
[[https://play-tarot.frama.io/tarot/share/doc/tarot/blog/]].
If you have a bug, you don't understand something, or have a dream,
come and share it with me on the fediverse (=@vk@mamot.fr=) or by
email.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment