From 80acdaf4975b6572aa8dacd0e10997e17d370f69 Mon Sep 17 00:00:00 2001 From: Dan Smilkov Date: Wed, 31 Aug 2016 09:24:10 -0800 Subject: Replace new_git_repository with new_http_archive in Bazel rules. new_git_repository is flaky when cloning big repos (e.g. threejs which will be added soon). Also downloading a compressed archive is faster than git clone and uses less disk space since http_archive doesn't download the whole history of the repo. Change: 131844039 --- WORKSPACE | 348 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 174 insertions(+), 174 deletions(-) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index 9ff57bf9eb..dcfb154595 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -24,408 +24,408 @@ check_version("0.3.0") # TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT -new_git_repository( +new_http_archive( name = "d3", build_file = "bower.BUILD", - remote = "https://github.com/mbostock-bower/d3-bower.git", - tag = "v3.5.15", + url = "https://github.com/mbostock-bower/d3-bower/archive/v3.5.15.tar.gz", + strip_prefix = "d3-bower-3.5.15", ) -new_git_repository( +new_http_archive( name = "dagre", build_file = "bower.BUILD", - remote = "https://github.com/cpettitt/dagre.git", - tag = "v0.7.4", + url = "https://github.com/cpettitt/dagre/archive/v0.7.4.tar.gz", + strip_prefix = "dagre-0.7.4", ) -new_git_repository( +new_http_archive( name = "es6_promise", build_file = "bower.BUILD", - remote = "https://github.com/components/es6-promise.git", - tag = "v2.1.0", + url = "https://github.com/components/es6-promise/archive/v2.1.0.tar.gz", + strip_prefix = "es6-promise-2.1.0", ) -new_git_repository( +new_http_archive( name = "font_roboto", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/font-roboto.git", - tag = "v1.0.1", + url = "https://github.com/polymerelements/font-roboto/archive/v1.0.1.tar.gz", + strip_prefix = "font-roboto-1.0.1", ) -new_git_repository( +new_http_archive( name = "graphlib", build_file = "bower.BUILD", - remote = "https://github.com/cpettitt/graphlib.git", - tag = "v1.0.7", + url = "https://github.com/cpettitt/graphlib/archive/v1.0.7.tar.gz", + strip_prefix = "graphlib-1.0.7", ) -new_git_repository( +new_http_archive( name = "iron_a11y_announcer", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-a11y-announcer.git", - tag = "v1.0.4", + url = "https://github.com/polymerelements/iron-a11y-announcer/archive/v1.0.4.tar.gz", + strip_prefix = "iron-a11y-announcer-1.0.4", ) -new_git_repository( +new_http_archive( name = "iron_a11y_keys_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-a11y-keys-behavior.git", - tag = "v1.1.2", + url = "https://github.com/polymerelements/iron-a11y-keys-behavior/archive/v1.1.2.tar.gz", + strip_prefix = "iron-a11y-keys-behavior-1.1.2", ) -new_git_repository( +new_http_archive( name = "iron_ajax", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-ajax.git", - tag = "v1.2.0", + url = "https://github.com/polymerelements/iron-ajax/archive/v1.2.0.tar.gz", + strip_prefix = "iron-ajax-1.2.0", ) -new_git_repository( +new_http_archive( name = "iron_autogrow_textarea", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-autogrow-textarea.git", - tag = "v1.0.12", + url = "https://github.com/polymerelements/iron-autogrow-textarea/archive/v1.0.12.tar.gz", + strip_prefix = "iron-autogrow-textarea-1.0.12", ) -new_git_repository( +new_http_archive( name = "iron_behaviors", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-behaviors.git", - tag = "v1.0.17", + url = "https://github.com/polymerelements/iron-behaviors/archive/v1.0.17.tar.gz", + strip_prefix = "iron-behaviors-1.0.17", ) -new_git_repository( +new_http_archive( name = "iron_checked_element_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-checked-element-behavior.git", - tag = "v1.0.4", + url = "https://github.com/polymerelements/iron-checked-element-behavior/archive/v1.0.4.tar.gz", + strip_prefix = "iron-checked-element-behavior-1.0.4", ) -new_git_repository( +new_http_archive( name = "iron_collapse", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-collapse.git", - tag = "v1.0.8", + url = "https://github.com/polymerelements/iron-collapse/archive/v1.0.8.tar.gz", + strip_prefix = "iron-collapse-1.0.8", ) -new_git_repository( +new_http_archive( name = "iron_dropdown", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-dropdown.git", - tag = "v1.4.0", + url = "https://github.com/polymerelements/iron-dropdown/archive/v1.4.0.tar.gz", + strip_prefix = "iron-dropdown-1.4.0", ) -new_git_repository( +new_http_archive( name = "iron_fit_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-fit-behavior.git", - tag = "v1.2.1", + url = "https://github.com/polymerelements/iron-fit-behavior/archive/v1.2.1.tar.gz", + strip_prefix = "iron-fit-behavior-1.2.1", ) -new_git_repository( +new_http_archive( name = "iron_flex_layout", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-flex-layout.git", - tag = "v1.3.0", + url = "https://github.com/polymerelements/iron-flex-layout/archive/v1.3.0.tar.gz", + strip_prefix = "iron-flex-layout-1.3.0", ) -new_git_repository( +new_http_archive( name = "iron_form_element_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-form-element-behavior.git", - tag = "v1.0.6", + url = "https://github.com/polymerelements/iron-form-element-behavior/archive/v1.0.6.tar.gz", + strip_prefix = "iron-form-element-behavior-1.0.6", ) -new_git_repository( +new_http_archive( name = "iron_icon", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-icon.git", - tag = "v1.0.8", + url = "https://github.com/polymerelements/iron-icon/archive/v1.0.8.tar.gz", + strip_prefix = "iron-icon-1.0.8", ) -new_git_repository( +new_http_archive( name = "iron_icons", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-icons.git", - tag = "v1.1.3", + url = "https://github.com/polymerelements/iron-icons/archive/v1.1.3.tar.gz", + strip_prefix = "iron-icons-1.1.3", ) -new_git_repository( +new_http_archive( name = "iron_iconset_svg", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-iconset-svg.git", - tag = "v1.0.9", + url = "https://github.com/polymerelements/iron-iconset-svg/archive/v1.0.9.tar.gz", + strip_prefix = "iron-iconset-svg-1.0.9", ) -new_git_repository( +new_http_archive( name = "iron_input", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-input.git", - tag = "1.0.10", + url = "https://github.com/polymerelements/iron-input/archive/1.0.10.tar.gz", + strip_prefix = "iron-input-1.0.10", ) -new_git_repository( +new_http_archive( name = "iron_list", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-list.git", - tag = "v1.1.7", + url = "https://github.com/polymerelements/iron-list/archive/v1.1.7.tar.gz", + strip_prefix = "iron-list-1.1.7", ) -new_git_repository( +new_http_archive( name = "iron_menu_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-menu-behavior.git", - tag = "v1.1.8", + url = "https://github.com/polymerelements/iron-menu-behavior/archive/v1.1.8.tar.gz", + strip_prefix = "iron-menu-behavior-1.1.8", ) -new_git_repository( +new_http_archive( name = "iron_meta", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-meta.git", - tag = "v1.1.1", + url = "https://github.com/polymerelements/iron-meta/archive/v1.1.1.tar.gz", + strip_prefix = "iron-meta-1.1.1", ) -new_git_repository( +new_http_archive( name = "iron_overlay_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-overlay-behavior.git", - tag = "v1.7.6", + url = "https://github.com/polymerelements/iron-overlay-behavior/archive/v1.7.6.tar.gz", + strip_prefix = "iron-overlay-behavior-1.7.6", ) -new_git_repository( +new_http_archive( name = "iron_range_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-range-behavior.git", - tag = "v1.0.4", + url = "https://github.com/polymerelements/iron-range-behavior/archive/v1.0.4.tar.gz", + strip_prefix = "iron-range-behavior-1.0.4", ) -new_git_repository( +new_http_archive( name = "iron_resizable_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-resizable-behavior.git", - tag = "v1.0.3", + url = "https://github.com/polymerelements/iron-resizable-behavior/archive/v1.0.3.tar.gz", + strip_prefix = "iron-resizable-behavior-1.0.3", ) -new_git_repository( +new_http_archive( name = "iron_selector", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-selector.git", - tag = "v1.5.2", + url = "https://github.com/polymerelements/iron-selector/archive/v1.5.2.tar.gz", + strip_prefix = "iron-selector-1.5.2", ) -new_git_repository( +new_http_archive( name = "iron_validatable_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/iron-validatable-behavior.git", - tag = "v1.1.1", + url = "https://github.com/polymerelements/iron-validatable-behavior/archive/v1.1.1.tar.gz", + strip_prefix = "iron-validatable-behavior-1.1.1", ) -new_git_repository( +new_http_archive( name = "lodash", build_file = "bower.BUILD", - remote = "https://github.com/lodash/lodash.git", - tag = "3.8.0", + url = "https://github.com/lodash/lodash/archive/3.8.0.tar.gz", + strip_prefix = "lodash-3.8.0", ) -new_git_repository( +new_http_archive( name = "neon_animation", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/neon-animation.git", - tag = "v1.2.2", + url = "https://github.com/polymerelements/neon-animation/archive/v1.2.2.tar.gz", + strip_prefix = "neon-animation-1.2.2", ) -new_git_repository( +new_http_archive( name = "paper_behaviors", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-behaviors.git", - tag = "v1.0.11", + url = "https://github.com/polymerelements/paper-behaviors/archive/v1.0.11.tar.gz", + strip_prefix = "paper-behaviors-1.0.11", ) -new_git_repository( +new_http_archive( name = "paper_button", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-button.git", - tag = "v1.0.11", + url = "https://github.com/polymerelements/paper-button/archive/v1.0.11.tar.gz", + strip_prefix = "paper-button-1.0.11", ) -new_git_repository( +new_http_archive( name = "paper_checkbox", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-checkbox.git", - tag = "v1.1.3", + url = "https://github.com/polymerelements/paper-checkbox/archive/v1.1.3.tar.gz", + strip_prefix = "paper-checkbox-1.1.3", ) -new_git_repository( +new_http_archive( name = "paper_dialog", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-dialog.git", - tag = "v1.0.4", + url = "https://github.com/polymerelements/paper-dialog/archive/v1.0.4.tar.gz", + strip_prefix = "paper-dialog-1.0.4", ) -new_git_repository( +new_http_archive( name = "paper_dialog_behavior", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-dialog-behavior.git", - tag = "v1.2.5", + url = "https://github.com/polymerelements/paper-dialog-behavior/archive/v1.2.5.tar.gz", + strip_prefix = "paper-dialog-behavior-1.2.5", ) -new_git_repository( +new_http_archive( name = "paper_dropdown_menu", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-dropdown-menu.git", - tag = "v1.3.2", + url = "https://github.com/polymerelements/paper-dropdown-menu/archive/v1.3.2.tar.gz", + strip_prefix = "paper-dropdown-menu-1.3.2", ) -new_git_repository( +new_http_archive( name = "paper_header_panel", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-header-panel.git", - tag = "v1.1.4", + url = "https://github.com/polymerelements/paper-header-panel/archive/v1.1.4.tar.gz", + strip_prefix = "paper-header-panel-1.1.4", ) -new_git_repository( +new_http_archive( name = "paper_icon_button", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-icon-button.git", - tag = "v1.1.1", + url = "https://github.com/polymerelements/paper-icon-button/archive/v1.1.1.tar.gz", + strip_prefix = "paper-icon-button-1.1.1", ) -new_git_repository( +new_http_archive( name = "paper_input", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-input.git", - tag = "v1.1.14", + url = "https://github.com/polymerelements/paper-input/archive/v1.1.14.tar.gz", + strip_prefix = "paper-input-1.1.14", ) -new_git_repository( +new_http_archive( name = "paper_item", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-item.git", - tag = "v1.1.4", + url = "https://github.com/polymerelements/paper-item/archive/v1.1.4.tar.gz", + strip_prefix = "paper-item-1.1.4", ) -new_git_repository( +new_http_archive( name = "paper_material", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-material.git", - tag = "v1.0.6", + url = "https://github.com/polymerelements/paper-material/archive/v1.0.6.tar.gz", + strip_prefix = "paper-material-1.0.6", ) -new_git_repository( +new_http_archive( name = "paper_menu", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-menu.git", - tag = "v1.2.2", + url = "https://github.com/polymerelements/paper-menu/archive/v1.2.2.tar.gz", + strip_prefix = "paper-menu-1.2.2", ) -new_git_repository( +new_http_archive( name = "paper_menu_button", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-menu-button.git", - tag = "v1.5.0", + url = "https://github.com/polymerelements/paper-menu-button/archive/v1.5.0.tar.gz", + strip_prefix = "paper-menu-button-1.5.0", ) -new_git_repository( +new_http_archive( name = "paper_progress", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-progress.git", - tag = "v1.0.9", + url = "https://github.com/polymerelements/paper-progress/archive/v1.0.9.tar.gz", + strip_prefix = "paper-progress-1.0.9", ) -new_git_repository( +new_http_archive( name = "paper_radio_button", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-radio-button.git", - tag = "v1.1.2", + url = "https://github.com/polymerelements/paper-radio-button/archive/v1.1.2.tar.gz", + strip_prefix = "paper-radio-button-1.1.2", ) -new_git_repository( +new_http_archive( name = "paper_radio_group", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-radio-group.git", - tag = "v1.0.9", + url = "https://github.com/polymerelements/paper-radio-group/archive/v1.0.9.tar.gz", + strip_prefix = "paper-radio-group-1.0.9", ) -new_git_repository( +new_http_archive( name = "paper_ripple", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-ripple.git", - tag = "v1.0.5", + url = "https://github.com/polymerelements/paper-ripple/archive/v1.0.5.tar.gz", + strip_prefix = "paper-ripple-1.0.5", ) -new_git_repository( +new_http_archive( name = "paper_slider", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-slider.git", - tag = "v1.0.10", + url = "https://github.com/polymerelements/paper-slider/archive/v1.0.10.tar.gz", + strip_prefix = "paper-slider-1.0.10", ) -new_git_repository( +new_http_archive( name = "paper_styles", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-styles.git", - tag = "v1.1.4", + url = "https://github.com/polymerelements/paper-styles/archive/v1.1.4.tar.gz", + strip_prefix = "paper-styles-1.1.4", ) -new_git_repository( +new_http_archive( name = "paper_tabs", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-tabs.git", - tag = "v1.6.2", + url = "https://github.com/polymerelements/paper-tabs/archive/v1.6.2.tar.gz", + strip_prefix = "paper-tabs-1.6.2", ) -new_git_repository( +new_http_archive( name = "paper_toggle_button", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-toggle-button.git", - tag = "v1.1.2", + url = "https://github.com/polymerelements/paper-toggle-button/archive/v1.1.2.tar.gz", + strip_prefix = "paper-toggle-button-1.1.2", ) -new_git_repository( +new_http_archive( name = "paper_toolbar", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-toolbar.git", - tag = "v1.1.4", + url = "https://github.com/polymerelements/paper-toolbar/archive/v1.1.4.tar.gz", + strip_prefix = "paper-toolbar-1.1.4", ) -new_git_repository( +new_http_archive( name = "paper_tooltip", build_file = "bower.BUILD", - remote = "https://github.com/polymerelements/paper-tooltip.git", - tag = "v1.1.2", + url = "https://github.com/polymerelements/paper-tooltip/archive/v1.1.2.tar.gz", + strip_prefix = "paper-tooltip-1.1.2", ) -new_git_repository( +new_http_archive( name = "plottable", build_file = "bower.BUILD", - remote = "https://github.com/palantir/plottable.git", - tag = "v1.16.1", + url = "https://github.com/palantir/plottable/archive/v1.16.1.tar.gz", + strip_prefix = "plottable-1.16.1", ) -new_git_repository( +new_http_archive( name = "polymer", build_file = "bower.BUILD", - remote = "https://github.com/polymer/polymer.git", - tag = "v1.6.0", + url = "https://github.com/polymer/polymer/archive/v1.6.1.tar.gz", + strip_prefix = "polymer-1.6.1", ) -new_git_repository( +new_http_archive( name = "promise_polyfill", build_file = "bower.BUILD", - remote = "https://github.com/polymerlabs/promise-polyfill.git", - tag = "v1.0.0", + url = "https://github.com/polymerlabs/promise-polyfill/archive/v1.0.0.tar.gz", + strip_prefix = "promise-polyfill-1.0.0", ) -new_git_repository( +new_http_archive( name = "web_animations_js", build_file = "bower.BUILD", - remote = "https://github.com/web-animations/web-animations-js.git", - tag = "2.2.1", + url = "https://github.com/web-animations/web-animations-js/archive/2.2.1.tar.gz", + strip_prefix = "web-animations-js-2.2.1", ) -new_git_repository( +new_http_archive( name = "webcomponentsjs", build_file = "bower.BUILD", - remote = "https://github.com/webcomponents/webcomponentsjs.git", - tag = "v0.7.22", + url = "https://github.com/webcomponents/webcomponentsjs/archive/v0.7.22.tar.gz", + strip_prefix = "webcomponentsjs-0.7.22", ) -- cgit v1.2.3