diff options
-rw-r--r-- | src/commands/metrics.rs | 2 | ||||
-rw-r--r-- | src/repository/repository.rs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/metrics.rs b/src/commands/metrics.rs index 0efc1e1..a98eff4 100644 --- a/src/commands/metrics.rs +++ b/src/commands/metrics.rs @@ -76,7 +76,7 @@ pub async fn metrics( {configured_release_stores} Configured release stores {configured_phases} Configures phases - {nfiles} packages in repository + {nfiles} files in repository {repo_packages} packages in repository {n_artifacts} artifacts in database diff --git a/src/repository/repository.rs b/src/repository/repository.rs index 170c2b0..f9651a7 100644 --- a/src/repository/repository.rs +++ b/src/repository/repository.rs @@ -150,6 +150,9 @@ impl Repository { .map_ok(|patch| path_relative_to_root.join(patch)) .inspect(|patch| trace!("Patch relative to root: {:?}", patch.as_ref().map(|p| p.display()))) + .map_ok(|patch| root.join(patch)) + .inspect(|patch| trace!("Patch absolute: {:?}", patch.as_ref().map(|p| p.display()))) + // if the patch file exists, use it (as config::Value). // // Otherwise we have an error here, because we're refering to a non-existing file. |