Skip to content

Several PackageHub fixes#193

Merged
olafurpg merged 4 commits into
scip-code:mainfrom
olafurpg:lsif-json
Apr 29, 2021
Merged

Several PackageHub fixes#193
olafurpg merged 4 commits into
scip-code:mainfrom
olafurpg:lsif-json

Conversation

@olafurpg

Copy link
Copy Markdown
Contributor

See individual commits.

Fixes scip-code#187
The error message creates noise in our logs so it's better to ignore it.
Some repos may have no Java sources and that's fine, there's no need to
fail the build because there's nothing we can do to index that repo.
Fixes scip-code#189
Previously, you didn't get the output from running javac when sending a
POST request to PackageHub. Now, the javac output is returned to the
client that sends the POST request.
Fixes scip-code#188

Some libraries don't publish sources. This commit updates the validation
logic when we add a new package to the database so that we only add
package that publish sources. We also fix the LSIF indexing logic to
silently ignore repos that have missing sources.
Fixes scip-code#190
Some packages include the pom.xml file in the published sources, causing
the `lsif-java index` command to fail because it auto-detected both a
Maven build and the lsif-java.json build.

@Strum355 Strum355 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@olafurpg olafurpg merged commit 681b2af into scip-code:main Apr 29, 2021
@olafurpg olafurpg deleted the lsif-json branch April 29, 2021 12:11
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

Successfully merging this pull request may close these issues.

2 participants