-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Parse build.gradle special dependency #3015
Comments
@xu1119 Thanks for the report! That said, do you how prevalent and common pygradle would be? I asked the authors at linkedin/pygradle#357 FWIW |
I am copying here this feedback from upstream pygradle author in linkedin/pygradle#357
Also there are only a handful of pygradle projects I can find in the wild: https://github.com/search?q="dependencies+{python+'pypi"&type=code and https://github.com/search?q="pyGradlePyPi"&type=Code So based on this, I wonder if doing anything special is worth it? How often do you see pygradle used in the wild? In any case since this would be a tiny code change so I could be talked into accepting a small, focused patch with tests to handle these (rarer) cases. |
Thanks for doing these. I found this just when I scan some java gradle project searched from github sorted by stars. Based on the search results you found and feedback from pygradle author, I think it may not worth to change. |
@xu1119 you wrote:
I would be interested if you can elaborate a bit on this? Also if you find any other issue while parsing gradle build files. |
I find some open source SCA tools, and compare results generated by these tools. So I search different projects from github. Other projects scancode can normally analyze, pygradle is special in results. |
@xu1119 you wrote:
If you can share more results this would be awesome as this will help improve and/or fix bugs here! |
Description
When analyse dependeices of project pygradle, results and purls from file build.gradle are wrong,
such as pkg:maven/pypi/numpy@1.11.2
Following are the file and part of the result:
How To Reproduce
scancode -p --json-pp - pygradle/
System configuration
Ubuntu20.04
scancode-toolkit 31.0.0rc2
pip
Python 3.8.13
The text was updated successfully, but these errors were encountered: