Skip to content

Commit

Permalink
Validator Rollup (ampproject#12055)
Browse files Browse the repository at this point in the history
* Remove warnings for non-usage of grandfathered extensions. Retain errors
for new extensions.

* Revision bump for ampproject#12015
  • Loading branch information
Gregable authored Nov 14, 2017
1 parent e6446d6 commit ef0b86e
Show file tree
Hide file tree
Showing 55 changed files with 58 additions and 133 deletions.
2 changes: 1 addition & 1 deletion extensions/amp-access/validator-amp-access.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-access
name: "amp-access"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags: { # amp-accordion
name: "amp-accordion"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-ad/validator-amp-ad.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tags: { # amp-ad
name: "amp-ad"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tags: { # amp-analytics
name: "amp-analytics"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-anim/validator-amp-anim.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-anim
name: "amp-anim"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-apester-media
name: "amp-apester-media"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-audio/validator-amp-audio.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-audio
allowed_versions: "0.1"
allowed_versions: "latest"
deprecated_allow_duplicates: true
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-bind/validator-amp-bind.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-bind
allowed_versions: "latest"
# amp-bind has no associated tag which indicates usage of the extension.
# TODO(gregable): Implement a mechanism to associate attributes with
# extension usage and then set this to DEPRECATED_WARNING or ERROR.
# extension usage and then set this to GRANDFATHERED or ERROR.
requires_usage: NONE
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-brid-player
name: "amp-brid-player"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-brightcove
name: "amp-brightcove"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-call-tracking
name: "amp-call-tracking"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-carousel/validator-amp-carousel.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-carousel
name: "amp-carousel"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-dailymotion
name: "amp-dailymotion"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-experiment
name: "amp-experiment"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-facebook/validator-amp-facebook.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-facebook
name: "amp-facebook"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-fit-text/validator-amp-fit-text.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-fit-text
name: "amp-fit-text"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-font/validator-amp-font.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-font
name: "amp-font"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-form/validator-amp-form.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-form
allowed_versions: "0.1"
allowed_versions: "latest"
deprecated_allow_duplicates: true
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # <script custom-element="amp-fx-flying-carpet">
name: "amp-fx-flying-carpet"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-gfycat/validator-amp-gfycat.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-gfycat
name: "amp-gfycat"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-iframe/validator-amp-iframe.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-iframe
name: "amp-iframe"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: { # amp-image-lightbox
name: "amp-image-lightbox"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-instagram
name: "amp-instagram"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-install-serviceworker
name: "amp-install-serviceworker"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-izlesene/validator-amp-izlesene.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-izlesene
name: "amp-izlesene"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-jwplayer/validator-amp-jwplayer.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-jwplayer
name: "amp-jwplayer"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-kaltura-player
name: "amp-kaltura-player"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-lightbox/validator-amp-lightbox.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-lightbox
name: "amp-lightbox"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-list/validator-amp-list.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-list
name: "amp-list"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-live-list
name: "amp-live-list"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-mustache/validator-amp-mustache.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tags: { # amp-mustache
is_custom_template: true
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-o2-player
name: "amp-o2-player"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-pinterest
name: "amp-pinterest"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-reach-player
name: "amp-reach-player"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-selector/validator-amp-selector.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags: {
name: "amp-selector"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-sidebar/validator-amp-sidebar.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-sidebar
name: "amp-sidebar"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # amp-social-share
name: "amp-social-share"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-soundcloud
name: "amp-soundcloud"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-springboard-player
name: "amp-springboard-player"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tags: { # <script custom-element="amp-sticky-ad">
allowed_versions: "1.0"
allowed_versions: "latest"
deprecated_versions: "0.1"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-twitter/validator-amp-twitter.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-twitter
name: "amp-twitter"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-user-notification
name: "amp-user-notification"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-vimeo/validator-amp-vimeo.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-vimeo
name: "amp-vimeo"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-vine/validator-amp-vine.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags: { # amp-vine
name: "amp-vine"
allowed_versions: "0.1"
allowed_versions: "latest"
requires_usage: DEPRECATED_WARNING
requires_usage: GRANDFATHERED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
Expand Down
Loading

0 comments on commit ef0b86e

Please sign in to comment.