Matthew Wall
df67c38959
added a parameterixed unit that inherits from the standard unit. use system config files from pkg directory instead of trying to match/adapt those in weewx_data/util, which serve different purpose.
2023-12-02 10:23:03 -05:00
Matthew Wall
e2c84f613c
rpm (like deb) wants package-installed systemd stuff in /lib/systemd not /etc/systemd. install logrotate configuration so that multi requires less configuration. escape percents in extension migration timestamp. fix path in user dir macro.
2023-12-01 21:36:51 -05:00
matthew wall
91e1dbf205
no shebang in example driver, especially not one with an explicit path to /usr/bin/python. keep lintian happy.
2023-12-01 18:37:53 -05:00
Tom Keffer
46b443d29b
Fix problem that caused all reports to get run
...
Not just enabled reports
2023-11-30 17:51:15 -08:00
Tom Keffer
27f9dab48d
Use https instead of http
2023-11-30 17:14:25 -08:00
matthew wall
49aacb2fbe
remove duplicate apache configs. no need to track the various os directory variants for apache. added 2.4 syntax, but continue with 2.2 since compat handles it.
2023-11-29 08:26:49 -05:00
matthew wall
398d252b26
consolidate solaris configs. current implementation is only for post-install, using pip, so smf is only in the weewx_data area.
2023-11-29 08:25:56 -05:00
matthew wall
c4ba616889
adjust rsyslog rules for 'weewxd' instead of 'weewx', as per commit 2128704
2023-11-29 07:26:09 -05:00
Tom Keffer
2128704079
Change default logging label from "weewx" to "weewxd"
2023-11-28 18:01:13 -08:00
Tom Keffer
a1829fd00c
Fix problem that prevented events in engine from getting logged.
...
The setting "disable_existing_loggers=True" caused the logger
"__main__" to be disabled permanently, even after it was reconfigured.
So, used a provisional logger named "weewx-startup" for the startup
phase, then switched to "__main__".
2023-11-28 17:59:05 -08:00
gary
c5603d80f0
add --tranche argument to weectl database --calc-missing
2023-11-29 08:17:38 +10:00
Tom Keffer
df6421cfe8
Merge remote-tracking branch 'origin/V5' into V5
2023-11-28 13:36:30 -08:00
matthew wall
4dd3935f86
prune the udev rules
2023-11-28 16:36:08 -05:00
Tom Keffer
17b956cb2a
Don't assume unit_system and lang have been specified
2023-11-28 13:36:03 -08:00
Tom Keffer
5622a7ad96
Allow named reports to be run
2023-11-28 05:48:08 -08:00
gjr80
4881e36556
revise to include [[FieldMap]]
2023-11-28 13:14:10 +10:00
gjr80
587915f0e6
fix typos
2023-11-28 13:13:28 +10:00
gjr80
465f10b5b2
- removed support for a [[Units]] stanza, all units are now specified through the field map
...
- added ET to the default field map
2023-11-28 10:45:24 +10:00
gjr80
1d25e6aed3
revised example WD import config file
2023-11-28 10:40:36 +10:00
Tom Keffer
aed71cfb33
Add -y option to weectl database actions
2023-11-27 15:54:29 -08:00
Tom Keffer
fe752abe7b
Fix test for uninstalling an extension
2023-11-27 04:34:53 -08:00
Tom Keffer
a0294e9c83
Add -y option to weectl extension uninstall
2023-11-27 04:24:13 -08:00
gjr80
87d3fb338f
update example import config files with current supported sources
2023-11-27 17:04:03 +10:00
Tom Keffer
ee31877215
V5.0.0b16
2023-11-26 16:41:51 -08:00
Tom Keffer
eb02c01859
On startup, set up a rudimentary logger.
...
To be used until the configuration file has been read.
Also, the logging setup now disables existing loggers. This gets rid
of the rudimentary logger.
2023-11-26 16:12:43 -08:00
Tom Keffer
6b2b761930
Revert to logging to syslog.
...
Unfortunately, the Python logging module is not process safe, so we
would not be able to have multiple processes writing to a single file.
2023-11-26 15:14:19 -08:00
gjr80
36472cea1a
reformat weectl import usage
2023-11-26 17:29:13 +10:00
Tom Keffer
4619697337
No longer distribute docs.
...
Must access online.
2023-11-25 16:22:03 -08:00
Tom Keffer
15113e3b29
Include [Logging] section in weewx.conf
...
Without it, logging will be as before: to syslog.
However, for new installs, it will be to WEEWX_ROOT/log/weewx.log
2023-11-25 13:45:54 -08:00
Matthew Wall
bd03b55bfb
fix date/time descriptions in report help and doc
2023-11-25 08:48:41 -05:00
Matthew Wall
067a487734
put extensions in /etc/weewx/bin/user
2023-11-24 22:34:52 -05:00
Tom Keffer
04458d712c
More robust detection of unbuilt docs.
2023-11-24 17:52:14 -08:00
Tom Keffer
78d882401d
Refactor initialize() to allow it to be used globally
2023-11-24 16:42:12 -08:00
Matthew Wall
ba196c7039
no exec bit for py files
2023-11-24 08:02:54 -05:00
matthew wall
5ed504f56d
make USER_ROOT explicit in the config file
2023-11-23 21:25:31 -05:00
matthew wall
07c31b2647
use RuntimeDirectory instead of putting pid in /var/lib/weewx (which is safer). might have to revisit this, depending on when systemd changed compatibility.
2023-11-23 12:03:23 -05:00
matthew wall
19b67b0fb9
wrestling with systemd, permissions, and logging
2023-11-23 11:45:03 -05:00
matthew wall
e12e4963fa
make feedback consistent with system messages. eliminate trailing periods since they confuse path/file names.
2023-11-23 08:34:20 -05:00
matthew wall
1d9e2b67b3
Merge branch 'V5' of github.com:weewx/weewx into V5
2023-11-22 22:27:56 -05:00
mwall
e9e47e0100
adjustments to the debian installer. run as weewx user. install udev rules for core drivers. remove unused cruft.
2023-11-22 22:25:46 -05:00
Tom Keffer
60f5c28132
Add documentation for weectl report
2023-11-22 14:56:06 -08:00
Tom Keffer
9c5c4b3942
Include the skin used by a report
2023-11-22 14:34:40 -08:00
gary
d99e5cbfb6
delete wee_import
2023-11-22 11:52:36 +10:00
Tom Keffer
175978c53a
First cut at weectl report
...
Needs documentation
2023-11-21 17:07:52 -08:00
gary
990256bf11
- move wee_import to the weectl import subcommand
...
- fix some missing unit issues in cumulus and wd imports
2023-11-22 06:54:25 +10:00
Tom Keffer
5c950961ad
Don't crash if built docs are not available.
2023-11-20 17:24:55 -08:00
Tom Keffer
21a594a8f5
Promote weecfg.Logger to weeutil.printer.Printer
...
Makes it useful elsewhere.
The original name, Logger, was too easy to confuse with the formal logging system.
2023-11-20 15:13:57 -08:00
Tom Keffer
95478161d0
Add a filter when extracting from a tarball
...
Not using a filter was deprecated in Python 3.12,
and will be enforced in 3.14.
See PEP 706.
2023-11-20 15:11:03 -08:00
gary
b9c0e33207
mark usage instructions as bold text
2023-11-20 22:20:50 +10:00
gary
a72ac47b54
update csv example import config file
2023-11-20 22:19:55 +10:00