Skip to content

Commit

Permalink
Source data retention #72
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jan 13, 2018
1 parent 51e2d38 commit c4058dc
Show file tree
Hide file tree
Showing 32 changed files with 3,420 additions and 487 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ install:
before_script:
- sh -c "if [ '$DB' = 'postgresql' ]; then dropdb -U postgres --if-exists dsmrreader; fi"
- sh -c "if [ '$DB' = 'postgresql' ]; then createdb -U postgres dsmrreader; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'drop database IF EXISTS dsmrreader;' -u root; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysqladmin create dsmrreader; fi"

Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ v1.12.0 - 2018-xx-xx

**Tickets resolved in this release:**

- [`#72 <https://github.com/dennissiemensma/dsmr-reader/issues/72>`_] Source data retention
- [`#414 <https://github.com/dennissiemensma/dsmr-reader/issues/414>`_] add systemd service files - by meijjaa
- [`#405 <https://github.com/dennissiemensma/dsmr-reader/issues/405>`_] More updates to the Dutch translation of the documentation - by lckarssen
- [`#404 <https://github.com/dennissiemensma/dsmr-reader/issues/404>`_] Fix minor typo in Dutch translation - by lckarssen
Expand Down
9 changes: 9 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,15 @@ For **MySQL** restores::
In case the version differs, you can try forcing a deployment reload by: ``sudo su - dsmr`` and then executing ``./post-deploy.sh``.


How do I enable timezone support for MySQL?
-------------------------------------------

`Check these docs <https://dev.mysql.com/doc/refman/5.7/en/mysql-tzinfo-to-sql.html>`_ for more information about how to enable timezone support on MySQL.
On recent versions it should be as simple as executing the following command as root/sudo user::

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql


Feature/bug report
------------------
*How can I propose a feature or report a bug I've found?*
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ DSMR Reader's documentation
installation
application
settings
retention
api
mqtt
mindergas
Expand Down
Binary file modified docs/locale/nl/LC_MESSAGES/changelog.mo
Binary file not shown.
Loading

0 comments on commit c4058dc

Please sign in to comment.