From 22df0a436ee75b0e889f37eb627f1922193b7945 Mon Sep 17 00:00:00 2001 From: denton Date: Sun, 11 Sep 2022 11:08:09 -0400 Subject: [PATCH 1/2] docs: Add Windows support --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d6a68e3..5a193ce 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ crates.io. ### Download compiled binary The [release section](https://github.com/exdx/dcp/releases) has a number -of precompiled versions of dcp for different platforms. Currently only Linux and -MacOS are pre-built. For MacOS, both arm and x86 targets are provided, and +of precompiled versions of dcp for different platforms. Linux, macOS, and Windows (experimental) +binaries are pre-built. For MacOS, both arm and x86 targets are provided, and for Linux only x86 is provided. If your system is not supported, building dcp from the source is straightforward. @@ -118,14 +118,13 @@ will then be able to notice the image locally pulled and process it. ------------------ **Q**: Is dcp supported on Windows? -**A**: Windows support is being tracked in [#14](https://github.com/exdx/dcp/issues/14). Outside of changing the socket paths, there may not be any other work required to support Windows. +**A**: Yes, dcp is supported on Windows. Windows support is experimental, as there is no CI coverage, but it should work with the default Docker Desktop. ------------------ **Q**: I would like to inspect image labels to figure out where in the filesystem I should copy from. Does dcp have an `inspect` command to list image labels? **A**: Listing an image's labels can be done easily using the underlying container runtime. For example, run `docker image inspect | grep Labels` to see labels attached to an image. From there, dcp can be used to copy files from the container filesystem. - ## Testing If you would like to run the test suite, you just need to run the standard cargo command. This will run all relevant From eb9a0c1f1770e9a5cae7b4c552b1ebd12c908ff1 Mon Sep 17 00:00:00 2001 From: denton Date: Sun, 11 Sep 2022 11:20:37 -0400 Subject: [PATCH 2/2] version: Bump to 0.4.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b1ed2be..0af0253 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -196,7 +196,7 @@ dependencies = [ [[package]] name = "dcp" -version = "0.3.2" +version = "0.4.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index a585761..697d91f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dcp" -version = "0.3.2" +version = "0.4.0" edition = "2021" license = "MIT" description = "A utility tool to copy container filesystems easily" diff --git a/src/lib.rs b/src/lib.rs index ef652ba..34c796d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ extern crate pretty_env_logger; #[macro_use] extern crate log; -pub const VERSION: &str = "0.3.2"; +pub const VERSION: &str = "0.4.0"; #[derive(Debug)] pub struct Config {