Rose Judge
Rose Judge
Thanks for the heads up @armintaenzertng. In order to get license info in files try using the Scancode extension. In the mean time, I'll try to dig a little deeper...
@armintaenzertng If you try with this branch you should be able to run it: https://github.com/rnjudge/tern/tree/issue-1202
ping @ThiefaineM
Thanks for this issue @raphaelcoeffic -- I'll take a look!
The issue is with the bulk copying of the layer contents using `cp -r` when dealing with symlinks at the directory level. cp doesn't recognize the unzipped directory symlink, `/root/.tern/temp/3/contents/root`...
Hmm, I don't see these errors in the current/old version of Tern's output when I run `tern report -i golang:1.12-alpine -f spdxjson -o output.json`: ``` (ternenv) [rose@fedora tern]$ tern report...
I'll take a look at the output you pasted and the output I have, but this seems to be introduced with the latest changes.
> @rnjudge To clarify, does the error occur when running `cp -r container_layer_dir working_dir` where `container_layer_dir` is a symlink to `random_dir_path`? @nishakm Yep! In this case, the dockerfile has something...
@armintaenzertng Yes, I do see errors with pyspdxtools although I'm not convinced all of them are valid or make sense. I tend to trust java tools more because it is...
@armintaenzertng I will try to generate a file with golang:1.12-alpine using scancode and see if I can re-create the errors you are seeing.