From 004df075df0d6593b12c4aba5ab68372413a3a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gra=C3=9Fl?= Date: Mon, 9 Nov 2026 10:46:32 +0100 Subject: [PATCH 1/2] The site names the versions the releases carry The slides half is pinned at 0.5.0, and the pages name the program at 0.2.1 and the library it holds at v0.5.0. The pin moves with the release it belongs to, and it is the last thing to change: a reader of the site finds the versions that are live. --- composer.json | 4 ++-- composer.lock | 14 +++++++------- content/command-line/basic.md | 4 ++-- content/command-line/installation.md | 8 ++++---- content/index.md | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 8d49ba1..307e2bf 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "league/commonmark": "^2.10", "markdown-office/commonmark-generic-directives": "0.3.1", "markdown-office/markdown-word": "0.4.0", - "markdown-office/markdown-presentation": "0.4.0" + "markdown-office/markdown-presentation": "0.5.0" }, "repositories": [ { @@ -47,7 +47,7 @@ "options": { "symlink": true, "versions": { - "markdown-office/markdown-presentation": "0.4.0" + "markdown-office/markdown-presentation": "0.5.0" } } } diff --git a/composer.lock b/composer.lock index 6f3253f..b7eafb3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "400d45906ea67c2fad2ef058570787c2", + "content-hash": "33fe75d8d0f4e906c8110f8ca3e16f65", "packages": [ { "name": "composer/pcre", @@ -736,11 +736,11 @@ }, { "name": "markdown-office/markdown-presentation", - "version": "0.4.0", + "version": "0.5.0", "dist": { "type": "path", "url": "../markdown-presentation", - "reference": "b26bcdb084a76797d9153db31b2f4537df91b55c" + "reference": "29ed95b8340e33adf564c0711cf8d220711760e7" }, "require": { "cweagans/composer-patches": "^2.0", @@ -765,9 +765,9 @@ "patches": { "phpoffice/phppresentation": [ { - "description": "PHPPresentation 1.2.0 brought up to upstream's master, with the fixes that give a picture the path, the bytes and the name it was read from, that find the folder of a part of a package with the slashes of the package, that write a chart series in the order the schema names it, that write the data points of a series and the fill of the series itself, and that give a category axis a tick label skip of its own, and that write a gradient of more than two stops and a background painted with a gradient", - "url": "https://raw.githubusercontent.com/markdown-office/PHPPresentation/c6de3987c9019a1d60876b4aa1964f15e1abc132/patches/phpoffice-phppresentation-1.2.0-to-master.patch", - "sha256": "bb422f73ad2211948835cf9c5f1aed7ec993c3e4595d6e11bd9836e2f9a5f8d5" + "description": "PHPPresentation 1.2.0 brought up to upstream's master, with the fixes that give a picture the path, the bytes and the name it was read from, that find the folder of a part of a package with the slashes of the package, that write a chart series in the order the schema names it, that write the data points of a series and the fill of the series itself, and that give a category axis a tick label skip of its own, and that write a gradient of more than two stops and a background painted with a gradient, and that give a picture the geometry it is drawn in", + "url": "https://raw.githubusercontent.com/markdown-office/PHPPresentation/a95169ca0d678cd2b4cd0fd6ec1e072b83d421cd/patches/phpoffice-phppresentation-1.2.0-to-master.patch", + "sha256": "4665f3095852e58b915f48f744125d6d700f477ef0daff3e0eb6757122484f01" } ] } @@ -839,7 +839,7 @@ "dist": { "type": "path", "url": "../markdown-word", - "reference": "453c81a0eb6ae2e5a6ae52c3c8456ef03810d46e" + "reference": "bae994cd2608afebd227af660fd77733dadf667c" }, "require": { "cweagans/composer-patches": "^2.0", diff --git a/content/command-line/basic.md b/content/command-line/basic.md index 85ff05b..c175e71 100644 --- a/content/command-line/basic.md +++ b/content/command-line/basic.md @@ -180,9 +180,9 @@ An installed copy answers with its own version and the two libraries it holds: ```bash $ mdoffice --version -mdoffice 0.2.0 +mdoffice 0.2.1 markdown-office/markdown-word v0.4.0 - markdown-office/markdown-presentation v0.4.0 + markdown-office/markdown-presentation v0.5.0 ``` The tool versions itself separately from the libraries it holds, because it is neither of them: a diff --git a/content/command-line/installation.md b/content/command-line/installation.md index 8a7748e..3c8a179 100644 --- a/content/command-line/installation.md +++ b/content/command-line/installation.md @@ -26,7 +26,7 @@ winget install markdown-office.mdoffice {% endtab %} {% tab "Linux" %} ```bash -curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.0-linux-x86_64 +curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.1-linux-x86_64 chmod +x mdoffice ``` {% endtab %} @@ -37,7 +37,7 @@ composer require markdown-office/mdoffice {% endtab %} {% endtabs %} -On ARM, the Linux asset is `mdoffice-0.2.0-linux-aarch64`. +On ARM, the Linux asset is `mdoffice-0.2.1-linux-aarch64`. **The release is out**, and the executables and the archive are on [the releases page](https://github.com/markdown-office/mdoffice/releases) with the checksum of @@ -84,7 +84,7 @@ signature is an ad-hoc one and the binary is not notarised. Fetching the file wi `curl` does not set the flag: ```bash -curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.0-macos-arm64 +curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.1-macos-arm64 chmod +x mdoffice ``` @@ -105,7 +105,7 @@ The same program as a PHAR, for a machine that has PHP and would rather not down a second copy of it: ```bash -curl -L -o mdoffice.phar https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.0.phar +curl -L -o mdoffice.phar https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.1.phar php mdoffice.phar word notes.md ``` diff --git a/content/index.md b/content/index.md index 4c9a9b8..0b634de 100644 --- a/content/index.md +++ b/content/index.md @@ -33,7 +33,7 @@ winget install markdown-office.mdoffice {% endtab %} {% tab "Linux" %} ```bash -curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.0-linux-x86_64 +curl -L -o mdoffice https://github.com/markdown-office/mdoffice/releases/latest/download/mdoffice-0.2.1-linux-x86_64 chmod +x mdoffice ``` {% endtab %} From 39c58156ef1ce7221df6f7b4fd72b9e70ef8d6df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gra=C3=9Fl?= Date: Mon, 9 Nov 2026 10:56:24 +0100 Subject: [PATCH 2/2] The lock names the commit the library is on The pin moved with the patch the library carries, and the lock records the commit the path repository is taken from. --- composer.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.lock b/composer.lock index b7eafb3..31eae77 100644 --- a/composer.lock +++ b/composer.lock @@ -740,7 +740,7 @@ "dist": { "type": "path", "url": "../markdown-presentation", - "reference": "29ed95b8340e33adf564c0711cf8d220711760e7" + "reference": "5ee678bd61025e09525ff1e62f6deb8ef59e6b4f" }, "require": { "cweagans/composer-patches": "^2.0", @@ -766,8 +766,8 @@ "phpoffice/phppresentation": [ { "description": "PHPPresentation 1.2.0 brought up to upstream's master, with the fixes that give a picture the path, the bytes and the name it was read from, that find the folder of a part of a package with the slashes of the package, that write a chart series in the order the schema names it, that write the data points of a series and the fill of the series itself, and that give a category axis a tick label skip of its own, and that write a gradient of more than two stops and a background painted with a gradient, and that give a picture the geometry it is drawn in", - "url": "https://raw.githubusercontent.com/markdown-office/PHPPresentation/a95169ca0d678cd2b4cd0fd6ec1e072b83d421cd/patches/phpoffice-phppresentation-1.2.0-to-master.patch", - "sha256": "4665f3095852e58b915f48f744125d6d700f477ef0daff3e0eb6757122484f01" + "url": "https://raw.githubusercontent.com/markdown-office/PHPPresentation/93ccb5683674a3c6d6d63a141897f64330be2211/patches/phpoffice-phppresentation-1.2.0-to-master.patch", + "sha256": "200e274eba003f6c1e69d6cc4f52a133c6359d710b85b236f45932751fd2a53a" } ] }