Skip to content

Commit

Permalink
Fix downgrade reference #1673
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jul 18, 2022
1 parent 34673e9 commit f631f3d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
Binary file modified docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.mo
Binary file not shown.
15 changes: 11 additions & 4 deletions docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ msgid ""
msgstr ""
"Project-Id-Version: DSMR-reader\n"
"Report-Msgid-Bugs-To: Dennis Siemensma <github@dennissiemensma.nl>\n"
"POT-Creation-Date: 2022-07-18 20:55+0000\n"
"PO-Revision-Date: 2022-07-18 22:56+0200\n"
"Last-Translator: Dennis Siemensma <github@dennissiemensma.nl>\n"
"Language: nl\n"
"Language-Team: Dennis Siemensma <github@dennissiemensma.nl>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 2.3\n"

#: ../../how-to/upgrading/downgrade.rst:2
msgid "Downgrading DSMR-reader"
Expand All @@ -31,12 +35,12 @@ 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 <https://github.com/dsmrreader/dsmr-reader/tree/v4/dsmrreader/provisioning/downgrade/>`_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release."
msgstr "Elke release `heeft z'n eigen databasemigraties vastgelegd <https://github.com/dsmrreader/dsmr-reader/tree/v4/dsmrreader/provisioning/downgrade>`_. Je zult het script moeten uitvoeren voor de release waar je naar toe wilt. En vervolgens de codebase wisselen naar dezelfde release."
msgid "Each release `has it's database migrations locked <https://github.com/dsmrreader/dsmr-reader/tree/v5/dsmrreader/provisioning/downgrade/>`_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release."
msgstr "Elke release `heeft z'n eigen databasemigraties vastgelegd <https://github.com/dsmrreader/dsmr-reader/tree/v5/dsmrreader/provisioning/downgrade>`_. 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
msgid "For example ``v4.0``::"
msgstr "Bijvoorbeeld ``v4.0``::"
msgid "For example when downgrading to ``v5.4``::"
msgstr "Bijvoorbeeld, downgraden naar ``v5.4``::"

#: ../../how-to/upgrading/downgrade.rst:27
msgid "Unapplying the database migrations may take a while."
Expand All @@ -45,3 +49,6 @@ msgstr "Het terugdraaien van databasemigraties kan wat tijd in beslag nemen."
#: ../../how-to/upgrading/downgrade.rst:29
msgid "You should now be on the targeted release."
msgstr "Je zou nu op de gewenste release moeten zitten."

#~ msgid "For example ``v4.0``::"
#~ msgstr "Bijvoorbeeld ``v4.0``::"
8 changes: 4 additions & 4 deletions docs/how-to/upgrading/downgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ If for some reason you need to downgrade the application, you will need to:
First, **please make sure you have a recent backup of your database**!


Each release `has it's database migrations locked <https://github.com/dsmrreader/dsmr-reader/tree/v4/dsmrreader/provisioning/downgrade/>`_.
Each release `has it's database migrations locked <https://github.com/dsmrreader/dsmr-reader/tree/v5/dsmrreader/provisioning/downgrade/>`_.
You should execute the script of the version you wish to downgrade to. And the switch the code to the release.

For example ``v4.0``::
For example when downgrading to ``v5.4``::

sudo su - dsmr
sh dsmrreader/provisioning/downgrade/v4.0.sh
git checkout tags/v4.0.0
sh dsmrreader/provisioning/downgrade/v5.4.sh
git checkout tags/v5.4.0
./deploy.sh

.. note::
Expand Down

0 comments on commit f631f3d

Please sign in to comment.