Skip to content

Conversation

@xiemaisi
Copy link

In particular, the autobuilder will no longer succeed for projects that contain HTML or YAML files but no JS/TS code. Further down the line, this prevents LGTM.com from classifying such projects as "JavaScript"
projects.

When TRAP caching is turned on, we can't easily tell whether a file contained code or not, so we conservatively assume that it did. This only affects dist-compare (not LGTM), and only to the extent that extraction may trivially succeed.

In particular, the autobuilder will no longer succeed for projects that
contain HTML or YAML files but no JS/TS code. Further down the line,
this prevents LGTM.com from classifying such projects as "JavaScript"
projects.
@xiemaisi xiemaisi added the JS label May 28, 2019
@xiemaisi xiemaisi added this to the 1.21.0 milestone May 28, 2019
@xiemaisi xiemaisi requested a review from a team as a code owner May 28, 2019 13:51
@ghost ghost self-assigned this May 28, 2019
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM

When TRAP caching is turned on, we can't easily tell whether a file contained code or not, so we conservatively assume that it did. This only affects dist-compare (not LGTM), and only to the extent that extraction may trivially succeed.

Good to know.

@semmle-qlci semmle-qlci merged commit 5bbbd26 into github:master May 29, 2019
@xiemaisi xiemaisi deleted the js/fail-if-no-code branch June 10, 2019 11:16
@kamarcum kamarcum unassigned ghost Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants