-
Notifications
You must be signed in to change notification settings - Fork 28
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
Some package-versions are missing files but still have modules and callables #423
Comments
Which plugin is actually responsible for adding this information? Is it the |
Yes, it is the job of the metadata DB plugin. |
Also, when we have to touch this anyways, we could also think about addressing #102 in the same go. |
I investigated this example and the problem was not metadata-db-extension plugin. The reason for not having any file was that OPAL could not find the source file information from the bytecode. As you can see in another example OPAL found the source file information and metadata-extension also inserted it to DB and rest-api shows the file information: https://api.fasten-project.eu/api/mvn/packages/org.apache.commons:commons-compress/1.9/files Moreover, this is also not an OPAL bug. I manually investigated 3 random |
Ok, that clears it up. What I think might be going on is that we previously did not even get these coordinates in the DB at all because of missing info? Now we do and we have a bit more error rate in downstream plugins. Let’s accept that though. Thanks, Mehdi. |
Yeah, that might be. We have way more dependencies now. |
Describe the bug
In the metadata DB, some package-versions do not have their files listed in the
files
table, but they still havemodules
andcallables
. This causes eg. the quality metrics plugin to fail, because it queries first thefiles
table to matchmodule_id
s later.To Reproduce
Example: https://api.fasten-project.eu/api/mvn/packages/org.bouncycastle:bcprov-jdk15on/1.54/files
https://api.fasten-project.eu/api/mvn/packages/org.bouncycastle:bcprov-jdk15on/1.54/callables
Expected behavior
Package-versions should have complete information in the metadata DB.
The text was updated successfully, but these errors were encountered: