From 08984bef3aefcd44e48562f702f2ab9c983bc78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6nauer?= Date: Tue, 11 Oct 2022 21:33:31 +0200 Subject: [PATCH 1/4] Change dnf ostree default value --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 9eec74c7..2acade8c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -798,7 +798,7 @@ impl Config { .linux .as_ref() .and_then(|linux| linux.rpm_ostree) - .unwrap_or(true) + .unwrap_or(false) } /// Should we ignore failures for this step From 8cdcb18cca394c4b1ae86fcf5329f06f7c3b20b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6nauer?= Date: Wed, 12 Oct 2022 16:58:15 +0200 Subject: [PATCH 2/4] added deb-get update before deb-get upgrade --- src/steps/os/linux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 16171038..bca05509 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -329,6 +329,7 @@ pub fn run_deb_get(ctx: &ExecutionContext) -> Result<()> { print_separator("deb-get"); + ctx.execute_elevated(&deb_get, false)?.arg("update").check_run()?; ctx.execute_elevated(&deb_get, false)?.arg("upgrade").check_run()?; if ctx.config().cleanup() { From c405a8e07d6b13aad8a5133629464fb546fe3db0 Mon Sep 17 00:00:00 2001 From: MisileLaboratory Date: Thu, 13 Oct 2022 01:31:10 +0900 Subject: [PATCH 3/4] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1c63663a..29b5d04e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Upgrade all the things" categories = ["os"] keywords = ["upgrade", "update"] license-file = "LICENSE" -repository = "https://github.com/r-darwish/topgrade" +repository = "https://github.com/topgrade-rs/topgrade" version = "9.0.1" authors = ["Roey Darwish Dror "] exclude = ["doc/screenshot.gif"] From d7dfc90bce0c2d87effad111ac96a136e3d6b9d8 Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 14 Oct 2022 15:12:02 +1100 Subject: [PATCH 4/4] Add support for Nobara Linux --- src/steps/os/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index bca05509..ecf9ab18 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -44,7 +44,7 @@ impl Distribution { Some("alpine") => Distribution::Alpine, Some("centos") | Some("rhel") | Some("ol") => Distribution::CentOS, Some("clear-linux-os") => Distribution::ClearLinux, - Some("fedora") => Distribution::Fedora, + Some("fedora") | Some("nobara") => Distribution::Fedora, Some("void") => Distribution::Void, Some("debian") | Some("pureos") => Distribution::Debian, Some("arch") | Some("anarchy") | Some("manjaro-arm") | Some("garuda") | Some("artix") => Distribution::Arch,