Skip to content

Commit

Permalink
prep for 0.5.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gjr80 committed Oct 17, 2021
1 parent d9dff97 commit c96d7fd
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ The *Realtime gauge-data* extension can be installed manually or automatically u
1. Download the latest *Realtime gauge-data* extension from the *Realtime gauge-data* extension [releases page](https://github.com/gjr80/weewx-realtime_gauge-data/releases) into a directory accessible from the WeeWX machine.


$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.5.0/rtgd-0.5.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.5.1/rtgd-0.5.1.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the *Realtime gauge-data* extension is to be downloaded.

2. Install the *Realtime gauge-data* extension downloaded at step 1 using the *wee_extension* utility:

$ wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.5.0.tar.gz
$ wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.5.1.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/rtgd-0.5.0.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.5.0.tar.gz
Request to install '/var/tmp/rtgd-0.5.1.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.5.1.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Rtgd
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20190101124410
Finished installing extension '/var/tmp/rtgd-0.5.0.tar.gz'
Finished installing extension '/var/tmp/rtgd-0.5.1.tar.gz'

3. Restart WeeWX:

Expand All @@ -69,13 +69,13 @@ This will result in the *gauge-data.txt* file being generated on receipt of each

1. Download the latest *Realtime gauge-data* extension from the Realtime gauge-data [releases page](https://github.com/gjr80/weewx-realtime_gauge-data/releases) into a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.5.0/rtgd-0.5.0.tar.gz
$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data/releases/download/v0.5.1/rtgd-0.5.1.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the *Realtime gauge-data* extension is to be downloaded.

2. Unpack the extension as follows:

$ tar xvfz rtgd-0.5.0.tar.gz
$ tar xvfz rtgd-0.5.1.tar.gz

3. Copy files from within the resulting directory as follows:

Expand Down
7 changes: 5 additions & 2 deletions bin/user/rtgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
You should have received a copy of the GNU General Public License along with
this program. If not, see https://www.gnu.org/licenses/.
Version: 0.5.0 Date: 15 September 2021
Version: 0.5.0 Date: 17 October 2021
Revision History
17 October 2021 v0.5.1
- fixed bug where the default metric rain rate units used cm per hour
rather than mm per hour
15 September 2021 v0.5.0
- added ability to rsync gauge-data.txt to an rsync capable server,
thanks to John Kline
Expand Down Expand Up @@ -614,7 +617,7 @@
log = logging.getLogger(__name__)

# version number of this script
RTGD_VERSION = '0.5.0'
RTGD_VERSION = '0.5.1'
# version number (format) of the generated gauge-data.txt
GAUGE_DATA_VERSION = '14'

Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.5.1
- fixed bug where the default metric rain rate units used cm per hour rather
than mm per hour
v0.5.0
- added ability to rsync gauge-data.txt to an rsync capable server, thanks to
John Kline
Expand Down
6 changes: 4 additions & 2 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
Installer for Realtime gauge-data
Version: 0.5.0 Date: 15 September 2021
Version: 0.5.1 Date: 17 October 2021
Revision History
17 October 2021 v0.5.1
- bumped version only
15 September 2021 v0.5.0
- fix incorrect date format
- changed WeeWX required version to 4.0.0
Expand Down Expand Up @@ -91,7 +93,7 @@
import weewx

REQUIRED_VERSION = "4.0.0"
RTGD_VERSION = "0.5.0"
RTGD_VERSION = "0.5.1"

# define our config as a multiline string so we can preserve comments
rtgd_config = """
Expand Down
14 changes: 7 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ gauge-data releases page (https://github.com/gjr80/weewx-realtime_gauge-data
/releases) into a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data
/releases/download/v0.5.0/rtgd-0.5.0.tar.gz
/releases/download/v0.5.1/rtgd-0.5.1.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the Realtime
gauge-data extension is to be downloaded.

2. Install the Realtime gauge-data extension downloaded at step 1 using the
wee_extension utility:

$ wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.5.0.tar.gz
$ wee_extension --install=$DOWNLOAD_ROOT/rtgd-0.5.1.tar.gz

This will result in output similar to the following:

Request to install '/var/tmp/rtgd-0.5.0.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.5.0.tar.gz
Request to install '/var/tmp/rtgd-0.5.1.tar.gz'
Extracting from tar archive /var/tmp/rtgd-0.5.1.tar.gz
Saving installer file to /home/weewx/bin/user/installer/Rtgd
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20190101124410
Finished installing extension '/var/tmp/rtgd-0.5.0.tar.gz'
Finished installing extension '/var/tmp/rtgd-0.5.1.tar.gz'

3. Restart WeeWX:

Expand Down Expand Up @@ -102,14 +102,14 @@ gauge-data releases page (https://github.com/gjr80/weewx-realtime_gauge-data
/releases) into a directory accessible from the WeeWX machine.

$ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-realtime_gauge-data
/releases/download/v0.5.0/rtgd-0.5.0.tar.gz
/releases/download/v0.5.1/rtgd-0.5.1.tar.gz

where $DOWNLOAD_ROOT is the path to the directory where the Realtime
gauge-data extension is to be downloaded.

2. Unpack the extension as follows:

$ tar xvfz rtgd-0.5.0.tar.gz
$ tar xvfz rtgd-0.5.1.tar.gz

3. Copy files from within the resulting directory as follows:

Expand Down

0 comments on commit c96d7fd

Please sign in to comment.