From 1c285420d91b1b6d42b199772c56d8da2de88e5b Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Mon, 1 Aug 2022 21:09:45 +0200 Subject: [PATCH] Improve downgrade docs --- .../LC_MESSAGES/how-to/upgrading/downgrade.mo | Bin 2067 -> 2540 bytes .../LC_MESSAGES/how-to/upgrading/downgrade.po | 16 ++++++++++------ docs/how-to/upgrading/downgrade.rst | 7 ++++++- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.mo b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.mo index 9d23bd6150ad4a7a20c396f2540e94232a4b9526..89e8c90a188e8bbc784fa58135949883b671a849 100644 GIT binary patch delta 763 zcmZXQF>ez=5QQgpAP`d|AOQu%l;mU_2gL+ZP#~0sA}ylfHh1Im#phkv+q2_<KBY&rQCZU3^7|2J#ZpAy<)~ zkUmxxh%SJuU<0{^+`+z6BZ|Ps;2rQSxC#CMzk-+Rv-2~HMBCVJfnMK&AEEIaJWn*C zdnbu5qVN#(LeG}a41NZ8!6WcCxOA zq>YOr)*`8INzF)SR?YfFK`_@&>_F07IpLw$GB=v{#EnEWk4XV+4uJg8Y3BHxW&_y5r zRh6aaBF{3>upgYFD*wJjxA<1RKQzYfi4^Iv10Jel=Cs$GTi`y9(%eeocp&a38>rjT gDgOn3wVHew>TFEkUt>&HhDFfv&cY5^&kNV54N3*?)ONZ?5)=oh37 ztYHnWa2KEd&wnsvzgiskUf>IFuW_F9M%=U} liSu>ec5QuN-A>`xRs2!;U~~J>RIB0M{=;19rs&Rs+ds^=FNpvE diff --git a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po index c6ec52bbd..3f89f2f2a 100644 --- a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po +++ b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: DSMR-reader\n" "Report-Msgid-Bugs-To: Dennis Siemensma \n" -"POT-Creation-Date: 2022-07-18 20:55+0000\n" -"PO-Revision-Date: 2022-07-18 22:56+0200\n" +"POT-Creation-Date: 2022-08-01 19:06+0000\n" +"PO-Revision-Date: 2022-08-01 21:07+0200\n" "Last-Translator: Dennis Siemensma \n" "Language: nl\n" "Language-Team: Dennis Siemensma \n" @@ -35,18 +35,22 @@ msgid "First, **please make sure you have a recent backup of your database**!" msgstr "Allereerst, **zorg ervoor dat je een recente backup hebt van je database**!" #: ../../how-to/upgrading/downgrade.rst:15 -msgid "Each release `has it's database migrations locked `_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release." +msgid "Each release `has it's database migrations locked `_. You should execute the script of the version you wish to downgrade to. And then switch the code to the release/tag accordingly." msgstr "Elke release `heeft z'n eigen databasemigraties vastgelegd `_. Je zult het script moeten uitvoeren voor de release waar je naar toe wilt. En vervolgens de codebase wisselen naar dezelfde release." -#: ../../how-to/upgrading/downgrade.rst:18 +#: ../../how-to/upgrading/downgrade.rst:20 +msgid "You do **not** need to downgrade to each intermediate version between your target. For example, if you currently run ``v5.6`` and your want to downgrade to ``v5.4``, just follow the sample below, ignoring ``v5.5`` between them." +msgstr "Je hoeft **niet** naar elke tussenliggende versie te downgraden. Bijvoorbeeld downgraden van ``v5.6`` naar ``v5.4`` kan direct met onderstaand voorbeeld, zonder ook met iets met ``v5.5`` te doen." + +#: ../../how-to/upgrading/downgrade.rst:23 msgid "For example when downgrading to ``v5.4``::" msgstr "Bijvoorbeeld, downgraden naar ``v5.4``::" -#: ../../how-to/upgrading/downgrade.rst:27 +#: ../../how-to/upgrading/downgrade.rst:32 msgid "Unapplying the database migrations may take a while." msgstr "Het terugdraaien van databasemigraties kan wat tijd in beslag nemen." -#: ../../how-to/upgrading/downgrade.rst:29 +#: ../../how-to/upgrading/downgrade.rst:34 msgid "You should now be on the targeted release." msgstr "Je zou nu op de gewenste release moeten zitten." diff --git a/docs/how-to/upgrading/downgrade.rst b/docs/how-to/upgrading/downgrade.rst index f7198709e..aeec987af 100644 --- a/docs/how-to/upgrading/downgrade.rst +++ b/docs/how-to/upgrading/downgrade.rst @@ -13,7 +13,12 @@ If for some reason you need to downgrade the application, you will need to: Each release `has it's database migrations locked `_. -You should execute the script of the version you wish to downgrade to. And the switch the code to the release. +You should execute the script of the version you wish to downgrade to. And then switch the code to the release/tag accordingly. + +.. tip:: + + You do **not** need to downgrade to each intermediate version between your target. + For example, if you currently run ``v5.6`` and your want to downgrade to ``v5.4``, just follow the sample below, ignoring ``v5.5`` between them. For example when downgrading to ``v5.4``::