From 77a903816cdeb0baf7c6b34368ea2eda9f79637c Mon Sep 17 00:00:00 2001 From: Antoine Le Gonidec Date: Wed, 24 Apr 2024 20:06:28 +0200 Subject: [PATCH] Update metadata to target the new git repository Since tarballs are not provided by this new repository, only installation instructions using git are kept. --- README.md | 44 +++++--------------------------------------- action.php | 2 +- plugin.info.txt | 4 ++-- 3 files changed, 8 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index a9a26a0..0742dc4 100644 --- a/README.md +++ b/README.md @@ -10,59 +10,25 @@ through links in the page menu. ## Installation -### Installation using archives - -#### Requirements - -* `curl` -* `tar` -* `gzip` - -#### Current stable version (1.2.1) - -Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`: -``` -DOKUWIKI_PATH=/srv/dokuwiki -TARBALL_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages/-/archive/1.2.1/dokuwiki-childrenpages-1.2.1.tar.gz -curl "$TARBALL_URL" > dokuwiki-childrenpages-1.2.1.tar.gz -mkdir --parents "$DOKUWIKI_PATH/lib/plugins/childrenpages" -gzip --stdout --decompress dokuwiki-childrenpages-1.2.1.tar.gz | tar xf - --strip-components=1 --directory="$DOKUWIKI_PATH/lib/plugins/childrenpages" -rm dokuwiki-childrenpages-1.2.1.tar.gz -``` - -#### Latest development version - -Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`: -``` -DOKUWIKI_PATH=/srv/dokuwiki -TARBALL_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages/-/archive/master/dokuwiki-childrenpages-master.tar.gz -curl "$TARBALL_URL" > dokuwiki-childrenpages-master.tar.gz -mkdir --parents "$DOKUWIKI_PATH/lib/plugins/childrenpages" -gzip --stdout --decompress dokuwiki-childrenpages-master.tar.gz | tar xf - --strip-components=1 --directory="$DOKUWIKI_PATH/lib/plugins/childrenpages" -rm dokuwiki-childrenpages-master.tar.gz -``` - -### Installation using git - -#### Requirements +### Requirements * `git` -#### Current stable version (1.2.1) +### Current stable version (1.2.1) Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`: ``` DOKUWIKI_PATH=/srv/dokuwiki -REPO_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages.git +REPO_URL=https://git.vv221.fr/dokuwiki-childrenpages git clone --branch 1.2.1 --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages" ``` -#### Latest development version +### Latest development version Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`: ``` DOKUWIKI_PATH=/srv/dokuwiki -REPO_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages.git +REPO_URL=https://git.vv221.fr/dokuwiki-childrenpages git clone --branch master --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages" ``` diff --git a/action.php b/action.php index 8a439ee..181dc13 100644 --- a/action.php +++ b/action.php @@ -3,7 +3,7 @@ * Children pages plugin: Shows links to children pages in the page menu * * @license BSD 2-Clause - * @author Antoine Le Gonidec + * @author Antoine Le Gonidec */ // must be run within Dokuwiki diff --git a/plugin.info.txt b/plugin.info.txt index c4a38e2..5878927 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base childrenpages author Antoine Le Gonidec -email vv221.dokuwiki@dotslashplay.it +email vv221.dokuwiki@vv221.fr date 2020-04-28 name Children pages desc For each page, this plugin adds children pages in pre-set namespaces, reachable through links in the page menu -url https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages +url https://git.vv221.fr/dokuwiki-childrenpages/about/