Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Warn on unmatched paths #4

Open
woky opened this issue Jun 2, 2022 · 0 comments
Open

RFE: Warn on unmatched paths #4

woky opened this issue Jun 2, 2022 · 0 comments

Comments

@woky
Copy link
Contributor

woky commented Jun 2, 2022

When some paths in contents do not match any files in the package, chisel silently ignores them. In the example below I slice /lib from base-files which in the package is actually a directory (/lib/, with slash at the end, would work) but I expected it to be a symlink. I should be told that the path didn't match anything.

$ cat release/slices/base-files.yaml 
package: base-files
slices:
  lib:
    contents:
      /lib:
      /nonexistent:
$ rm -rf output/ && mkdir output
$ chisel cut --release release/ --root output/ base-files_lib 
...
2022/06/02 10:54:23 Extracting files from package "base-files"...
$ find output/
output/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant