Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

refactor(externs): Move Closure Externs back to Closure code repository. #5907

Closed
wants to merge 1 commit into from

Conversation

mprobst
Copy link
Contributor

@mprobst mprobst commented Jan 21, 2014

While Closure Compiler generally recommends to maintain the externs for
projects together with their source, this has not worked well for
AngularJS:

  • Changes to externs must be tested; they can break clients. AngularJS
    has no testing infrastructure for this.
  • Changes mostly come from users inside of Google and are much more
    easily submitted together with the code using them within Google's
    repository.

This change deletes the externs here and adds a README.closure.md to
document the change. They will be added back to Closure Compiler in a
separate submit.

While Closure Compiler generally recommends to maintain the externs for
projects together with their source, this has not worked well for
AngularJS:
- Changes to externs must be tested; they can break clients. AngularJS
  has no testing infrastructure for this.
- Changes mostly come from users inside of Google and are much more
  easily submitted together with the code using them within Google's
  repository.

This change deletes the externs here and adds a README.closure.md to
document the change. They will be added back to Closure Compiler in a
separate submit.
@mprobst
Copy link
Contributor Author

mprobst commented Jan 21, 2014

See also #5906 for the master branch.

@mary-poppins
Copy link

I'm sorry, but I wasn't able to verify your Contributor License Agreement (CLA) signature. CLA signature is required for any code contributions to AngularJS.

Please sign our CLA and ensure that the CLA signature email address and the email address in this PR's commits match.

If you signed the CLA as a corporation, please let us know the company's name.

Thanks a bunch!

PS: If you signed the CLA in the past then most likely the email addresses don't match. Please sign the CLA again or update the email address in the commit of this PR.
PS2: If you are a Googler, please sign the CLA as well to simplify the CLA verification process.

@ghost ghost assigned IgorMinar Jan 22, 2014
@IgorMinar
Copy link
Contributor

I just realized that we can't merge this in until the internal CL is submitted, otherwise we'd break stuff.

I'm going to hold off on this PR.

it looks great otherwise

IgorMinar pushed a commit that referenced this pull request Jan 22, 2014
While Closure Compiler generally recommends to maintain the externs for
projects together with their source, this has not worked well for
AngularJS:
- Changes to externs must be tested; they can break clients. AngularJS
  has no testing infrastructure for this.
- Changes mostly come from users inside of Google and are much more
  easily submitted together with the code using them within Google's
  repository.

This change deletes the externs here and adds a README.closure.md to
document the change. They will be added back to Closure Compiler in a
separate submit.

Closes #5907
@IgorMinar IgorMinar closed this Jan 22, 2014
@mprobst mprobst deleted the move-externs-back-v1.0x branch January 24, 2014 23:59
ggershoni pushed a commit to ggershoni/angular.js that referenced this pull request Sep 29, 2015
While Closure Compiler generally recommends to maintain the externs for
projects together with their source, this has not worked well for
AngularJS:
- Changes to externs must be tested; they can break clients. AngularJS
  has no testing infrastructure for this.
- Changes mostly come from users inside of Google and are much more
  easily submitted together with the code using them within Google's
  repository.

This change deletes the externs here and adds a README.closure.md to
document the change. They will be added back to Closure Compiler in a
separate submit.

Closes angular#5907
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