Update metadata to target the new git repository

Since tarballs are not provided by this new repository, only installation instructions using git are kept.
This commit is contained in:
Antoine Le Gonidec 2024-04-24 20:06:28 +02:00
parent 3243439d75
commit 77a903816c
Signed by: vv221
GPG key ID: 636B78F91CEB80D8
3 changed files with 8 additions and 42 deletions

View file

@ -10,59 +10,25 @@ through links in the page menu.
## Installation ## Installation
### Installation using archives ### Requirements
#### 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
* `git` * `git`
#### Current stable version (1.2.1) ### Current stable version (1.2.1)
Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`: Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`:
``` ```
DOKUWIKI_PATH=/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" 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`: Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`:
``` ```
DOKUWIKI_PATH=/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" git clone --branch master --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages"
``` ```

View file

@ -3,7 +3,7 @@
* Children pages plugin: Shows links to children pages in the page menu * Children pages plugin: Shows links to children pages in the page menu
* *
* @license BSD 2-Clause * @license BSD 2-Clause
* @author Antoine Le Gonidec <vv221.dokuwiki@dotslashplay.it> * @author Antoine Le Gonidec <vv221.dokuwiki@vv221.fr>
*/ */
// must be run within Dokuwiki // must be run within Dokuwiki

View file

@ -1,7 +1,7 @@
base childrenpages base childrenpages
author Antoine Le Gonidec author Antoine Le Gonidec
email vv221.dokuwiki@dotslashplay.it email vv221.dokuwiki@vv221.fr
date 2020-04-28 date 2020-04-28
name Children pages name Children pages
desc For each page, this plugin adds children pages in pre-set namespaces, reachable through links in the page menu 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/