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

bug: fix default_cpu_entry arg not being used and missing from docs #1543

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

ClementTsang
Copy link
Owner

@ClementTsang ClementTsang commented Aug 5, 2024

Description

A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:

Fixes --default_cpu_entry not actually being used. Also updates docs since it was missing.

Issue

If applicable, what issue does this address?

Closes: #1539

Testing

If relevant, please state how this was tested. All changes must be tested to work:

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, doc pages, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

@ClementTsang ClementTsang force-pushed the fix_default_cpu_entry_not_being_used branch from 2bc38af to d3d3a2b Compare August 5, 2024 22:39
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes missing coverage. Please review.

Project coverage is 55.13%. Comparing base (9f7e004) to head (d3d3a2b).

Files Patch % Lines
src/options.rs 75.00% 3 Missing ⚠️
src/options/args.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1543       +/-   ##
===========================================
+ Coverage   42.15%   55.13%   +12.97%     
===========================================
  Files         103      103               
  Lines       17374    17377        +3     
===========================================
+ Hits         7324     9580     +2256     
+ Misses      10050     7797     -2253     
Flag Coverage Δ
ubuntu-latest 56.48% <69.23%> (+13.30%) ⬆️
windows-2019 36.79% <69.23%> (-0.01%) ⬇️

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.

@ClementTsang ClementTsang merged commit feb0c69 into main Aug 5, 2024
35 of 36 checks passed
@ClementTsang ClementTsang deleted the fix_default_cpu_entry_not_being_used branch August 5, 2024 22:55
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 10, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ClementTsang/bottom](https://github.com/ClementTsang/bottom) | patch | `0.10.1` -> `0.10.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>ClementTsang/bottom (ClementTsang/bottom)</summary>

### [`v0.10.2`](https://github.com/ClementTsang/bottom/blob/HEAD/CHANGELOG.md#0102---2024-08-05)

[Compare Source](ClementTsang/bottom@0.10.1...0.10.2)

##### Features

-   [#&#8203;1487](ClementTsang/bottom#1487): Add option to move the AVG CPU bar to another row in basic mode.

##### Bug Fixes

-   [#&#8203;1541](ClementTsang/bottom#1541): Fix some process details not updating for macOS and Windows.
-   [#&#8203;1542](ClementTsang/bottom#1542): Fix confusing process run times being reported on macOS.
-   [#&#8203;1543](ClementTsang/bottom#1543): Fix the `--default_cpu_entry` argument not being checked.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

default_cpu_entry option does not work
1 participant