dependabot[bot]
7cb312ce5c
chore(deps): bump golang.org/x/sys from 0.28.0 to 0.30.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.28.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 month ago
shirou
90e59961ca
Merge pull request #1780 from shirou/dependabot/github_actions/actions/setup-go-5.3.0
...
chore(deps): bump actions/setup-go from 5.2.0 to 5.3.0
2 months ago
shirou
ee3a3d85a7
Merge pull request #1772 from shirou/dependabot/github_actions/actions/upload-artifact-4.6.0
...
chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0
2 months ago
shirou
a1359d4e1a
Merge pull request #1773 from shirou/dependabot/go_modules/github.com/ebitengine/purego-0.8.2
...
chore(deps): bump github.com/ebitengine/purego from 0.8.1 to 0.8.2
2 months ago
shirou
8d6af6c6ed
Merge pull request #1775 from shirou/dependabot/github_actions/advanced-security/sbom-generator-action-0.0.2
...
chore(deps): bump advanced-security/sbom-generator-action from 0.0.1 to 0.0.2
2 months ago
dependabot[bot]
e826c61f60
chore(deps): bump actions/setup-go from 5.2.0 to 5.3.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](3041bf56c9...f111f3307d
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
shirou
e7e2e9e4a8
Merge pull request #1779 from mmorel-35/remove-actions-cache
...
chore: call actions/checkout before actions/setup-go to benefit from native cache
2 months ago
shirou
644c48a15a
Merge pull request #1778 from mmorel-35/golangci-lint/revive
...
chore: explicit revive rules
2 months ago
Matthieu MOREL
99d68e2160
chore: call actions/checkout before actions/setup-go to benefit from native cache
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
Matthieu MOREL
d1977251f9
chore: explicit revive rules
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
shirou
c8110d7c08
Merge pull request #1777 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.2.0
...
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
2 months ago
dependabot[bot]
2dfb164ed0
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](971e284b60...ec5d18412c
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot]
43542ec90c
chore(deps): bump advanced-security/sbom-generator-action
...
Bumps [advanced-security/sbom-generator-action](https://github.com/advanced-security/sbom-generator-action ) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/advanced-security/sbom-generator-action/releases )
- [Commits](375dee8e61...6fe43abf52
)
---
updated-dependencies:
- dependency-name: advanced-security/sbom-generator-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot]
551e814c7b
chore(deps): bump github.com/ebitengine/purego from 0.8.1 to 0.8.2
...
Bumps [github.com/ebitengine/purego](https://github.com/ebitengine/purego ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/ebitengine/purego/releases )
- [Commits](https://github.com/ebitengine/purego/compare/v0.8.1...v0.8.2 )
---
updated-dependencies:
- dependency-name: github.com/ebitengine/purego
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot]
6d01df9b28
chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](6f51ac03b9...65c4c4a1dd
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
shirou
252dcbf8a2
Merge pull request #1768 from uubulb/darwin
...
refactor(darwin): optimize string allocation
2 months ago
uubulb
1f39525d2d
refactor(darwin): optimize string allocation
2 months ago
shirou
bcd0c0a661
Merge pull request #1767 from chuangbo/fix/memory-leak-and-string-corruption-in-arm-mac-temperature-sensors
...
fix: memory leak and string corruption in ARM Mac temperature sensors
2 months ago
Li Chuangbo
19082b35ae
fix: memory leak and string corruption in ARM Mac temperature sensors
...
This commit addresses several issues in the temperature sensor implementation for ARM Mac:
1. Memory leak caused by unreleased system resources
2. Increasing port counts in Activity Monitor
3. String corruption where the first character becomes "\x00"
Changes:
1. Resource Management:
- Added proper resource cleanup using `defer` statements
- Refactored code to share the HID system client instead of creating new ones
- Fixed memory leaks by ensuring all CoreFoundation objects are properly released
2. String Handling:
- Fixed buffer allocation for string conversion
- Properly handle null terminators in C string to Go string conversion
- Added correct string length calculations
3. Code Structure:
- Reduced resource allocation by sharing system client between functions
- Enhanced code readability with better comments
3 months ago
shirou
b8e1b282ba
Merge pull request #1766 from shirou/feat/update_readme
...
[doc]: Update README for supported metrics.
3 months ago
shirou
b9890b1fbc
[doc]: Update README for supported metrics.
3 months ago
shirou
90efec0764
Merge pull request #1765 from shirou/feat/process_cwd_freebsd
...
[process][freebsd]: add CWD
3 months ago
shirou
a284e30930
[process][freebsd]: add CWD
3 months ago
shirou
ab66f2d0e1
Merge pull request #1764 from shirou/refactor/net_merge_base_functions
...
Refactor[net]: merge base functions to net.go
3 months ago
shirou
69c2c10b0f
feat: enable build test on OpenBSD.
3 months ago
shirou
29ccada537
refactor(net): Gather base functions to net.go
3 months ago
shirou
9d7cedb666
Merge pull request #1756 from shirou/dependabot/github_actions/actions/upload-artifact-4.5.0
...
chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0
3 months ago
shirou
d440870260
Merge pull request #1755 from shirou/dependabot/github_actions/actions/setup-go-5.2.0
...
chore(deps): bump actions/setup-go from 5.0.2 to 5.2.0
3 months ago
shirou
95b69b4e13
Merge pull request #1754 from shirou/dependabot/github_actions/actions/cache-4.2.0
...
chore(deps): bump actions/cache from 4.1.1 to 4.2.0
3 months ago
shirou
fe28b21c2e
Merge pull request #1762 from mmorel-35/perfsprint
...
enable all rules of perfsprint linter
3 months ago
shirou
d621e0f6f4
Merge pull request #1761 from mmorel-35/testifylint/expected-actual
...
enable all rules of testifylint linter
3 months ago
shirou
6ee5668143
Merge pull request #1757 from tuftedocelot/connectionspid
...
[openbsd] set ConnectionsPid to return NotImplemented
3 months ago
shirou
ee47ca6888
Merge pull request #1753 from shirou/dependabot/go_modules/golang.org/x/sys-0.28.0
...
chore(deps): bump golang.org/x/sys from 0.26.0 to 0.28.0
3 months ago
tuftedocelot
bca28ce54f
[openbsd][net] copy related functions from net_unix to net_openbsd
3 months ago
Matthieu MOREL
7e19b35f50
enable all rules of perfsprint linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 months ago
Matthieu MOREL
62267a5956
enable all rules of testifylint linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 months ago
shirou
3f1658bc71
Merge pull request #1743 from mmorel-35/testifylint
...
enable testifylint linter
3 months ago
dependabot[bot]
7d30ec599b
chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](b4b15b8c7c...6f51ac03b9
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
dependabot[bot]
92983df4b7
chore(deps): bump actions/setup-go from 5.0.2 to 5.2.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.2 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0a12ed9d6a...3041bf56c9
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
dependabot[bot]
e5d84a83a8
chore(deps): bump actions/cache from 4.1.1 to 4.2.0
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](3624ceb22c...1bd1e32a3b
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
dependabot[bot]
6636b0fd7a
chore(deps): bump golang.org/x/sys from 0.26.0 to 0.28.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.26.0 to 0.28.0.
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
shirou
2f14062364
Merge pull request #1760 from shirou/feat/deprecate-macos-12
...
fix[github]: deprecate macos-12, add macos-15
3 months ago
shirou
06d2dc485f
fix[github]: deprecate macos-12, add macos-15
3 months ago
tuftedocelot
88d6de082e
[openbsd] set ConnectionsPid to return NotImplemented
...
netstat on OpenBSD doesn't provide PID information for open ports
3 months ago
shirou
2a70d27e74
Merge pull request #1716 from NitroCao/fix/pidfd
...
fix: release process after os.FindProcess()
3 months ago
shirou
c95f835cd9
Merge pull request #1750 from shirou/dependabot/go_modules/github.com/stretchr/testify-1.10.0
...
chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
3 months ago
dependabot[bot]
7698be7516
chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
shirou
62a52f910b
Merge pull request #1745 from wangyu-geek/add_anolis_family_in_host_linux
...
add anolis family with anolis platform in host/host_linux.go
4 months ago
wangyu
8e62971eb0
add anolis family with anolis platform
4 months ago
Matthieu MOREL
06e4051c91
enable testifylint linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
4 months ago