Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sysinfo requirement from 0.29.0 to 0.30.5 #238

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Updates the requirements on sysinfo to permit the latest version.

Changelog

Sourced from sysinfo's changelog.

0.30.5

  • Windows: Correctly retrieve processes name on 32 bits platforms.
  • Windows: Fix swap memory computation.

0.30.4

  • Windows: Fix misaligned read.

0.30.3

  • Improve dependency stack by updating the windows dependency.

0.30.2

  • Add ThreadKind enum.
  • Add Process::thread_kind method.

0.30.1

  • Linux: Fix invalid memory information retrieval (virtual and resident set size were reversed).

0.30.0

  • Split System into subtypes: Components, Disks, Networks and Users.
  • brand, vendor_id and frequency information is not set anymore on the global CPU.
  • Unix: Fix endless loop in user groups retrieval.
  • Unix/Windows: Fix infinite loop when retrieving various information because of bad usage of Vec::reserve.
  • Unix: Fix invalid usage of NULL pointer when retrieving user group name.
  • Linux: Fix CPU name retrieval.
  • Linux: Remove cgroup usage from memory computation.
  • Linux: Add linux-netdevs feature to allow to retrieve network devices.
  • Linux: Improve system memory information retrieval (using statm file instead of stat).
  • Linux: Tasks are listed in processes.
  • macOS: Correctly retrieve process root directory.
  • Windows: Add warning that System::load_average is not working in documentation.
  • Windows: Fix invalid use of NULL pointer when retrieving users groups.
  • Windows: Correctly retrieve process root directory.
  • Create new System::cgroup_limits method.
  • Remove System::refresh_system method.
  • Disk::file_system and Disk::name now return an Option<&OsStr>.
  • Implement Display trait on DiskKind.
  • Move from winapi to windows crate.
  • Add System::cpu_arch.
  • Add System::refresh_pids and System::refresh_pids_specifics.
  • System::boot_time, System::cpu_arch, System::distribution_id, System::host_name, System::kernel_version, System::load_average, System::long_os_version, System::name, System::os_version and System::uptime are static methods.
  • ProcessRefreshKind has a lot more of possibilities for better control over updates.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from dblock and Xtansia as code owners January 8, 2024 17:12
@dependabot dependabot bot added the dependabot label Jan 8, 2024
@dependabot dependabot bot requested a review from VachaShah as a code owner January 8, 2024 17:12
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 8, 2024
@dependabot dependabot bot requested a review from reta as a code owner January 8, 2024 17:12
Signed-off-by: dependabot[bot] <[email protected]>
@reta reta force-pushed the dependabot/cargo/sysinfo-0.30.5 branch from faf7a79 to b628b12 Compare January 8, 2024 19:40
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (360e88c) 74.53% compared to head (b628b12) 73.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #238      +/-   ##
==========================================
- Coverage   74.53%   73.03%   -1.50%     
==========================================
  Files         413      389      -24     
  Lines       65509    61294    -4215     
==========================================
- Hits        48824    44764    -4060     
+ Misses      16685    16530     -155     
Flag Coverage Δ
integration 73.03% <ø> (-1.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -36,7 +36,7 @@ use opensearch::{
http::transport::{SingleNodeConnectionPool, TransportBuilder},
Error, OpenSearch, DEFAULT_ADDRESS,
};
use sysinfo::{ProcessRefreshKind, RefreshKind, System, SystemExt};
use sysinfo::{ProcessRefreshKind, RefreshKind, System};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reta reta merged commit 574a9b4 into main Jan 8, 2024
32 of 33 checks passed
@reta reta added the backport 2.x Backport to the 2.x branch label Jan 8, 2024
@dependabot dependabot bot deleted the dependabot/cargo/sysinfo-0.30.5 branch January 8, 2024 19:53
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 8, 2024
* Update sysinfo requirement from 0.29.0 to 0.30.5

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Remove sysinfo::SystemExt usage

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit 574a9b4)
reta pushed a commit that referenced this pull request Jan 8, 2024
* Update sysinfo requirement from 0.29.0 to 0.30.5

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Remove sysinfo::SystemExt usage

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit 574a9b4)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to the 2.x branch dependabot dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant