Commit Graph

327 Commits

Author SHA1 Message Date
matthew wall
4c7f1bdafe make pkg config status more consistent and less verbose 2023-12-22 08:08:29 -05:00
matthew wall
757fc92fe3 bump to 5.0.0rc1 2023-12-21 17:44:03 -05:00
matthew wall
b2c424c485 complete the revert to system logging facility, no splitting out of weewx messages to separate file. logrotate and rsyslog conf files are now robust so that they can be enabled by symlinks if user wants it - documented in the wiki 2023-12-21 08:37:03 -05:00
Matthew Wall
53ea734778 document the config files during install/upgrade for deb/rpm 2023-12-19 19:32:30 -05:00
Matthew Wall
3c55c9188b do not install rsyslog or logrotate script, but copy them to weewx data so they can be used if user wants to use syslog instead of standalone logging 2023-12-19 10:02:12 -05:00
Matthew Wall
cf060c2bc3 fixed typo in deb rules for log dir 2023-12-18 22:22:56 -05:00
Matthew Wall
9c2e39bc60 update deb/rpm changelogs 2023-12-18 22:13:11 -05:00
Matthew Wall
1c79c355d0 default to standalone logging 2023-12-18 22:10:13 -05:00
Matthew Wall
8f526e868c default to group adm on debian 2023-12-16 21:30:30 -05:00
matthew wall
a3bb393800 update debian changelog 2023-12-15 22:21:22 -05:00
matthew wall
cc32aed96b set permissions properly on /var/log/weewx directory for debian installs 2023-12-15 20:01:27 -05:00
Matthew Wall
e546d93f2f update package changelogs 2023-12-14 08:17:51 -05:00
Matthew Wall
66342d0498 no need to enable/disable template units 2023-12-14 07:53:12 -05:00
Matthew Wall
dfcc55f99b update changelogs for rpm and deb -2 releases 2023-12-13 20:35:04 -05:00
Matthew Wall
20f5b9d18f do not fail on debian systems/environments that do not have systemd 2023-12-13 20:30:47 -05:00
matthew wall
e0a26c7186 fixed typo in entry point rule 2023-12-12 19:26:46 -05:00
Matthew Wall
58ca7f136a update deb and rh changelogs 2023-12-12 19:16:01 -05:00
matthew wall
8b2d0bc95c replace BINDIR and PYTHON in the entry points, even though they are replaced by defaults at runtime 2023-12-08 21:39:20 -05:00
matthew wall
2b543f7f65 lintian says we cannot use full path to apps in scripts 2023-12-08 21:21:42 -05:00
matthew wall
594816ea79 use the default(60) priority for udev rules 2023-12-04 16:27:22 -05:00
matthew wall
e71094adf5 need full path to date 2023-12-04 15:52:08 -05:00
matthew wall
ce69c0ab77 do the init shutdown and disable in prerm instead of postrm 2023-12-04 10:15:13 -05:00
matthew wall
52e71f8af4 changelogs now compressed 2023-12-04 10:14:27 -05:00
Matthew Wall
63fcc03bb4 enable/disable the systemd template 2023-12-03 22:20:40 -05:00
Matthew Wall
05c700d38b adjust permissions on weewx-owned directories 2023-12-03 16:35:56 -05:00
Matthew Wall
70d7bab5b4 explicit version numbers in intermediate config files. use pkg-specific logrotate. put systemd stuff in lib not etc. 2023-12-03 11:29:57 -05:00
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
985e5f05ba address lintian errors and warnings, add overrides for those we will not address 2023-12-01 18:39:21 -05:00
matthew wall
c58cff4098 no shebang in example driver, especially not one with an explicit path to /usr/bin/python. keep lintian happy. 2023-12-01 18:37:22 -05:00
matthew wall
f490706ac2 use https for weewx.com 2023-12-01 18:00:51 -05:00
matthew wall
b06e585375 keep things under 80 columns as per the debian policy 2023-12-01 18:00:22 -05:00
matthew wall
0ee2ad6aaf added rules to migrate extensions from v4 to v5 location 2023-11-28 16:06:53 -05:00
matthew wall
bd6330b311 update deb/rpm changelogs for b16 2023-11-28 14:46:47 -05:00
Matthew Wall
067a487734 put extensions in /etc/weewx/bin/user 2023-11-24 22:34:52 -05:00
Matthew Wall
529e4a9a7f match changes to debian packaging in the rh packaging 2023-11-23 22:05:22 -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
db84baa668 wrestling with systemd, permissions, and logging 2023-11-23 11:55:49 -05:00
matthew wall
19b67b0fb9 wrestling with systemd, permissions, and logging 2023-11-23 11:45:03 -05:00
matthew wall
8cc85ade5a make formatting consistent 2023-11-23 11:44:32 -05:00
matthew wall
f10ff9d175 make feedback messages consistent 2023-11-23 09:57:44 -05:00
matthew wall
b9b828402d eliminate init.d references (for now). parameterize the weewx user labels and permissions. 2023-11-23 08:35:05 -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
mwall
bb00ea5be8 extensions.py is now in /etc/weewx tree 2023-10-29 23:31:50 -04:00
mwall
bd143a9fd8 do not copy over the util folder, since we already have it. and we do not need/want util for each station instance. 2023-10-29 23:20:18 -04:00
mwall
dacfc5f914 bump the deb and rh changelogs to 5.0b15 2023-10-29 22:43:54 -04:00
Tom Keffer
6cd5dc91f6 Refactor, using 'src' instead of 'bin' to hold the source code.
wee_resources becomes weewx_data, and is put in version control.
The build documentation, as well as the 'user' subdirectory, are now
in it.

This allows weewxd to be run directly from the git repository for
two reasons: 1) the documentation does not have to be built first.
2) because the source code is now under 'src', while the 'user'
subdirectory is in weewx_data, weewxd does not accidentally pick
up the repository's version of the 'user' subdirectory.
2023-10-17 05:14:34 -07:00
Tom Keffer
6297bcf624 V5.0.0b10 2023-08-03 18:48:03 -07:00
Tom Keffer
dd24c6dd12 Remove wee_device 2023-08-03 18:45:04 -07:00