You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2020/08/31 09:49:00 UTC

[jira] [Created] (YUNIKORN-388) "make check-license" passes on travis and fails locally

Wilfred Spiegelenburg created YUNIKORN-388:
----------------------------------------------

             Summary: "make check-license" passes on travis and fails locally
                 Key: YUNIKORN-388
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-388
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: webapp
            Reporter: Wilfred Spiegelenburg


In [web PR#46|https://github.com/apache/incubator-yunikorn-web/pull/46] the travis build passes the "make check-license". This same check fails in a local build.

The license check does a simple grep:
{code}
grep -Lr --exclude-dir={node_modules,dist} --include=*.{sh,md,yaml,yml,js,ts,html,js,scss} "Licensed to the Apache Software Foundation" .
{code}
However it did fail to pickup the fact that two files with the {{ts}} extension that were new did not have a license:
{code}
make check-license
Checking license header
following files have incorrect license header:
./src/app/components/error-view/error-view.component.spec.ts
./src/app/components/error-view/error-view.component.ts
make: *** [check-license] Error 1
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org