diff --git a/config/Cargo.toml b/config/Cargo.toml index 8d35afb5..039f9bbe 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-config" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Xvc configuration management" authors = ["Emre Şahin "] @@ -16,8 +16,8 @@ name = "xvc_config" crate-type = ["rlib"] [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } ## Cli and config diff --git a/core/Cargo.toml b/core/Cargo.toml index f65a585d..12d8fec9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-core" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Xvc core for common elements for all commands" authors = ["Emre Şahin "] @@ -16,10 +16,10 @@ name = "xvc_core" crate-type = ["rlib"] [dependencies] -xvc-config = { version = "0.6.13-alpha.2", path = "../config" } -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-ecs = { version = "0.6.13-alpha.2", path = "../ecs" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } +xvc-config = { version = "0.6.13-alpha.3", path = "../config" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-ecs = { version = "0.6.13-alpha.3", path = "../ecs" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } ## Cli and config clap = { version = "^4.5", features = ["derive"] } @@ -83,6 +83,6 @@ itertools = "^0.13" [dev-dependencies] -xvc-test-helper = { version = "0.6.13-alpha.2", path = "../test_helper/" } +xvc-test-helper = { version = "0.6.13-alpha.3", path = "../test_helper/" } proptest = "^1.5" test-case = "^3.3" diff --git a/core/src/util/git.rs b/core/src/util/git.rs index fe88c7d3..18b68c7a 100644 --- a/core/src/util/git.rs +++ b/core/src/util/git.rs @@ -87,7 +87,14 @@ pub fn exec_git(git_command: &str, xvc_directory: &str, args_str_vec: &[&str]) - /// NOTE: Assumptions for this function: /// - No submodules pub fn get_git_tracked_files(git_command: &str, xvc_directory: &str) -> Result> { - let git_ls_files_out = exec_git(git_command, xvc_directory, &["ls-files", "--full-name"])?; + let git_ls_files_out = exec_git( + git_command, + xvc_directory, + // XXX: When core.quotepath is in its default value, all UTF-8 paths are converted to octal + // strings and we lose the ability to match them. We supply a one off config value to set + // it to off. + &["-c", "core.quotepath=off", "ls-files", "--full-name"], + )?; watch!(git_ls_files_out); let git_ls_files_out = git_ls_files_out .lines() diff --git a/ecs/Cargo.toml b/ecs/Cargo.toml index 3a15898b..3321a09c 100644 --- a/ecs/Cargo.toml +++ b/ecs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-ecs" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Entity-Component System for Xvc" authors = ["Emre Şahin "] @@ -16,7 +16,7 @@ name = "xvc_ecs" crate-type = ["rlib"] [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } ## Serialization serde = { version = "^1.0", features = ["derive"] } diff --git a/file/Cargo.toml b/file/Cargo.toml index 27cde4e9..c34887e2 100644 --- a/file/Cargo.toml +++ b/file/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-file" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "File tracking, versioning, upload and download functions for Xvc" authors = ["Emre Şahin "] @@ -21,12 +21,12 @@ test = true bench = true [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-config = { version = "0.6.13-alpha.2", path = "../config" } -xvc-core = { version = "0.6.13-alpha.2", path = "../core" } -xvc-ecs = { version = "0.6.13-alpha.2", path = "../ecs" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } -xvc-storage = { version = "0.6.13-alpha.2", path = "../storage", default-features = false } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-config = { version = "0.6.13-alpha.3", path = "../config" } +xvc-core = { version = "0.6.13-alpha.3", path = "../core" } +xvc-ecs = { version = "0.6.13-alpha.3", path = "../ecs" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } +xvc-storage = { version = "0.6.13-alpha.3", path = "../storage", default-features = false } ## Cli and config @@ -95,5 +95,5 @@ default = ["reflink"] reflink = ["dep:reflink"] [dev-dependencies] -xvc-test-helper = { version = "0.6.13-alpha.2", path = "../test_helper/" } +xvc-test-helper = { version = "0.6.13-alpha.3", path = "../test_helper/" } shellfn = "^0.1" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index c0ef8a38..20033a8c 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "An MLOps tool to manage data files and pipelines on top of Git" authors = ["Emre Şahin "] @@ -20,14 +20,14 @@ name = "xvc" path = "src/main.rs" [dependencies] -xvc-config = { version = "0.6.13-alpha.2", path = "../config" } -xvc-core = { version = "0.6.13-alpha.2", path = "../core" } -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-ecs = { version = "0.6.13-alpha.2", path = "../ecs" } -xvc-file = { version = "0.6.13-alpha.2", path = "../file", default-features = false } -xvc-pipeline = { version = "0.6.13-alpha.2", path = "../pipeline" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } -xvc-storage = { version = "0.6.13-alpha.2", path = "../storage", default-features = false } +xvc-config = { version = "0.6.13-alpha.3", path = "../config" } +xvc-core = { version = "0.6.13-alpha.3", path = "../core" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-ecs = { version = "0.6.13-alpha.3", path = "../ecs" } +xvc-file = { version = "0.6.13-alpha.3", path = "../file", default-features = false } +xvc-pipeline = { version = "0.6.13-alpha.3", path = "../pipeline" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } +xvc-storage = { version = "0.6.13-alpha.3", path = "../storage", default-features = false } ## Cli and config clap = { version = "^4.5", features = ["derive", "cargo"] } @@ -133,4 +133,4 @@ shellfn = "^0.1" test-case = "^3.3" trycmd = "^0.15" which = "^7.0" -xvc-test-helper = { version = "0.6.13-alpha.2", path = "../test_helper/" } +xvc-test-helper = { version = "0.6.13-alpha.3", path = "../test_helper/" } diff --git a/logging/Cargo.toml b/logging/Cargo.toml index 5b193724..aecccd96 100644 --- a/logging/Cargo.toml +++ b/logging/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-logging" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Logging crate for Xvc" authors = ["Emre Şahin "] diff --git a/pipeline/Cargo.toml b/pipeline/Cargo.toml index 70ed2441..5a1fa4a7 100644 --- a/pipeline/Cargo.toml +++ b/pipeline/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-pipeline" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Xvc data pipeline management" authors = ["Emre Şahin "] @@ -19,12 +19,12 @@ default = [] bundled-sqlite = ["rusqlite/bundled"] [dependencies] -xvc-config = { version = "0.6.13-alpha.2", path = "../config" } -xvc-core = { version = "0.6.13-alpha.2", path = "../core" } -xvc-ecs = { version = "0.6.13-alpha.2", path = "../ecs" } -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } -xvc-file = { version = "0.6.13-alpha.2", path = "../file", default-features = false } +xvc-config = { version = "0.6.13-alpha.3", path = "../config" } +xvc-core = { version = "0.6.13-alpha.3", path = "../core" } +xvc-ecs = { version = "0.6.13-alpha.3", path = "../ecs" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } +xvc-file = { version = "0.6.13-alpha.3", path = "../file", default-features = false } ## Cli and config clap = { version = "^4.5", features = ["derive"] } @@ -99,5 +99,5 @@ itertools = "^0.13" derive_more = { version = "^1.0", features = ["full"] } [dev-dependencies] -xvc-test-helper = { version = "0.6.13-alpha.2", path = "../test_helper/" } +xvc-test-helper = { version = "0.6.13-alpha.3", path = "../test_helper/" } test-case = "^3.3" diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 6ca8e86c..e14dcfe4 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-storage" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Xvc remote and local storage management" authors = ["Emre Şahin "] @@ -16,11 +16,11 @@ name = "xvc_storage" crate-type = ["rlib"] [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } -xvc-config = { version = "0.6.13-alpha.2", path = "../config" } -xvc-core = { version = "0.6.13-alpha.2", path = "../core" } -xvc-ecs = { version = "0.6.13-alpha.2", path = "../ecs" } -xvc-walker = { version = "0.6.13-alpha.2", path = "../walker" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } +xvc-config = { version = "0.6.13-alpha.3", path = "../config" } +xvc-core = { version = "0.6.13-alpha.3", path = "../core" } +xvc-ecs = { version = "0.6.13-alpha.3", path = "../ecs" } +xvc-walker = { version = "0.6.13-alpha.3", path = "../walker" } ## Cli and config clap = { version = "^4.5", features = ["derive"] } @@ -105,7 +105,7 @@ bundled-openssl = ["openssl/vendored"] [dev-dependencies] -xvc-test-helper = { version = "0.6.13-alpha.2", path = "../test_helper/" } +xvc-test-helper = { version = "0.6.13-alpha.3", path = "../test_helper/" } shellfn = "^0.1" [package.metadata.cargo-udeps.ignore] diff --git a/test_helper/Cargo.toml b/test_helper/Cargo.toml index 148692fa..ff7afd4e 100644 --- a/test_helper/Cargo.toml +++ b/test_helper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-test-helper" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Unit test helper functions for Xvc" authors = ["Emre Şahin "] @@ -20,7 +20,7 @@ path = "src/main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging/" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging/" } rand = "^0.8" log = "^0.4" diff --git a/walker/Cargo.toml b/walker/Cargo.toml index 14baba92..1ef27ca7 100644 --- a/walker/Cargo.toml +++ b/walker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xvc-walker" -version = "0.6.13-alpha.2" +version = "0.6.13-alpha.3" edition = "2021" description = "Xvc parallel file system walker with ignore features" authors = ["Emre Şahin "] @@ -16,7 +16,7 @@ name = "xvc_walker" crate-type = ["rlib"] [dependencies] -xvc-logging = { version = "0.6.13-alpha.2", path = "../logging" } +xvc-logging = { version = "0.6.13-alpha.3", path = "../logging" } # NOTE: 0.4 removes Glob struct and this should be handled with care fast-glob = "^0.3" @@ -42,7 +42,7 @@ itertools = "^0.13" regex = "^1.10" [dev-dependencies] -xvc-test-helper = { path = "../test_helper/", version = "0.6.13-alpha.2" } +xvc-test-helper = { path = "../test_helper/", version = "0.6.13-alpha.3" } test-case = "^3.3" [package.metadata.cargo-udeps.ignore]