Skip to content

Commit 8afae3f

Browse files
authored
uptick: 0.10.0 (#1510)
* uptick: 0.10.0 * docs: fix changelog * bump lockfile * match clap * add/update schema * add note
1 parent a6e1ea3 commit 8afae3f

File tree

10 files changed

+1471
-47
lines changed

10 files changed

+1471
-47
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ body:
7979
8080
It would also be helpful if you are not running [the latest version](https://github.com/ClementTsang/bottom/releases/latest)
8181
to try that as well to see if the issue has already been resolved.
82-
placeholder: 0.9.7
82+
placeholder: 0.10.0
8383

8484
- type: textarea
8585
id: install

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.10.0] - Unreleased
8+
## [0.10.0] - 2024-08-01
99

1010
### Features
1111

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

50-
## [0.9.7] - 2023-08-26
50+
## [0.9.7] - 2024-07-26
5151

5252
## Bug Fixes
5353

Cargo.lock

+25-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ generate_schema = ["schemars", "serde_json", "strum"]
8282
anyhow = "1.0.86"
8383
backtrace = "0.3.73"
8484
cfg-if = "1.0.0"
85-
clap = { version = "4.5.11", features = ["default", "cargo", "wrap_help", "derive"] }
85+
clap = { version = "4.5.13", features = ["default", "cargo", "wrap_help", "derive"] }
8686
concat-string = "1.0.1"
8787
crossterm = "0.27.0"
8888
ctrlc = { version = "3.4.4", features = ["termination"] }
@@ -148,8 +148,8 @@ predicates = "3.1.0"
148148
portable-pty = "0.8.1"
149149

150150
[build-dependencies]
151-
clap = { version = "4.5.11", features = ["default", "cargo", "wrap_help", "derive"] }
152-
clap_complete = "4.5.11"
151+
clap = { version = "4.5.13", features = ["default", "cargo", "wrap_help", "derive"] }
152+
clap_complete = "4.5.12"
153153
clap_complete_nushell = "4.5.3"
154154
clap_complete_fig = "4.5.2"
155155
clap_mangen = "0.2.23"

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,16 @@ A `.deb` file is provided on each [stable release](https://github.com/ClementTsa
175175

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

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

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

190190
### Exherbo Linux
@@ -210,12 +210,12 @@ something like:
210210

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

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

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

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

333333
# Option 2 - Clone the repo and install manually

schema/README.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
# Config Schema
1+
# Config JSON Schema
22

3-
## Usage
3+
## Generation
44

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

7-
### How to add a new version
8+
```bash
9+
cargo run --features="generate_schema" -- --generate_schema > schema/nightly/bottom.json
10+
```
11+
12+
## Publication
13+
14+
To publish these schemas, cut a new version by copying `nightly` to a new folder with a version number matching bottom's
15+
(e.g. v0.10 if bottom is on v0.10.x bottom). Then, make a PR to [schemastore](https://github.com/SchemaStore/schemastore)
16+
updating the catalog.
17+
18+
For more info, see the schemastore repo. An example PR can be found [here](https://github.com/SchemaStore/schemastore/pull/3571).

0 commit comments

Comments
 (0)