Commit Graph

70 Commits

Author SHA1 Message Date
Tomasz Gardocki
1292a1f53e Revert termbox-go dependency bump 2023-03-22 19:56:32 -05:00
rare-magma
139583b34d update smart.go 2022-09-29 23:10:59 +02:00
Anatol Pomozov
93fe0cab2e smart.go: switch to simpler ReadGenericAttributes() api
...to get the device temperature. This API abstracts differences between
different device interfaces (SATA vs NVMe vs ...)
2022-09-17 12:57:15 -07:00
rare-magma
387c463eee update go.mod 2022-06-18 16:42:39 +02:00
rare-magma
c3aeb753d9 update go.mod 2022-06-15 23:02:43 +02:00
rare-magma
b89c1dd748 add disk temperatures via smart.go / ghw 2022-06-06 21:18:59 +02:00
Sean E. Russell
db95c9c48a The dash-patch was merged upstream by droundy, so this gets rid of the replace. 2022-02-17 13:28:21 -06:00
Sean E. Russell
70d96bd2c2 Temporarily replace David's goopt with my patched version that fixes the dash issue. 2022-02-10 09:24:50 -06:00
Sean E. Russell
66047ad64c Fixes #158, adding a man page. This replaces the flags library in the process. It also changes some of the new no- flags. 2022-02-09 13:18:39 -06:00
Sean E. Russell
e5bf9851ff Go 1.16: embed and io/fs 2021-02-03 14:27:46 -06:00
Sean E. Russell
7b19606acc Replace jdkeke142 lingo with fork; using replace in go.mod breaks go get. 2021-02-03 12:28:46 -06:00
Sean E. Russell
f56cc6486f Bumped gopsutils to v3.20.12, and battery to v0.10.0. 2021-01-26 12:34:58 -06:00
Sean E. Russell
4523169549 Translations didn't work outside of the project directory. 2021-01-25 12:18:59 -06:00
Sean E. Russell
daf5916fde Resolves merge conflicts 2020-11-23 14:58:32 -06:00
Sean E. Russell
c25e58e79c Closes #32. Average is really average, over time. Boldify the AVRG label. Remove spurious sync lock. 2020-07-25 07:23:17 -05:00
Sean E. Russell
9a56571373 Fixes the help text issue. Moved some hard-coded strings to the translation files. 2020-06-20 08:33:01 -05:00
Sean E. Russell
aa828c5790 Translation files are now bundled. 2020-06-19 10:01:26 -05:00
Sean E. Russell
b6b7541524 Expand translations 2020-06-18 19:51:01 -05:00
Sean E. Russell
b29c2b1c89 Merge branch 'master' into i18n 2020-06-18 16:46:56 -05:00
Sean E. Russell
1181b94bd2 Closes #131, SMC GPL issue on OSX; consequently removes need to CGO in darwin. 2020-06-09 09:54:10 -05:00
Sean E. Russell
e8727c7c20 Merge branch 'master' into v4.0 2020-05-31 10:29:14 -05:00
Sean E. Russell
e72e7be141 Bring 3.5.3 change log forward; pin golang.org/x/sys version
Changelog and Readme updates
2020-05-31 10:19:06 -05:00
Sean E. Russell
dcfa280166 Work-around for https://github.com/shirou/gopsutil/issues/853, FreeBSD build failures. 2020-05-29 20:38:27 -05:00
Sean E. Russell
a1bd0cc9ee Fixes #95. When termui updates to the termbox-go with the FreeBSD fix, this can be reverted.
Update changelog
2020-05-28 18:21:03 -05:00
Sean E. Russell
d1cabfdc6f Fixes #95 Update termui and pin termbox-go to newer version. This commit is broken because of the merge from master. 2020-05-28 13:37:44 -05:00
Sean E. Russell
0406a680e0 Revert "gopsutil 2.20 doesn't compile on FreeBSD; rolling back."
This wasn't gopsutil's issue; it was a change in x/sys/util that broke the API.

This reverts commit 2401d63362.
2020-05-13 10:29:33 -05:00
Sean E. Russell
2401d63362 gopsutil 2.20 doesn't compile on FreeBSD; rolling back. 2020-05-13 10:22:48 -05:00
Sean E. Russell
310a6d084d Replaces the Prometheus client with VictoriaMetrics/metrics 2020-05-12 18:42:45 -05:00
Sean E. Russell
82f308de93 Translations for main.go, so mainly help 2020-05-01 20:25:29 -05:00
Sean E. Russell
02a2792424 Have -C look in the usual directories (not always absolute path) 2020-04-29 12:07:37 -05:00
Sean E. Russell
3f26ebef76 Mostly adds the -C option. KNOWN: it must be the first argument.
Doc
2020-04-29 10:26:14 -05:00
Sean E. Russell
1e78e6faa0 Clean up, and now extensions can register for configuration 2020-04-27 19:38:58 -05:00
Sean E. Russell
b7d65b7587 Change from docopt to pflag to support extensions having options 2020-04-27 13:53:45 -05:00
Sean E. Russell
ccbc71755f Version bump to v4 2020-04-23 14:07:08 -05:00
Sean E. Russell
3fcab5a420 Switch from smc.c to iSMC. 2020-04-22 13:33:51 -05:00
Sean E. Russell
9ebcff9b78 Add ability to look in system-wide directories for configuration files 2020-03-07 09:03:25 -06:00
Sean E. Russell
640f4a21d7 Update go version to match (necessary) plugin versions
Another version bump for plugins
2020-02-28 15:35:42 -06:00
Sean E. Russell
c6af0ab404 Merge branch 'v3.4.x' 2020-02-28 14:38:32 -06:00
Sean E. Russell
7a89225d72 Abstracts CPU & mem devices.
Finishes device refactoring: temps

Refactoring to allow updating maps. Simpler, and optimizable.
2020-02-28 07:06:51 -06:00
Sean E. Russell
4fce1654c5 Merge branch 'v3.4.x' into nvidia 2020-02-27 16:13:23 -06:00
Sean E. Russell
64f139d580 NVIDIA support 2020-02-25 13:22:12 -06:00
Sean E. Russell
5f37965467 Builds for darwin; requires docker.
osxcross has an old go; make go.mod match.

Directory clean-ups
2020-02-20 12:35:18 -06:00
Sean E. Russell
a197638e1f Fixes a layout bug; rolls back gopsutil dep update 2020-02-18 12:18:34 -06:00
Sean E. Russell
6c9e51470e Fixes cross-compiling, adds a new build script 2020-02-17 13:00:52 -06:00
Sean E. Russell
2a53398681 Adds log rotation, config file support, and refactoring. Colorschemes are self-registered. Merge remote-tracking branch 'jrswab/configFile111' into config_file; drastically refactored, and am not sure how much original code from the patch was used. 2020-02-17 11:40:16 -06:00
Sean E. Russell
3fc3d1e18e Merge prep 2020-02-16 14:41:22 -06:00
Sean E. Russell
f850a47d91 Merge remote-tracking branch 'rephorm/filter' 2020-02-14 09:35:58 -06:00
Sean E. Russell
64d4a81212 Merge remote-tracking branch 'mattLLVW/feature/network_interface_list' 2020-02-14 07:52:33 -06:00
Sean E. Russell
38d7736ca0 Switching maintainership. 2020-02-13 16:26:28 -06:00
Sean E. Russell
97203db7d2 Gets rid of vendor, starts adding dynamic layout. 2020-02-12 20:15:49 -06:00