Skip to content

Commit

Permalink
uptick: 0.10.0 (#1510)
Browse files Browse the repository at this point in the history
* uptick: 0.10.0

* docs: fix changelog

* bump lockfile

* match clap

* add/update schema

* add note
  • Loading branch information
ClementTsang authored Aug 1, 2024
1 parent a6e1ea3 commit 8afae3f
Show file tree
Hide file tree
Showing 10 changed files with 1,471 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ body:
It would also be helpful if you are not running [the latest version](https://github.com/ClementTsang/bottom/releases/latest)
to try that as well to see if the issue has already been resolved.
placeholder: 0.9.7
placeholder: 0.10.0

- type: textarea
id: install
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.10.0] - Unreleased
## [0.10.0] - 2024-08-01

### Features

Expand Down Expand Up @@ -47,7 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#1355](https://github.com/ClementTsang/bottom/pull/1355): Reduce chances of non-D0 devices waking up due to temperature checks on Linux.
- [#1410](https://github.com/ClementTsang/bottom/pull/1410): Fix uptime calculation for Linux.

## [0.9.7] - 2023-08-26
## [0.9.7] - 2024-07-26

## Bug Fixes

Expand Down
49 changes: 25 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ generate_schema = ["schemars", "serde_json", "strum"]
anyhow = "1.0.86"
backtrace = "0.3.73"
cfg-if = "1.0.0"
clap = { version = "4.5.11", features = ["default", "cargo", "wrap_help", "derive"] }
clap = { version = "4.5.13", features = ["default", "cargo", "wrap_help", "derive"] }
concat-string = "1.0.1"
crossterm = "0.27.0"
ctrlc = { version = "3.4.4", features = ["termination"] }
Expand Down Expand Up @@ -148,8 +148,8 @@ predicates = "3.1.0"
portable-pty = "0.8.1"

[build-dependencies]
clap = { version = "4.5.11", features = ["default", "cargo", "wrap_help", "derive"] }
clap_complete = "4.5.11"
clap = { version = "4.5.13", features = ["default", "cargo", "wrap_help", "derive"] }
clap_complete = "4.5.12"
clap_complete_nushell = "4.5.3"
clap_complete_fig = "4.5.2"
clap_mangen = "0.2.23"
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ A `.deb` file is provided on each [stable release](https://github.com/ClementTsa

```bash
# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.7/bottom_0.9.7_amd64.deb
sudo dpkg -i bottom_0.9.7_amd64.deb
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.0/bottom_0.10.0_amd64.deb
sudo dpkg -i bottom_0.10.0_amd64.deb

# ARM64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.7/bottom_0.9.7_arm64.deb
sudo dpkg -i bottom_0.9.7_arm64.deb
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.0/bottom_0.10.0_arm64.deb
sudo dpkg -i bottom_0.10.0_arm64.deb

# ARM
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.7/bottom_0.9.7_armhf.deb
sudo dpkg -i bottom_0.9.7_armhf.deb
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.0/bottom_0.10.0_armhf.deb
sudo dpkg -i bottom_0.10.0_armhf.deb
```

### Exherbo Linux
Expand All @@ -210,12 +210,12 @@ something like:

```bash
# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.7/bottom-0.9.7-1.x86_64.rpm
sudo rpm -i bottom-0.9.7-1.x86_64.rpm
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.0/bottom-0.10.0-1.x86_64.rpm
sudo rpm -i bottom-0.10.0-1.x86_64.rpm

# Nightly x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/nightly/bottom-0.9.7-1.x86_64.rpm
sudo rpm -i bottom-0.9.7-1.x86_64.rpm
curl -LO https://github.com/ClementTsang/bottom/releases/download/nightly/bottom-0.10.0-1.x86_64.rpm
sudo rpm -i bottom-0.10.0-1.x86_64.rpm
```

### Gentoo
Expand Down Expand Up @@ -326,8 +326,8 @@ to do so using the most recent version of stable Rust, which is how the binaries
rustup update stable

# Option 1 - Download from releases and install
curl -LO https://github.com/ClementTsang/bottom/archive/0.9.7.tar.gz
tar -xzvf 0.9.7.tar.gz
curl -LO https://github.com/ClementTsang/bottom/archive/0.10.0.tar.gz
tar -xzvf 0.10.0.tar.gz
cargo install --path . --locked

# Option 2 - Clone the repo and install manually
Expand Down
19 changes: 15 additions & 4 deletions schema/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# Config Schema
# Config JSON Schema

## Usage
## Generation

## Development
These are automatically generated from code using [`schemars`](https://github.com/GREsau/schemars). They're locked
behind a feature flag to avoid building unnecessary code for release builds, and you can generate them like so:

### How to add a new version
```bash
cargo run --features="generate_schema" -- --generate_schema > schema/nightly/bottom.json
```

## Publication

To publish these schemas, cut a new version by copying `nightly` to a new folder with a version number matching bottom's
(e.g. v0.10 if bottom is on v0.10.x bottom). Then, make a PR to [schemastore](https://github.com/SchemaStore/schemastore)
updating the catalog.

For more info, see the schemastore repo. An example PR can be found [here](https://github.com/SchemaStore/schemastore/pull/3571).
Loading

0 comments on commit 8afae3f

Please sign in to comment.