-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG]"conda list | jake iq -c" produces different results in comparison to "jake iq" and "nexus-iq-cli" #50
Comments
The |
Maybe it is related to #42 |
A difference here is that
The conda one (which we were not able to do programmatically easily, because of Conda's API), is done via piping in, as you see with Does that make sense? |
So the difference I suspect is that when you scan it as conda, it's using conda as it's data source, and when you scan it not as conda aka as just jake on it's own, it's using pypi as it's data source. I would suspect that the data in IQ for PyPI is more comprehensive than it is for Conda. The other thing that comes to mind is that the source of the security risk is a Sonatype ID, not a public CVE. I think for Conda none of the packages have Sonatype ID's, etc... It likely sounds a bit complicated, given the heavy overlap between the two ecosystems. I'm going to send this issue to a few people internally to take a gander at, for the record! |
So my suspicion has been mostly confirmed, and comes down to data differences. I agree it's confusing though, and I've escalated it to see if anything can be done, at least in better explaining the data differences. |
Panda's is listed so many times because it COULD be any number of those results. Essentially we only know what we know about your environment. The reason they are all brought back is because it's coordinate based matching, and not on a hash, so we can't tell for example if you are using panda's for python 3.9, for linux, etc... There are some legal reasons it becomes difficult to merge Conda and PyPI, mainly in that the Conda repository has a TOS that prevents scraping information (I am not a lawyer, but that's my basic understanding). There's realistically only so much that can be done with that in place. Love the feedback, by the way! Jake is open source obviously, if you feel really strongly about anything, totally down for PR's, etc... (if you got the time, I also know how that goes :)) |
Closing due to inactivity - please re-open if the issue persists. |
jake v0.2.66
Nexus IQ Server 103
Describe the bug
Running
conda list | jake iq -c
leads to completely different results in comparison tojake iq
without stdout pipingExample environment
environment.yml
:To Reproduce
conda list | jake iq -c
andjake iq
.I expect the result to be identical. It shouldn't matter if I pipe the output of
conda list
to the tool or let Jake find out the dependencies in the currently activated environment.Screenshots
conda list | jake iq -c
results in:jake iq
results in:The text was updated successfully, but these errors were encountered: