mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 05:12:28 +01:00
docs(schema): the schema descriptions name v0.2.0
The doc comments that become the description of schema.json and schema.bar.json said v0.1.42 (Windows), and the macOS views of the schemas said v0.1.0 and linked komorebi.0.1.0.schema.json. They now say v0.2.0 (the unified release) and link the 0.2.0 file. The macOS site domain in those links is not touched: where the schemas are published is a release decision. The checked-in schema.json and schema.bar.json of the Windows tree and of komorebi-for-mac were edited to match, and the size and hash pins of crates/komorebi-bar-core/tests/schema_oracle.rs were updated for the two bar schemas (Windows 248,539 bytes, FNV-1a aaa0fabfb45967b7; macOS 116,925 bytes, a042f6ac063a0cfd). The KDE schemas carry no version text. Verified: cargo test -p komorebi-config -p komorebi-bar-core -p komorebi-protocol and -p komorebi-linux --test schemas pass. The komorebi-config doctest fails to link in the nix dev shell (it cross-compiles to windows-msvc); that is not caused by this change.
This commit is contained in:
1 parent
87fb8340d0
commit
0180d80fa6
9 files changed
+11
-11
No files matched your search
@@ -26,7 +26,7 @@ use std::sync::atomic::Ordering;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// The `komorebi.bar.json` configuration file reference for `v0.1.42`
|
||||
/// The `komorebi.bar.json` configuration file reference for `v0.2.0`
|
||||
pub struct KomobarConfig {
|
||||
/// Bar height
|
||||
#[cfg_attr(feature = "schemars", schemars(extend("default" = 50)))]
|
||||
|
||||
@@ -26,7 +26,7 @@ pub const MACOS: &[(&str, Change)] = &[
|
||||
(
|
||||
"/description",
|
||||
Change::Set(
|
||||
r####""The `komorebi.bar.json` static configuration file reference for komorebi for Mac `v0.1.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.bar.0.1.0.schema.json\"`""####,
|
||||
r####""The `komorebi.bar.json` static configuration file reference for komorebi for Mac `v0.2.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.bar.0.2.0.schema.json\"`""####,
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -22,14 +22,14 @@ const PINS: [Pin; 2] = [
|
||||
Pin {
|
||||
file: "schema.bar.json",
|
||||
lines: 9_091,
|
||||
bytes: 248_540,
|
||||
fnv1a: 0x83d6_6fd4_9ae8_3766,
|
||||
bytes: 248_539,
|
||||
fnv1a: 0xaaa0_fabf_b459_67b7,
|
||||
},
|
||||
Pin {
|
||||
file: "komorebi-for-mac/schema.bar.json",
|
||||
lines: 3_774,
|
||||
bytes: 116_925,
|
||||
fnv1a: 0xc99e_0294_9424_e5d7,
|
||||
fnv1a: 0xa042_f6ac_063a_0cfd,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -245,7 +245,7 @@ const MACOS: &[(&str, Change)] = &[
|
||||
(
|
||||
"/description",
|
||||
Change::Set(
|
||||
r####""The `komorebi.json` static configuration file reference for komorebi for Mac `v0.1.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.0.1.0.schema.json\"`""####,
|
||||
r####""The `komorebi.json` static configuration file reference for komorebi for Mac `v0.2.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.0.2.0.schema.json\"`""####,
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -275,7 +275,7 @@ pub enum AppSpecificConfigurationPath {
|
||||
#[serde_with::serde_as]
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// The `komorebi.json` static configuration file reference for `v0.1.42`
|
||||
/// The `komorebi.json` static configuration file reference for `v0.2.0`
|
||||
pub struct StaticConfig {
|
||||
/// DEPRECATED from v0.1.22: no longer required
|
||||
#[cfg_attr(feature = "schemars", schemars(extend("deprecated" = true)))]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "KomobarConfig",
|
||||
"description": "The `komorebi.bar.json` static configuration file reference for komorebi for Mac `v0.1.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.bar.0.1.0.schema.json\"`",
|
||||
"description": "The `komorebi.bar.json` static configuration file reference for komorebi for Mac `v0.2.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.bar.0.2.0.schema.json\"`",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"center_widgets": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "StaticConfig",
|
||||
"description": "The `komorebi.json` static configuration file reference for komorebi for Mac `v0.1.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.0.1.0.schema.json\"`",
|
||||
"description": "The `komorebi.json` static configuration file reference for komorebi for Mac `v0.2.0`\n\n`\"$schema\": \"https://komorebi-for-mac.lgug2z.com/komorebi.0.2.0.schema.json\"`",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animation": {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "KomobarConfig",
|
||||
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.42`",
|
||||
"description": "The `komorebi.bar.json` configuration file reference for `v0.2.0`",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"center_widgets": {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "StaticConfig",
|
||||
"description": "The `komorebi.json` static configuration file reference for `v0.1.42`",
|
||||
"description": "The `komorebi.json` static configuration file reference for `v0.2.0`",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animation": {
|
||||
|
||||
Reference in new issue
Block a user