Skip to content

Commit

Permalink
Update shirou/gopsutil dep to use non-GPL code
Browse files Browse the repository at this point in the history
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] shirou/gopsutil@5776ff9
[2] https://github.com/shirou/gopsutil/blob/5776ff9c7c5d063d574ef53d740f75c68b448e53/host/include/smc.c
[3] shirou/gopsutil@c95755e
[4] https://github.com/shirou/gopsutil/commits/62d5761ddb7d04fc475d6316c79ff0eed1e5f96b
  • Loading branch information
Mahmood Ali committed Jan 17, 2019
1 parent 3c9de20 commit d6c3626
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1,030 deletions.
8 changes: 8 additions & 0 deletions vendor/github.com/shirou/gopsutil/host/host_darwin.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 0 additions & 51 deletions vendor/github.com/shirou/gopsutil/host/host_darwin_cgo.go

This file was deleted.

This file was deleted.

Loading

0 comments on commit d6c3626

Please sign in to comment.