Commit Graph

580 Commits

Author SHA1 Message Date
dependabot[bot]
ec5c07f208
chore(deps): bump serde_json from 1.0.82 to 1.0.83
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.83)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 09:42:51 +00:00
Orhun Parmaksız
3cec53b7f1
Merge pull request #36 from orhun/feat/add_configuration_file
Support configuration
2022-08-11 11:41:42 +02:00
Orhun Parmaksız
22176b007c
chore(bors): disable squash merge 2022-08-09 23:14:26 +02:00
Orhun Parmaksız
b328a11599
refactor(test): apply clippy suggestions 2022-08-09 23:12:58 +02:00
Orhun Parmaksız
907b337158
feat(config): add a configuration file (#12)
This commit adds a configuration file (`systeroid.conf`) for
configuring the CLI/TUI settings. Consult README.md or the
file itself for more information.
2022-08-09 22:19:33 +02:00
Orhun Parmaksız
570fdf9c2d
feat(style): expand the color implementation for TUI 2022-08-09 22:14:06 +02:00
dependabot[bot]
a973537536
chore(deps): bump thiserror from 1.0.31 to 1.0.32
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.32)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 01:36:29 +00:00
Orhun Parmaksız
1e02314070
refactor(lint): use a let binding to create a longer lived value 2022-08-04 02:36:21 +02:00
Orhun Parmaksız
94d369cf82
fix(lint): apply clippy suggestions 2022-08-04 02:17:08 +02:00
Orhun Parmaksız
c39169c5f5
feat(tui): show deprecated values optionally via --deprecated 2022-08-04 02:07:29 +02:00
Orhun Parmaksız
a0b35e1964
chore(funding): enable GitHub Sponsors for funding
https://github.com/sponsors/orhun
2022-07-31 15:11:14 +02:00
dependabot[bot]
a2e0c74207 chore(deps): bump serde from 1.0.139 to 1.0.140 (#31)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
2022-07-25 01:43:47 +00:00
dependabot[bot]
bcb2f2e0e3 chore(deps): bump serde from 1.0.138 to 1.0.139 (#30)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
2022-07-18 02:04:04 +00:00
Orhun Parmaksız
efb072653d
chore(tui): update MSRV to 1.57.0 2022-07-02 23:59:52 +02:00
Orhun Parmaksız
ee45ede501
chore(deps): bump dependencies 2022-07-02 23:17:03 +02:00
Orhun Parmaksız
d1099654f8
chore(lint): fix lints for tests 2022-07-02 12:24:24 +02:00
Orhun Parmaksız
16dd491d4c
refactor(lint): remove trim before splitting by whitespace 2022-06-30 20:04:38 +02:00
Orhun Parmaksız
8c2862caae
chore(ci): switch to Swatinem/rust-cache action for caching dependencies 2022-06-30 20:01:58 +02:00
Orhun Parmaksız
4a022f41c8
fix(lint): apply clippy suggestions 2022-06-30 19:59:22 +02:00
Orhun Parmaksız
ba3884ffcf
Merge branch 'main' of ssh://github.com/orhun/systeroid 2022-06-14 00:45:50 +03:00
Orhun Parmaksız
a42c705a7f
docs(readme): update broken links 2022-06-14 00:45:39 +03:00
dependabot[bot]
ba32367beb chore(deps): bump rayon from 1.5.2 to 1.5.3 (#27)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.2 to 1.5.3.
2022-05-16 07:09:26 +00:00
dependabot[bot]
5465bc0a7b chore(deps): bump serde_json from 1.0.79 to 1.0.81 (#26)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.79 to 1.0.81.
2022-05-11 13:31:07 +00:00
dependabot[bot]
871f99e277 chore(deps): bump docker/metadata-action from 3 to 4 (#21)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
2022-05-11 13:21:35 +00:00
dependabot[bot]
5317ede12f chore(deps): bump serde from 1.0.136 to 1.0.137 (#20)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
2022-05-11 13:14:58 +00:00
dependabot[bot]
b8a12d7637 chore(deps): bump thiserror from 1.0.30 to 1.0.31 (#19)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31.
2022-05-11 13:06:23 +00:00
Orhun Parmaksız
a6aa4a6787
chore(bors): strip the commit body 2022-05-11 16:07:13 +03:00
dependabot[bot]
187ceeb89b
chore(deps): bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:14:32 +00:00
dependabot[bot]
724d660ea7
chore(deps): bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:14:29 +00:00
dependabot[bot]
5abb070514
chore(deps): bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:14:25 +00:00
dependabot[bot]
29e1c8803e
chore(deps): bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:14:22 +00:00
dependabot[bot]
53af3598f0 chore(deps): bump tui from 0.17.0 to 0.18.0 (#17)
Bumps [tui](https://github.com/fdehau/tui-rs) from 0.17.0 to 0.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/fdehau/tui-rs/releases">tui's releases</a>.</em></p>
<blockquote>
<h2>v0.18.0</h2>
<h3>Features</h3>
<ul>
<li>Update <code>crossterm</code> to <code>0.23</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md">tui's changelog</a>.</em></p>
<blockquote>
<h2>v0.18.0 - 2022-04-24</h2>
<h3>Features</h3>
<ul>
<li>Update <code>crossterm</code> to <code>0.23</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e71faa988e"><code>e71faa9</code></a> Release v0.18.0</li>
<li><a href="ed0ae81aae"><code>ed0ae81</code></a> chore: update crossterm to v0.23 (<a href="https://github-redirect.dependabot.com/fdehau/tui-rs/issues/598">#598</a>)</li>
<li><a href="a61b078dea"><code>a61b078</code></a> chore: fix clippy warning (<a href="https://github-redirect.dependabot.com/fdehau/tui-rs/issues/601">#601</a>)</li>
<li>See full diff in <a href="https://github.com/fdehau/tui-rs/compare/v0.17.0...v0.18.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tui&package-manager=cargo&previous-version=0.17.0&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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)


</details>
2022-04-27 13:35:19 +00:00
Orhun Parmaksız
830216b346
chore(release): prepare for v0.1.1 2022-04-19 13:16:36 +03:00
Oraoto
d07bdb4f07 fix(tui): replace tab with whitespace in value (#16)
## Description

Replace `\t` with whitespace in values, to separated vector values.

## Motivation and Context

Vector values (eg, net.ipv4_mem) are separated by `\t`, but tui could not display `\t` correctly.

Fix https://github.com/orhun/systeroid/issues/14.


## How Has This Been Tested?

Visually checked

## Screenshots / Logs (if applicable)

Before:

![sc-20220419-122855](https://user-images.githubusercontent.com/24709398/163920309-756a9334-252f-4901-9231-a6183f91061d.png)

After:

![sc-20220419-122941](https://user-images.githubusercontent.com/24709398/163920378-611f6597-0ae8-40e1-95c8-1c8039473254.png)


## Types of Changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (no code change)
- [ ] Refactor (refactoring production code)
- [ ] Other <!--- (provide information) -->

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
- [X] My code follows the code style of this project.
- [ ] I have updated the documentation accordingly.
- [X] I have formatted the code with [rustfmt](https://github.com/rust-lang/rustfmt).
- [X] I checked the lints with [clippy](https://github.com/rust-lang/rust-clippy).
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
2022-04-19 10:00:26 +00:00
dependabot[bot]
cffc0046da chore(deps): bump rayon from 1.5.1 to 1.5.2 (#15)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.1 to 1.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.5.2 / rayon-core 1.9.2 (2022-04-13)</h1>
<ul>
<li>The new <code>ParallelSlice::par_rchunks()</code> and <code>par_rchunks_exact()</code> iterate
slice chunks in reverse, aligned the against the end of the slice if the
length is not a perfect multiple of the chunk size. The new
<code>ParallelSliceMut::par_rchunks_mut()</code> and <code>par_rchunks_exact_mut()</code> are the
same for mutable slices.</li>
<li>The <code>ParallelIterator::try_*</code> methods now support <code>std::ops::ControlFlow</code> and
<code>std::task::Poll</code> items, mirroring the unstable <code>Try</code> implementations in the
standard library.</li>
<li>The <code>ParallelString</code> pattern-based methods now support <code>&amp;[char]</code> patterns,
which match when any character in that slice is found in the string.</li>
<li>A soft limit is now enforced on the number of threads allowed in a single
thread pool, respecting internal bit limits that already existed. The current
maximum is publicly available from the new function <code>max_num_threads()</code>.</li>
<li>Fixed several Stacked Borrow and provenance issues found by <code>cargo miri</code>.</li>
</ul>
<h2>Contributors</h2>
<p>Thanks to all of the contributors for this release!</p>
<ul>
<li><a href="https://github.com/atouchet"><code>@​atouchet</code></a></li>
<li><a href="https://github.com/bluss"><code>@​bluss</code></a></li>
<li><a href="https://github.com/cuviper"><code>@​cuviper</code></a></li>
<li><a href="https://github.com/fzyzcjy"><code>@​fzyzcjy</code></a></li>
<li><a href="https://github.com/nyanzebra"><code>@​nyanzebra</code></a></li>
<li><a href="https://github.com/paolobarbolini"><code>@​paolobarbolini</code></a></li>
<li><a href="https://github.com/RReverser"><code>@​RReverser</code></a></li>
<li><a href="https://github.com/saethlin"><code>@​saethlin</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/rayon-rs/rayon/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon&package-manager=cargo&previous-version=1.5.1&new-version=1.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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)


</details>
2022-04-18 17:52:21 +00:00
Orhun Parmaksız
8bd45ee41b
feat(cli): support explaining multiple parameters 2022-04-17 17:47:55 +03:00
Orhun Parmaksız
ace15e10e8
perf(cli): parse the documentation only once for multiple parameters 2022-04-17 17:36:05 +03:00
Orhun Parmaksız
d65f8f63e7
docs(readme): add instructions for installing kernel docs on Fedora 2022-04-17 02:27:38 +03:00
Orhun Parmaksız
4b8c997b03
Set theme jekyll-theme-tactile 2022-04-16 21:25:03 +03:00
Orhun Parmaksız
0573092cc2
Merge branch 'main' of ssh://github.com/orhun/systeroid 2022-04-16 21:17:49 +03:00
Orhun Parmaksız
82c936321a
chore(docker): update .dockerignore about GitHub related files 2022-04-16 21:17:39 +03:00
Orhun Parmaksız
4a5671a4ba
Set theme jekyll-theme-slate 2022-04-16 21:15:58 +03:00
Orhun Parmaksız
ef98e5200b
chore(project): add CNAME record for GitHub pages
https://systeroid.cli.rs
2022-04-16 21:15:01 +03:00
Orhun Parmaksız
ea11160c90
chore(project): add GitHub pages configuration
https://systeroid.cli.rs
2022-04-16 21:12:29 +03:00
Orhun Parmaksız
65eee8785c
docs(readme): add installation instructions for Arch Linux 2022-04-16 12:39:19 +03:00
Orhun Parmaksız
c10b504ec3
chore(release): update Cargo.lock for v0.1.0 2022-04-16 11:17:54 +03:00
Orhun Parmaksız
202c87cc38
chore(release): prepare for v0.1.0 2022-04-16 11:14:30 +03:00
Orhun Parmaksız
32299d602d
style(readme): change the logo for Docker badge 2022-04-16 04:46:50 +03:00
Orhun Parmaksız
8ea14fe6b2
docs(readme): rename the label for Docker badge 2022-04-16 04:46:10 +03:00
Orhun Parmaksız
136bd8fff5
style(readme): add a separator after sections table 2022-04-16 04:42:01 +03:00