Commit Graph

27 Commits

Author SHA1 Message Date
Seth Hoenig
10cc366305 deps: use upstream gopsutil once more
The PR we needed https://github.com/shirou/gopsutil/pull/889 has been merged
upstream, which means we can use upstream rather than our fork of psutil.
2020-10-17 08:54:50 -05:00
Mahmood Ali
fa845c7a7e Vendor gopsutil with go mod fix (#8108)
Point to gopsutil fork with shirou/gopsutil#889 changes. I used hashicorp/gopsutil rather than pointing to https://github.com/Lomanic/gopsutil/tree/issue832 directly just in case..
2020-06-03 16:09:27 -04:00
Seth Hoenig
15fb4c990a deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
Mahmood Ali
8ac2faeaad 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
f80cbe86a1 gopsutils: v2.20.2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 09:36:59 +01:00
Mahmood Ali
d6c3626d16 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
d850c9794d Vendored gopsutil to fix partial vendoring 2018-03-05 20:26:23 -05:00
Michael Ihde
033099dcf7 Update vendor package github.com/shirou/gopsutil/process, resolves #3881 2018-02-26 22:34:44 -05:00
Alex Dadgar
d6bb642bc2 Clean vendored packages
This PR removes unused packages from the vendor folder.
2017-11-10 13:00:32 -08:00
Michael Schurter
cb17d47f40 Update to latest upstream gopsutil 2017-08-17 16:52:53 -07:00
Michael Schurter
b36456c67c Update gopsutil to stop calling SetEnv
Fixes #3036
2017-08-16 15:05:24 -07:00
James Nugent
d8a66e5505 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
129e02e87f 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
eb2e6c6214 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
cf9c432dd8 Update shirou/gopsutil to shiriou/gopsutil#313 to pull in the lowercase HostID bits 2017-02-06 16:16:20 -08:00
Sean Chittenden
b24c8354e6 Add durable HostID generation support to Windows.
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:15:22 -08:00
Sean Chittenden
12b1ee182b Update github.com/shirou/gopsutil and friends. 2017-02-01 22:41:29 -08:00
Sean Chittenden
5f920feac2 Update github.com/shirou/gopsutil/host to include HostID update 2017-02-01 22:00:00 -08:00
Sean Chittenden
2c1ea857cd Remove github.com/shiro/gopsutil (leave its child packages, however) 2017-02-01 21:58:19 -08:00
K.C. Wong
66ce8dd414 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
1c9a36f6dd Updated gopsutil 2016-06-28 10:07:56 -07:00
Diptanu Choudhury
cd032db18a Fixed build on windows/386 2016-06-22 16:38:45 -07:00
Sean Chittenden
2224c77865 Update gopsutils 2016-06-17 13:24:10 -07:00
Sean Chittenden
7ffde66c6d Improve FreeBSD's CPU detection. Cherrypicked from shirou/gopsutil#219. 2016-06-16 23:07:13 -07:00
Diptanu Choudhury
4491c2b0e8 Added disk usage to node status 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
445b181fec Updated gopsutil 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
3acc5408b0 Using godeps to build 2016-02-12 10:02:16 -08:00