Skip to content

Commit

Permalink
comment out rpm-ostree backend, it's kind of dead in favor of just do…
Browse files Browse the repository at this point in the history
…ing OCI
  • Loading branch information
korewaChino committed Oct 29, 2024
1 parent 88c64c5 commit fec262a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ pub async fn build_project(
PackageType::Docker => "Docker image",
PackageType::Podman => "Podman image",
PackageType::Flatpak => "flatpak",
PackageType::RpmOstree => "rpm-ostree compose",
// PackageType::RpmOstree => "rpm-ostree compose",
PackageType::All => unreachable!(),
};
println!("Built {type_string}: {path}");
Expand Down Expand Up @@ -372,7 +372,7 @@ async fn _build_pkg(
println!("No Flatpak build defined for project");
}
}
PackageType::RpmOstree => todo!(),
// PackageType::RpmOstree => todo!(),
};
Ok(())
}
Expand Down
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub enum PackageType {
Docker,
Podman,
Flatpak,
RpmOstree,
// RpmOstree,
All,
}

Expand All @@ -31,7 +31,7 @@ impl FromStr for PackageType {
"docker" => Ok(Self::Docker),
"podman" => Ok(Self::Podman),
"flatpak" => Ok(Self::Flatpak),
"rpm-ostree" => Ok(Self::RpmOstree),
// "rpm-ostree" => Ok(Self::RpmOstree),
"all" => Ok(Self::All),
_ => Err(format!("Invalid package type: {s}")),
}
Expand Down

0 comments on commit fec262a

Please sign in to comment.