From 6960830fd9cedf6e2c594a9f83a82ec1cc856b06 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Aug 2023 23:23:52 +0200 Subject: [PATCH 1/5] need the mib release.. --- satrs-mib/Cargo.toml | 6 ++++-- satrs-mib/codegen/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/satrs-mib/Cargo.toml b/satrs-mib/Cargo.toml index e736fec..6bc9a67 100644 --- a/satrs-mib/Cargo.toml +++ b/satrs-mib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "satrs-mib" -version = "0.1.0" +version = "0.1.0-alpha.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -13,10 +13,12 @@ version = "1" optional = true [dependencies.satrs-core] -path = "../satrs-core" +version = "0.1.0-alpha.0" +# path = "../satrs-core" [dependencies.satrs-mib-codegen] path = "codegen" +version = "0.1.0-alpha.0" [dependencies.serde] version = "1" diff --git a/satrs-mib/codegen/Cargo.toml b/satrs-mib/codegen/Cargo.toml index 26d7409..4d8b5e5 100644 --- a/satrs-mib/codegen/Cargo.toml +++ b/satrs-mib/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "satrs-mib-codegen" -version = "0.1.0" +version = "0.1.0-alpha.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 2e3b14251950626b34eeef537cd564339b0c0d0f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Aug 2023 23:30:22 +0200 Subject: [PATCH 2/5] prep mib release --- satrs-mib/Cargo.toml | 11 +++++++++++ satrs-mib/codegen/LICENSE-APACHE | 1 + satrs-mib/codegen/NOTICE | 1 + 3 files changed, 13 insertions(+) create mode 120000 satrs-mib/codegen/LICENSE-APACHE create mode 120000 satrs-mib/codegen/NOTICE diff --git a/satrs-mib/Cargo.toml b/satrs-mib/Cargo.toml index 6bc9a67..5fbd314 100644 --- a/satrs-mib/Cargo.toml +++ b/satrs-mib/Cargo.toml @@ -2,6 +2,17 @@ name = "satrs-mib" version = "0.1.0-alpha.0" edition = "2021" +rust-version = "1.61" +authors = ["Robin Mueller "] +description = """ +Helper crate of the sat-rs framework to build a mission information base (MIB) from the OBSW +directly. +""" +homepage = "https://egit.irs.uni-stuttgart.de/rust/sat-rs" +repository = "https://egit.irs.uni-stuttgart.de/rust/sat-rs" +license = "Apache-2.0" +keywords = ["no-std", "space", "aerospace"] +categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-support", "embedded"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/satrs-mib/codegen/LICENSE-APACHE b/satrs-mib/codegen/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/satrs-mib/codegen/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/satrs-mib/codegen/NOTICE b/satrs-mib/codegen/NOTICE new file mode 120000 index 0000000..7e1b82f --- /dev/null +++ b/satrs-mib/codegen/NOTICE @@ -0,0 +1 @@ +../NOTICE \ No newline at end of file From ec9abea11a39a6b6a3bb811ad7b667f76d33c8aa Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Aug 2023 23:31:32 +0200 Subject: [PATCH 3/5] add release checklist --- satrs-mib/release-checklist.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 satrs-mib/release-checklist.md diff --git a/satrs-mib/release-checklist.md b/satrs-mib/release-checklist.md new file mode 100644 index 0000000..1cda6f9 --- /dev/null +++ b/satrs-mib/release-checklist.md @@ -0,0 +1,25 @@ +Checklist for new releases +======= + +# Pre-Release + +1. Make sure any new modules are documented sufficiently enough and check docs with + `cargo doc --all-features --open`. +2. Bump version specifier in `Cargo.toml`. +3. Update `CHANGELOG.md`: Convert `unreleased` section into version section with date and add new + `unreleased` section. +4. Run `cargo test --all-features`. +5. Run `cargo fmt` and `cargo clippy`. Check `cargo msrv` against MSRV in `Cargo.toml`. +6. Wait for CI/CD results for EGit and Github. These also check cross-compilation for bare-metal + targets. + +# Release + +1. `cargo publish` + +# Post-Release + +1. Create a new annotaged tag and push it with `git tag -a satrs-mib-` and + `git push -u origin satrs-mib-` +2. Create a new release on `EGit` based on the tag. + From cbef94edd5efb065dd54fd4fbaa960cc04bb7cb9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Aug 2023 23:32:59 +0200 Subject: [PATCH 4/5] better description --- satrs-mib/Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/satrs-mib/Cargo.toml b/satrs-mib/Cargo.toml index 5fbd314..f6dd23a 100644 --- a/satrs-mib/Cargo.toml +++ b/satrs-mib/Cargo.toml @@ -5,9 +5,8 @@ edition = "2021" rust-version = "1.61" authors = ["Robin Mueller "] description = """ -Helper crate of the sat-rs framework to build a mission information base (MIB) from the OBSW -directly. -""" +Helper crate of the sat-rs framework to build a mission information base (MIB) from the +On-Board Software (OBSW) code directly.""" homepage = "https://egit.irs.uni-stuttgart.de/rust/sat-rs" repository = "https://egit.irs.uni-stuttgart.de/rust/sat-rs" license = "Apache-2.0" From 2e512ee8954b9fa10054390abab947bf6cad8ee3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Aug 2023 23:34:14 +0200 Subject: [PATCH 5/5] maybe this fixes CI? --- satrs-mib/codegen/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/satrs-mib/codegen/Cargo.toml b/satrs-mib/codegen/Cargo.toml index 4d8b5e5..bbf451f 100644 --- a/satrs-mib/codegen/Cargo.toml +++ b/satrs-mib/codegen/Cargo.toml @@ -16,7 +16,8 @@ quote = "1" proc-macro2 = "1" [dependencies.satrs-core] -path = "../../satrs-core" +version = "0.1.0-alpha.0" +# path = "../../satrs-core" [dev-dependencies] trybuild = { version = "1", features = ["diff"] }