Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

refactor: relicense google-gax as Apache 2.0 - #704

Merged
alexander-fenster merged 2 commits into
masterfrom
apache
Jan 8, 2020
Merged

alexander-fenster merged 2 commits into
masterfrom
apache

Conversation

@alexander-fenster

Copy link
Copy Markdown
Contributor

This package is the only googleapis Node.js package that is BSD-licensed. Since we've got approval to relicense it as Apache 2.0, let's just do it so that it matches the other packages and so that our tools and bots are happy.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 8, 2020
@codecov

codecov Bot commented Jan 8, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #704 into master will decrease coverage by 0.56%.
The diff coverage is 95.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
- Coverage      90%   89.43%   -0.57%     
==========================================
  Files          44       44              
  Lines        7845     7282     -563     
  Branches      414      414              
==========================================
- Hits         7061     6513     -548     
+ Misses        781      766      -15     
  Partials        3        3
Impacted Files Coverage Δ
webpack.config.js 0% <0%> (ø) ⬆️
src/apitypes.ts 0% <0%> (ø) ⬆️
src/createApiCall.ts 98.23% <100%> (-0.21%) ⬇️
src/index.ts 96.85% <100%> (-0.28%) ⬇️
src/streamingCalls/streamingApiCaller.ts 86.02% <100%> (-1.95%) ⬇️
src/parserExtras.ts 100% <100%> (ø) ⬆️
src/descriptor.ts 100% <100%> (ø) ⬆️
src/routingHeader.ts 100% <100%> (ø) ⬆️
src/longRunningCalls/longRunningDescriptor.ts 100% <100%> (ø) ⬆️
src/pathTemplate.ts 98.37% <100%> (-0.13%) ⬇️
... and 35 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 d06ddcd...48ada3b. Read the comment docs.

Comment thread src/warnings.ts
/*
* Copyright 2019 Google LLC
* All rights reserved.
/**

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

we've been using // comments for licenses, but if it's a hassle to make this change not a blocker for me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So... I first removed all the licenses using some Perl magic, then used https://github.com/google/addlicense to add them. Turns out it uses /** */ style licenses, I guess it should be fine.

@alexander-fenster
alexander-fenster merged commit 7c3b374 into master Jan 8, 2020
@alexander-fenster
alexander-fenster deleted the apache branch January 8, 2020 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants