Mahmood Ali
45787e96eb
Vendor shirou/gopsutil c files
...
This change adds Darwin and FreeBSD C code of gopsutil library, that is
needed for these platforms. `shirou/gopsutil` uses some C code that
isn't in a go package, so don't get vendored automatically.
2020-03-16 09:43:44 -04:00
Yoan Blanc
f85cbddaf1
gopsutils: v2.20.2
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 09:36:59 +01:00
Mahmood Ali
21e193ecf4
Update shirou/gopsutil dep to use non-GPL code
...
Previously used `github.com/shirou/gopsutil`[1], used some GPL code [2].
This was somewhat unintentional, and was addressed later [3].
Due to being late in the cycle of Nomad release when this is noticed,
and time elapsed since we updated the dependency, we want to be
conservative in our package updates.
As such, we opted to go with forking the repo to use the previously used
version with the GPL removal code commit, done in [4].
[1] 5776ff9c7c
[2] 5776ff9c7c/host/include/smc.c
[3] c95755e4bc
[4] 62d5761ddb
2019-01-17 11:08:30 -05:00
Charlie Voiselle
192176b89e
Vendored gopsutil to fix partial vendoring
2018-03-05 20:26:23 -05:00
Michael Ihde
359e1f3497
Update vendor package github.com/shirou/gopsutil/process, resolves #3881
2018-02-26 22:34:44 -05:00
Alex Dadgar
8f6f9e9e49
Clean vendored packages
...
This PR removes unused packages from the vendor folder.
2017-11-10 13:00:32 -08:00
Michael Schurter
6b8bac4929
Update to latest upstream gopsutil
2017-08-17 16:52:53 -07:00
Michael Schurter
192db801d1
Update gopsutil to stop calling SetEnv
...
Fixes #3036
2017-08-16 15:05:24 -07:00
James Nugent
d778d9d566
Update gopsutil ( #2927 )
...
* deps: Update github.com/go-ole/go-ole/...
* deps: Update github.com/StackExchange/wmi
* deps: Update github.com/shirou/gopsutil/...
* deps: Update github.com/ugorji/go/codec
2017-07-28 09:46:44 -07:00
James Nugent
9514c324f8
deps: Update github.com/shirou/gopsutil/...
...
This adds support for Illumos for memory and host information, which
allows the fingerprinting tests to pass. It also contains fixes for
FreeBSD.
2017-03-15 18:18:39 -05:00
James Nugent
2923335954
deps: Update github.com/shirou/gopsutil
...
This commit updates `gopsutil` to the latest version, which includes CPU
info support for Illumos.
2017-03-13 12:50:09 -05:00
Sean Chittenden
6908aa7ed0
Update `shirou/gopsutil` to shiriou/gopsutil#313 to pull in the lowercase `HostID` bits
2017-02-06 16:16:20 -08:00
Sean Chittenden
16a5e2f918
Add durable HostID generation support to Windows.
...
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:15:22 -08:00
Sean Chittenden
66f21047ba
Update github.com/shirou/gopsutil and friends.
2017-02-01 22:41:29 -08:00
Sean Chittenden
3b3ff6a0da
Update github.com/shirou/gopsutil/host to include HostID update
2017-02-01 22:00:00 -08:00
Sean Chittenden
8d3fdc8ca5
Remove github.com/shiro/gopsutil (leave its child packages, however)
2017-02-01 21:58:19 -08:00
K.C. Wong
8efd355af7
Update vendor package shirou/gopsutil
...
* resolve #1392
* pull in the fix for shirou/gopsutil/#249 which updates
the Linux driver for `cpu` to set `cpu.Mhz` to the maximum
clock-speed of the CPU, if that's available
2016-08-30 10:48:07 -07:00
Diptanu Choudhury
a328e2fe7f
Updated gopsutil
2016-06-28 10:07:56 -07:00
Diptanu Choudhury
3c7e27b54d
Fixed build on windows/386
2016-06-22 16:38:45 -07:00
Sean Chittenden
ee81917b2c
Update gopsutils
2016-06-17 13:24:10 -07:00
Sean Chittenden
c3235c9569
Improve FreeBSD's CPU detection. Cherrypicked from shirou/gopsutil#219 .
2016-06-16 23:07:13 -07:00
Diptanu Choudhury
05c221186b
Added disk usage to node status
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
15d867d5f1
Updated gopsutil
2016-05-28 19:42:34 -07:00
Diptanu Choudhury
9897b600ca
Using godeps to build
2016-02-12 10:02:16 -08:00