Skip to content

Commit

Permalink
Bump version to 1.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Jun 30, 2022
1 parent e37580f commit 9ab9e8c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Tests

on:
push:
branches: [1.x]
branches: [1.x, 2.x]
pull_request:
branches: [1.x]
branches: [1.x, 2.x]

jobs:
shunit2-tests:
Expand Down
5 changes: 3 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@
- Updated rain rounding in diagrams
- Make Data Tables easy to deactivate, see readme
- Generate month and year pages less frequently
- Added about page
- Added tutorial on how to change about page (user generated content)
- Generate statistics page less frequently per default (stale age) [GH-14]
- Performance update: reduced generation time by 50% [GH-14]
- Added about page [GH-15]
- Added tutorial on how to change about page (user generated content) [GH-15]
- Added thunderstorm logic and icon to forecast table
- Fullscreen display for diagrams [GH-6]
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def loader():
class BasicInstaller(ExtensionInstaller):
def __init__(self):
super(BasicInstaller, self).__init__(
version="1.2.2",
version="1.3.0",
name="weewx-wdc",
description="Weather Data Center skin for weewx.",
author="David Baetge",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weewx-wdc",
"version": "1.2.2",
"version": "1.3.0",
"description": "Weather Data Center skin for weewx.",
"author": "David Baetge <[email protected]>",
"license": "MIT",
Expand Down
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Tests](https://github.com/Daveiano/weewx-wdc/actions/workflows/test.yml/badge.svg)](https://github.com/Daveiano/weewx-wdc/actions/workflows/test.yml)

# Weewx Weather Data Center skin

- [Weewx Weather Data Center skin](#weewx-weather-data-center-skin)
Expand Down Expand Up @@ -91,7 +93,7 @@ If you like the look and feel of the skin please consider having a look into the

**Requires weewx >= 4.5**

**Please note:** For installation, please use the generated zip archive from a release, eg. https://github.com/Daveiano/weewx-wdc/releases/download/v1.2.0/weewx-wdc-v1.2.0.zip.
**Please note:** For installation, please use the generated zip archive from a release, eg. https://github.com/Daveiano/weewx-wdc/releases/download/v1.3.0/weewx-wdc-v1.3.0.zip.
Don't download the repository directly and don't use the GitHub generated zip and tar.gz archives that come alongside the release. Always use the zip archive named **weewx-wdc-vX.X.X.zip**

Background: The files in the src/ directory are the source files (TypeScript, SCSS). When creating a release, these source files get transformed and optimized, and the output location of these transformed files is the location which matches the location in the install.py script. The weewx-wdc-vX.X.X.zip should contain all these transformed files (like service-worker.js), but if you download the current state of the repo, these files are not included and this will throw multiple `FileNotFoundError` errors while installing.
Expand Down Expand Up @@ -270,9 +272,9 @@ trouble because of this you can comment out the `stale_age` options in skin.conf
stale_age = 3600 # Every hour
```

This will generate the year.html page only once a gour. `stale_age` is in seconds, see https://weewx.com/docs/customizing.htm#CheetahGenerator. You can experiment with the `stale_age` options to find a good balance between being 'up-to-date' and reasonableness.
This will generate the year.html page only once a hour. `stale_age` is in seconds, see https://weewx.com/docs/customizing.htm#CheetahGenerator. You can experiment with the `stale_age` options to find a good balance between being 'up-to-date' and reasonableness.

`statistics.html` stale age is 43200 (twice a day) by default.
`statistics.html` stale age is 43200 (twice a day) by default because it's the most performance-expensive template to generate.

### Support for weewx-forecast

Expand Down
2 changes: 1 addition & 1 deletion skins/weewx-wdc/skin.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# configuration file for the weewx-wdc skin
SKIN_NAME = Weather Data Center
SKIN_VERSION = 1.2.2
SKIN_VERSION = 1.3.0

[Extras]
# Show a link to the GitHub respository of this skin. Set to False to hide.
Expand Down
8 changes: 4 additions & 4 deletions test/test_install_report/src/skin.conf
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# configuration file for the weewx-wdc skin
SKIN_NAME = Weather Data Center
SKIN_VERSION = 1.2.2
SKIN_VERSION = 1.3.0

[Extras]
# Show a link to the GitHub respository of this skin. Set to False to hide.
github_link = True

# This radar image would be available as $Extras.radar_img
#radar_img = https://www.dwd.de/DWD/wetter/radar/radfilm_sac_akt.gif
radar_img = https://www.dwd.de/DWD/wetter/radar/radfilm_sac_akt.gif
# This URL will be used as the image hyperlink:
#radar_url = https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html
radar_url = https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html

[[forecast_table_settings]]
source = WU
Expand Down Expand Up @@ -59,7 +59,7 @@ SKIN_VERSION = 1.2.2

[CheetahGenerator]
encoding = html_entities
search_list_extensions = user.general_util.GeneralUtil, user.stats_util.StatsUtil, user.diagram_util.DiagramUtil, user.celestial_util.CelestialUtil, user.archive_util.ArchiveUtil, user.table_util.TableUtil, user.forecast_util.ForecastUtil
search_list_extensions = user.general_util.GeneralUtil, user.stats_util.StatsUtil, user.diagram_util.DiagramUtil, user.celestial_util.CelestialUtil, user.archive_util.ArchiveUtil, user.table_util.TableUtil, user.forecast_util.ForecastUtil, user.forecast.ForecastVariables

[[SummaryByMonth]]
# Reports that summarize "by month"
Expand Down

0 comments on commit 9ab9e8c

Please sign in to comment.