Commit Graph

2100 Commits

Author SHA1 Message Date
Pierre Fersing 60eae48e6a Drop test for Darwin Pids() 2022-01-13 13:27:05 +01:00
Pierre Fersing b9b3dbe67a Avoid ps command and use KProc on MacOS 2022-01-13 11:57:04 +01:00
Lomanic 1ccce7b91c
Merge pull request #1223 from shirou/feature/remove_codecov
remove codecov
2022-01-12 00:43:40 +01:00
Ville Skyttä 31c410026d [disk][freebsd] handle SerialNumberWithContext scanner errors 2022-01-11 08:32:36 +02:00
Ville Skyttä d92d114f90 [load][solaris] implement AvgWithContext 2022-01-10 23:49:07 +02:00
shirou 59e366d674 remove codecov 2022-01-07 08:12:07 +00:00
Ville Skyttä 0d33df272b [disk][freebsd] return empty serial on `(null)` geom disk ident 2022-01-06 23:16:03 +02:00
shirou a3ae4bc40d
Merge pull request #1221 from shirou/feature/process_win_fix_dup_handle
[process][windows] fix release handle
2022-01-06 22:24:23 +09:00
shirou dcac9d9b01 [process][windows] fix release handle 2022-01-06 22:16:57 +09:00
shirou fdfd273cf0
Merge pull request #1218 from scop/feat/freebsd-process-start
[process][freebsd] implement createTimeWithContext
2022-01-06 22:04:54 +09:00
shirou 64a13e4c18
Merge pull request #1219 from Lomanic/issue1216
[process][windows] Fix #1216 fix compilation on arm/arm64
2022-01-06 21:15:55 +09:00
shirou b4808b3e94
Merge pull request #1204 from YangKeao/fix-unstable-boottime
fix unstable boot time because of float conversion
2022-01-06 21:09:53 +09:00
shirou c56b5223c5
Merge pull request #1215 from Lomanic/issue1198
[net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
2022-01-06 20:52:16 +09:00
Lomanic 01cf95a92d [process][windows] Fix #1216 fix compilation on arm/arm64
go build ./... with GOARCH=arm64 is otherwise failing with the following:

process\process_windows.go:412:11: undefined: readProcessMemory
process\process_windows.go:425:11: undefined: readProcessMemory
process\process_windows.go:896:32: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:897:10: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:910:50: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:950:21: undefined: queryPebAddress
process\process_windows.go:955:9: undefined: readProcessMemory
process\process_windows.go:961:8: undefined: readProcessMemory
process\process_windows.go:969:21: undefined: queryPebAddress
process\process_windows.go:974:9: undefined: readProcessMemory
process\process_windows.go:974:9: too many errors
2022-01-05 01:09:23 +01:00
Ville Skyttä 41e2595443 [process][freebsd] implement createTimeWithContext 2022-01-05 01:20:20 +02:00
Ville Skyttä df68a56e2d [disk][freebsd] implement SerialNumberWithContext 2022-01-05 00:38:50 +02:00
Lomanic d826e14e27 [net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
Using os.File.Readdir pre Go 1.16 and os.File.ReadDir post Go 1.16
2022-01-01 18:07:03 +01:00
shirou 2f8da0a394
Merge pull request #1205 from mmorel-35/master
enable more linters, report coverage and cache mods
2021-12-29 22:31:24 +09:00
Matthieu MOREL fe2fab4938
Update test.yml 2021-12-27 18:25:31 +01:00
Lomanic 0bd6ae1cf1
Merge pull request #1207 from makazeu/patch-1
Fix a typo in comment
2021-12-25 19:37:15 +01:00
Matthieu MOREL a9e4ce7cf9
enable goimports linter 2021-12-24 21:54:45 +01:00
Matthieu MOREL e6e3f9399b
enable importas linter 2021-12-24 21:46:59 +01:00
Matthieu MOREL 0f342652ad
enable nakedret linter 2021-12-24 21:32:30 +01:00
Matthieu MOREL 803be09d63
enable megacheck linter 2021-12-24 21:25:34 +01:00
Makazeu 521fafd945
Fix a typo in comment 2021-12-24 17:14:50 +08:00
Matthieu MOREL 2252055b93
enable codecoverage 2021-12-23 08:39:43 +01:00
Matthieu MOREL 5c5245372d
enable predeclared linter 2021-12-23 00:54:07 +01:00
Matthieu MOREL f8c685e717
enable caching in workflows 2021-12-23 00:46:14 +01:00
Matthieu MOREL 851bffc0f1
enable gosec linter 2021-12-23 00:31:04 +01:00
Matthieu MOREL 5801744ecc
enable asciicheck linter 2021-12-23 00:10:20 +01:00
Matthieu MOREL 227e7b8b8c
enable nolintlint linter 2021-12-22 23:59:55 +01:00
Matthieu MOREL 4671e649aa
enable revive linter 2021-12-22 23:49:50 +01:00
Matthieu MOREL 982ee3bc2b
enable misspell linter 2021-12-22 23:19:22 +01:00
Matthieu MOREL e232c1083c
enable gofumpt linter 2021-12-22 23:09:58 +01:00
Matthieu MOREL 08a73c90a6
Delete run-commit.yml 2021-12-22 23:09:23 +01:00
Matthieu MOREL 6bad729ebd
enable gofmt linter 2021-12-22 23:02:08 +01:00
mmorel-35 1e6b445a8a gofumpt 2021-12-22 21:54:41 +00:00
Matthieu MOREL 5eac39f418
Update run-commit.yml 2021-12-22 22:54:08 +01:00
Matthieu MOREL 3664dbb362
Update run-commit.yml 2021-12-22 22:48:12 +01:00
mmorel-35 eb5f6203d8 gofmt 2021-12-22 21:46:33 +00:00
Matthieu MOREL 04c870cb3d
Update run-commit.yml 2021-12-22 22:45:57 +01:00
Matthieu MOREL fbdbfec158
Update run-commit.yml 2021-12-22 22:43:58 +01:00
Matthieu MOREL a2420eab64
Create run-commit.yml 2021-12-22 22:43:32 +01:00
Matthieu MOREL 5c7609f116
enable durationcheck linter 2021-12-22 22:22:10 +01:00
Matthieu MOREL c8fd8c7b1f
enable unparam linter 2021-12-22 19:53:14 +01:00
shirou b1186a68ed
Merge pull request #1191 from shirou/feature/update_mac_cgo
[disk][host][mac] fix deprecated code in macOS Monterey
2021-12-22 21:54:48 +09:00
shirou 69ea4bfdae
Merge pull request #1194 from mmorel-35/master
Enable errorlint and gci linters
2021-12-22 21:43:03 +09:00
shirou 530dc58cba
Merge pull request #1202 from 851235550/fix-read-lines-offset-n
Fix bug for func named ReadLinesOffsetN
2021-12-22 21:39:51 +09:00
YangKeao 1b5757b7d1 fix unstable boot time because of float conversion
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
2021-12-21 16:14:07 +08:00
wyl 5a288fb852 Fix bug for func named ReadLinesOffsetN 2021-12-20 09:07:46 +08:00