Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

HARP-13770: Update the copyright header #2058

Merged
merged 6 commits into from
Jan 21, 2021
Merged

HARP-13770: Update the copyright header #2058

merged 6 commits into from
Jan 21, 2021

Conversation

ThFischer
Copy link
Collaborator

Now test/LicenseHeaderTest.ts checks all files to have correct license header by taking the last and first Git commit of this file into account to check the year statements. It also provides an option to adjust wrong year statements when ran locally (see AUTO_FIX)

germanz
germanz previously approved these changes Jan 19, 2021
@nzjony
Copy link
Member

nzjony commented Jan 19, 2021

@ThFischer , awesome job!!

@germanz germanz force-pushed the HARP-13770 branch 4 times, most recently from 3eab597 to 78e88b8 Compare January 19, 2021 12:49
@ThFischer ThFischer marked this pull request as draft January 19, 2021 12:52
@germanz germanz force-pushed the HARP-13770 branch 2 times, most recently from 5bcf853 to 812e886 Compare January 19, 2021 17:27
* @param callback The callback function to execute upon completion. Array of errors strings is passed back,
* in case not matching file is found.
*/
export function checkLicenses(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Parameter fix needs to be documented ("if true, it tries to fix the year(s)")

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

@germanz germanz force-pushed the HARP-13770 branch 2 times, most recently from d987caf to 0c1142d Compare January 20, 2021 12:17
@germanz
Copy link
Contributor

germanz commented Jan 20, 2021

retest this please

@ThFischer ThFischer marked this pull request as ready for review January 20, 2021 14:12
@germanz
Copy link
Contributor

germanz commented Jan 20, 2021

retest this please

@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #2058 (35dd186) into master (67e1fcb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2058   +/-   ##
=======================================
  Coverage   66.64%   66.64%           
=======================================
  Files         297      297           
  Lines       26351    26351           
  Branches     5957     5957           
=======================================
  Hits        17562    17562           
  Misses       8789     8789           
Impacted Files Coverage Δ
@here/harp-datasource-protocol/lib/ColorUtils.ts 95.23% <ø> (ø)
@here/harp-datasource-protocol/lib/DecodedTile.ts 50.96% <ø> (ø)
@here/harp-datasource-protocol/lib/Env.ts 63.63% <ø> (ø)
@here/harp-datasource-protocol/lib/Expr.ts 95.20% <ø> (ø)
...here/harp-datasource-protocol/lib/ExprEvaluator.ts 80.88% <ø> (ø)
...e/harp-datasource-protocol/lib/ExprInstantiator.ts 76.47% <ø> (ø)
@here/harp-datasource-protocol/lib/ExprParser.ts 63.31% <ø> (ø)
@here/harp-datasource-protocol/lib/ExprPool.ts 93.33% <ø> (ø)
...atasource-protocol/lib/InterpolatedPropertyDefs.ts 70.45% <ø> (ø)
@here/harp-datasource-protocol/lib/Outliner.ts 100.00% <ø> (ø)
... and 137 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67e1fcb...35dd186. Read the comment docs.

ThFischer and others added 5 commits January 21, 2021 11:36
Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
@germanz
Copy link
Contributor

germanz commented Jan 21, 2021

retest this please

1 similar comment
@germanz
Copy link
Contributor

germanz commented Jan 21, 2021

retest this please

Signed-off-by: German Zargaryan <2526045+germanz@users.noreply.github.com>
@germanz germanz merged commit 26af77d into master Jan 21, 2021
@germanz germanz deleted the HARP-13770 branch January 21, 2021 13:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants