Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMP4Email: Disallow "latest" extension scripts #24854

Merged

Conversation

dreamofabear
Copy link

@amp-owners-bot
Copy link

amp-owners-bot bot commented Oct 2, 2019

Hey @ampproject/wg-caching, these files were changed:

  • extensions/amp-accordion/validator-amp-accordion.protoascii
  • extensions/amp-anim/validator-amp-anim.protoascii
  • extensions/amp-bind/validator-amp-bind.protoascii
  • extensions/amp-carousel/validator-amp-carousel.protoascii
  • extensions/amp-fit-text/validator-amp-fit-text.protoascii
  • extensions/amp-form/validator-amp-form.protoascii
  • extensions/amp-list/validator-amp-list.protoascii
  • extensions/amp-mustache/validator-amp-mustache.protoascii
  • extensions/amp-selector/validator-amp-selector.protoascii
  • extensions/amp-sidebar/validator-amp-sidebar.protoascii
  • extensions/amp-timeago/validator-amp-timeago.protoascii

@honeybadgerdontcare
Copy link
Contributor

@choumx do we need to follow this deprecation path or does this fall outside of that policy?

Copy link
Contributor

@honeybadgerdontcare honeybadgerdontcare left a comment

Choose a reason for hiding this comment

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

We should also update validator_test.js as well.

Otherwise, lgtm

@dreamofabear
Copy link
Author

Thanks for the quick review.

We're mostly following those guidelines (filed I2D, announced on mailing list and Slack) though the policy itself can be tailored to fit email better. Will merge once we're in a good state.

@honeybadgerdontcare
Copy link
Contributor

We used to check to make sure that there were at least 2 versions of every extension. It makes sense to remove this check and not just for Email and amp-carousel. There should be at least one version, not greater than one.

@dreamofabear dreamofabear merged commit 69efec0 into ampproject:master Oct 7, 2019
@dreamofabear dreamofabear deleted the no-latest-scripts-email branch October 7, 2019 21:02
honeybadgerdontcare added a commit that referenced this pull request Oct 16, 2019
honeybadgerdontcare added a commit that referenced this pull request Oct 16, 2019
* cl/274603953 Revision bump for #24854

* cl/274639638 Revision bump for #24909
joshuarrrr pushed a commit to Parsely/amphtml that referenced this pull request Oct 22, 2019
* cl/274603953 Revision bump for ampproject#24854

* cl/274639638 Revision bump for ampproject#24909
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* cl/274603953 Revision bump for ampproject#24854

* cl/274639638 Revision bump for ampproject#24909
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.

Intent-to-Remove: Invalidate "amp-foo-latest.js" alias in AMP4EMAIL
3 participants