Permalink
Browse files

licensing: correct license comments (#1447)

* many files had no license comments at all
* some files had license comments suggesting that they weren't open source
  (like a terse "all rights reserved") when they actually are open source.
* all our files are licensed under apache and should be marked as such
  • Loading branch information...
1 parent f5922ee commit d55c2d7a2c64fab183f77571a18dad80ffe3cb1b @jeffkaufman jeffkaufman committed on GitHub Dec 12, 2016
Showing with 3,689 additions and 41 deletions.
  1. +14 −0 devel/apache_cleanup.sh
  2. +14 −0 devel/apache_configure_https_port.sh
  3. +14 −0 devel/apache_configure_php5_from_etc_php5.sh
  4. +14 −0 devel/apache_create_server_certificate.sh
  5. +14 −0 devel/apache_install.sh
  6. +15 −0 devel/apache_rotate_logs.sh
  7. +14 −0 devel/check_tests_are_run.sh
  8. +14 −1 devel/checkin_test_helpers.sh
  9. +14 −0 devel/doxify.sh
  10. +14 −0 devel/doxify_tree.sh
  11. +13 −2 devel/fetch_all.py
  12. +14 −0 devel/gcov-all.sh
  13. +14 −0 devel/mps_generate_load.sh
  14. +14 −0 devel/mps_load_test.sh
  15. +14 −0 devel/scrape_error_log_for_crashes.sh
  16. +14 −0 devel/slurp_test.sh
  17. +14 −0 devel/trace_stress_test.sh
  18. +14 −0 devel/trace_stress_test_percentiles.sh
  19. +14 −0 devel/turn_on_timewait_recyling.sh
  20. +14 −1 install/apache_experiment_ga_test.sh
  21. +14 −1 install/apache_experiment_no_ga_test.sh
  22. +14 −1 install/apache_experiment_test.sh
  23. +14 −0 install/apache_https_fetch_test.sh
  24. +14 −0 install/build_development_apache.sh
  25. +15 −1 install/build_mps.sh
  26. +15 −1 install/build_on_vm.sh
  27. +15 −1 install/build_psol.sh
  28. +14 −0 install/build_release.sh
  29. +15 −1 install/centos/build_env.sh
  30. +15 −1 install/centos/install_mps_package.sh
  31. +15 −1 install/centos/install_required_packages.sh
  32. +15 −1 install/centos/run_in_chroot.sh
  33. +15 −1 install/centos/setup_chroot.sh
  34. +14 −0 install/clean_slate_for_tests.sh
  35. +14 −0 install/find_redis_cluster.sh
  36. +14 −0 install/install_apxs.sh
  37. +15 −1 install/install_from_source.sh
  38. +15 −0 install/opensuse-initd-wrapper.sh
  39. +15 −0 install/opensuse.sh
  40. +15 −1 install/os_redirector.sh
  41. +14 −0 install/prepare_ngx_pagespeed_examples.sh
  42. +14 −0 install/run_program_with_ext_caches.sh
  43. +14 −0 install/run_program_with_memcached.sh
  44. +14 −0 install/run_program_with_redis.sh
  45. +14 −0 install/run_program_with_redis_cluster.sh
  46. +15 −1 install/run_with_log.sh
  47. +16 −1 install/shell_utils.sh
  48. +14 −0 install/start_background_server.sh
  49. +14 −0 install/start_php.sh
  50. +15 −0 install/stop_apache.sh
  51. +15 −1 install/stress_test.sh
  52. +15 −1 install/test_package.sh
  53. +15 −1 install/ubuntu/build_env.sh
  54. +15 −1 install/ubuntu/install_mps_package.sh
  55. +15 −1 install/ubuntu/install_required_packages.sh
  56. +15 −1 install/ubuntu/run_in_chroot.sh
  57. +15 −1 install/ubuntu/setup_chroot.sh
  58. +14 −0 install/verify_nginx_release.sh
  59. +14 −1 net/instaweb/http/http_response_parser_test.cc
  60. +14 −1 net/instaweb/rewriter/css_move_to_head_filter_test.cc
  61. +14 −1 net/instaweb/rewriter/css_url_counter.cc
  62. +14 −1 net/instaweb/rewriter/css_url_extractor.cc
  63. +14 −1 net/instaweb/rewriter/html_minifier_main.cc
  64. +14 −1 net/instaweb/rewriter/mock_resource_callback.cc
  65. +15 −1 pagespeed/apache/gzip_test.sh
  66. +15 −0 pagespeed/apache/mock_apache.cc
  67. +15 −1 pagespeed/apache/process_scope_test.sh
  68. +15 −1 pagespeed/apache/system_test.sh
  69. +15 −0 pagespeed/apache/system_tests/beacons_load.sh
  70. +15 −0 pagespeed/apache/system_tests/blocking_rewrite.sh
  71. +15 −0 pagespeed/apache/system_tests/cache_flushing.sh
  72. +15 −0 pagespeed/apache/system_tests/compressed_cache.sh
  73. +15 −0 pagespeed/apache/system_tests/connection_refused.sh
  74. +15 −0 pagespeed/apache/system_tests/content_encoding_leak.sh
  75. +15 −0 pagespeed/apache/system_tests/custom_fetch_headers.sh
  76. +15 −0 pagespeed/apache/system_tests/encoded_absolute_urls.sh
  77. +15 −0 pagespeed/apache/system_tests/fetch_gzipped.sh
  78. +15 −0 pagespeed/apache/system_tests/forbid_all_disabled.sh
  79. +15 −0 pagespeed/apache/system_tests/handler_quoting.sh
  80. +15 −0 pagespeed/apache/system_tests/htaccess_override.sh
  81. +15 −0 pagespeed/apache/system_tests/if_parsing.sh
  82. +15 −0 pagespeed/apache/system_tests/index_html_handling.sh
  83. +15 −0 pagespeed/apache/system_tests/inline_google_font_css.sh
  84. +15 −0 pagespeed/apache/system_tests/loopback.sh
  85. +15 −0 pagespeed/apache/system_tests/map_proxy_domain_for_cdn.sh
  86. +15 −0 pagespeed/apache/system_tests/max_html_parse_bytes.sh
  87. +15 −0 pagespeed/apache/system_tests/mod_pagespeed_message.sh
  88. +15 −0 pagespeed/apache/system_tests/mod_rewrite.sh
  89. +15 −0 pagespeed/apache/system_tests/pagespeed_admin.sh
  90. +15 −0 pagespeed/apache/system_tests/pass_through_headers.sh
  91. +15 −0 pagespeed/apache/system_tests/proxying.sh
  92. +15 −0 pagespeed/apache/system_tests/purging_disabled.sh
  93. +15 −0 pagespeed/apache/system_tests/response_headers.sh
  94. +15 −0 pagespeed/apache/system_tests/statistics.sh
  95. +15 −0 pagespeed/apache/system_tests/statistics_logging.sh
  96. +15 −0 pagespeed/apache/system_tests/unload_handler.sh
  97. +15 −0 pagespeed/apache/system_tests/unplugged.sh
  98. +15 −0 pagespeed/apache/system_tests/vhost_inheritance.sh
  99. +15 −0 pagespeed/apache/system_tests/x_forwarded_proto.sh
  100. +15 −1 pagespeed/automatic/system_test.sh
  101. +14 −1 pagespeed/automatic/system_test_helpers.sh
  102. +15 −0 pagespeed/automatic/system_tests/add_instrumentation.sh
  103. +15 −0 pagespeed/automatic/system_tests/broken_images.sh
  104. +15 −0 pagespeed/automatic/system_tests/canonicalize_javascript_libraries.sh
  105. +15 −0 pagespeed/automatic/system_tests/char_tweaks.sh
  106. +15 −0 pagespeed/automatic/system_tests/combiners.sh
  107. +15 −0 pagespeed/automatic/system_tests/content_length.sh
  108. +15 −0 pagespeed/automatic/system_tests/convert_meta_tags.sh
  109. +15 −0 pagespeed/automatic/system_tests/cookie_options.sh
  110. +15 −0 pagespeed/automatic/system_tests/css_images.sh
  111. +15 −0 pagespeed/automatic/system_tests/css_sprite_images.sh
  112. +15 −0 pagespeed/automatic/system_tests/dedup_inlined_images.sh
  113. +15 −0 pagespeed/automatic/system_tests/defer_javascript.sh
  114. +15 −0 pagespeed/automatic/system_tests/elide_attributes.sh
  115. +15 −0 pagespeed/automatic/system_tests/extend_cache.sh
  116. +15 −0 pagespeed/automatic/system_tests/fallback_rewrite_css_urls.sh
  117. +15 −0 pagespeed/automatic/system_tests/flatten_css_imports.sh
  118. +15 −0 pagespeed/automatic/system_tests/follow_flushes.sh
  119. +15 −0 pagespeed/automatic/system_tests/gce_public_cache.sh
  120. +15 −0 pagespeed/automatic/system_tests/hint_preload_subresources.sh
  121. +15 −0 pagespeed/automatic/system_tests/https.sh
  122. +15 −0 pagespeed/automatic/system_tests/image_quality_and_response.sh
  123. +15 −0 pagespeed/automatic/system_tests/image_quality_generic.sh
  124. +15 −0 pagespeed/automatic/system_tests/image_quality_jpeg.sh
  125. +15 −0 pagespeed/automatic/system_tests/image_quality_webp.sh
  126. +15 −0 pagespeed/automatic/system_tests/image_resize.sh
  127. +15 −0 pagespeed/automatic/system_tests/images_in_styles.sh
  128. +15 −0 pagespeed/automatic/system_tests/initial_header_check.sh
  129. +15 −0 pagespeed/automatic/system_tests/initial_sanity_checks.sh
  130. +15 −0 pagespeed/automatic/system_tests/inline_preview_images.sh
  131. +15 −0 pagespeed/automatic/system_tests/inliners.sh
  132. +15 −0 pagespeed/automatic/system_tests/insert_dns_prefetch.sh
  133. +15 −0 pagespeed/automatic/system_tests/invalid_host_header.sh
  134. +15 −0 pagespeed/automatic/system_tests/ipro.sh
  135. +15 −0 pagespeed/automatic/system_tests/js_blacklist.sh
  136. +15 −0 pagespeed/automatic/system_tests/keep_data_urls.sh
  137. +15 −0 pagespeed/automatic/system_tests/lazyload_images.sh
  138. +15 −0 pagespeed/automatic/system_tests/local_storage_cache.sh
  139. +15 −0 pagespeed/automatic/system_tests/make_show_ads_async.sh
  140. +15 −0 pagespeed/automatic/system_tests/move_css.sh
  141. +15 −0 pagespeed/automatic/system_tests/no_cache.sh
  142. +15 −0 pagespeed/automatic/system_tests/optimize_to_webp.sh
  143. +15 −0 pagespeed/automatic/system_tests/outliners.sh
  144. +15 −0 pagespeed/automatic/system_tests/query_params_in_resource_flow.sh
  145. +15 −0 pagespeed/automatic/system_tests/redirect_with_ps_params.sh
  146. +15 −0 pagespeed/automatic/system_tests/rel_canonical.sh
  147. +15 −0 pagespeed/automatic/system_tests/resource_content_type_html.sh
  148. +15 −0 pagespeed/automatic/system_tests/responsive_images.sh
  149. +15 −0 pagespeed/automatic/system_tests/rewrite_compressed_js.sh
  150. +15 −0 pagespeed/automatic/system_tests/rewrite_css.sh
  151. +15 −0 pagespeed/automatic/system_tests/rewrite_css_images.sh
  152. +15 −0 pagespeed/automatic/system_tests/rewrite_images.sh
  153. +15 −0 pagespeed/automatic/system_tests/rewrite_javascript.sh
  154. +15 −0 pagespeed/automatic/system_tests/shortcut_icons.sh
  155. +15 −0 pagespeed/automatic/system_tests/signed_urls.sh
  156. +15 −0 pagespeed/automatic/system_tests/smaxage.sh
  157. +15 −0 pagespeed/automatic/system_tests/sticky_cookie_options.sh
  158. +15 −1 pagespeed/kernel/base/string.h
  159. +14 −1 pagespeed/kernel/base/string_multi_map_test.cc
  160. +14 −1 pagespeed/kernel/html/html_keywords_test.cc
  161. +15 −0 pagespeed/kernel/thread/blocking_callback.h
  162. +14 −1 pagespeed/kernel/util/simple_stats_test.cc
  163. +15 −0 pagespeed/system/external_server_spec.cc
  164. +16 −0 pagespeed/system/external_server_spec.h
  165. +15 −1 pagespeed/system/external_server_spec_test.cc
  166. +14 −0 pagespeed/system/pathological_server.py
  167. +14 −0 pagespeed/system/remote_config_test.sh
  168. +14 −0 pagespeed/system/system_test.sh
  169. +15 −0 pagespeed/system/system_tests/add_instrumentation.sh
  170. +15 −0 pagespeed/system/system_tests/add_resource_headers.sh
  171. +15 −0 pagespeed/system/system_tests/ajax_overrides_experiments.sh
  172. +15 −0 pagespeed/system/system_tests/aris.sh
  173. +15 −0 pagespeed/system/system_tests/authorization_basic.sh
  174. +15 −0 pagespeed/system/system_tests/bad_query_params_and_headers.sh
  175. +15 −0 pagespeed/system/system_tests/broken_fetch_ipro_record.sh
  176. +15 −0 pagespeed/system/system_tests/cache_compression_pre_gzipping.sh
  177. +15 −0 pagespeed/system/system_tests/cache_partial_html.sh
  178. +15 −0 pagespeed/system/system_tests/cache_purge.sh
  179. +15 −0 pagespeed/system/system_tests/check_headers.sh
  180. +15 −0 pagespeed/system/system_tests/client_domain_rewrite.sh
  181. +15 −0 pagespeed/system/system_tests/combine_javascript.sh
  182. +15 −0 pagespeed/system/system_tests/controller.sh
  183. +15 −0 pagespeed/system/system_tests/controller_process_handling.sh
  184. +15 −0 pagespeed/system/system_tests/critical_image_beaconing.sh
  185. +15 −0 pagespeed/system/system_tests/cross_site_fetch.sh
  186. +15 −0 pagespeed/system/system_tests/css_combining_authorization.sh
  187. +15 −0 pagespeed/system/system_tests/domain_rewrite_hyperlinks.sh
  188. +15 −0 pagespeed/system/system_tests/downstream_cache_integration_headers.sh
  189. +15 −0 pagespeed/system/system_tests/downstream_cache_rebeaconing.sh
  190. +15 −0 pagespeed/system/system_tests/embed_config.sh
  191. +15 −0 pagespeed/system/system_tests/experiment_device_types.sh
  192. +15 −0 pagespeed/system/system_tests/flush_handling.sh
  193. +15 −0 pagespeed/system/system_tests/flush_subresources.sh
  194. +15 −0 pagespeed/system/system_tests/forbid_filters.sh
  195. +15 −0 pagespeed/system/system_tests/handler_access_messages.sh
  196. +15 −0 pagespeed/system/system_tests/image_rewrite_locking.sh
  197. +15 −0 pagespeed/system/system_tests/inline_unauth.sh
  198. +15 −0 pagespeed/system/system_tests/instant_ipro.sh
  199. +15 −0 pagespeed/system/system_tests/ipro_caching.sh
  200. +15 −0 pagespeed/system/system_tests/ipro_fixed_size.sh
  201. +15 −0 pagespeed/system/system_tests/ipro_for_browser.sh
  202. +15 −0 pagespeed/system/system_tests/ipro_load_from_file.sh
  203. +15 −0 pagespeed/system/system_tests/ipro_max_cachable.sh
  204. +15 −0 pagespeed/system/system_tests/ipro_noop.sh
  205. +15 −0 pagespeed/system/system_tests/ipro_source_map.sh
  206. +15 −0 pagespeed/system/system_tests/ipro_vary_cookie.sh
  207. +15 −0 pagespeed/system/system_tests/json_content_type.sh
  208. +15 −0 pagespeed/system/system_tests/large_html_files.sh
  209. +15 −0 pagespeed/system/system_tests/load_from_file.sh
  210. +15 −0 pagespeed/system/system_tests/long_url_handling.sh
  211. +15 −0 pagespeed/system/system_tests/map_proxy_domain.sh
  212. +15 −0 pagespeed/system/system_tests/mapped_domain_relative_css.sh
  213. +15 −0 pagespeed/system/system_tests/max_cachable.sh
  214. +15 −0 pagespeed/system/system_tests/max_combined_css_bytes.sh
  215. +15 −0 pagespeed/system/system_tests/message_history_colors.sh
  216. +15 −0 pagespeed/system/system_tests/modify_caching_headers.sh
  217. +15 −0 pagespeed/system/system_tests/more_custom_headers.sh
  218. +15 −0 pagespeed/system/system_tests/no_critical_unauthorized_resources.sh
  219. +15 −0 pagespeed/system/system_tests/no_respect_vary.sh
  220. +15 −0 pagespeed/system/system_tests/no_transform.sh
  221. +15 −0 pagespeed/system/system_tests/optimize_for_bandwidth.sh
  222. +15 −0 pagespeed/system/system_tests/outline_javascript_limit.sh
  223. +15 −0 pagespeed/system/system_tests/preserve_urls.sh
  224. +15 −0 pagespeed/system/system_tests/prioritize_critical_css.sh
  225. +15 −0 pagespeed/system/system_tests/protocol_relative_urls.sh
  226. +15 −0 pagespeed/system/system_tests/query_params_dont_enable_core_filters.sh
  227. +15 −0 pagespeed/system/system_tests/request_option_override.sh
  228. +15 −0 pagespeed/system/system_tests/resize_rendered_dimensions.sh
  229. +15 −0 pagespeed/system/system_tests/resource_404_count.sh
  230. +15 −0 pagespeed/system/system_tests/resource_ext_corruption.sh
  231. +15 −0 pagespeed/system/system_tests/respect_custom_options.sh
  232. +15 −0 pagespeed/system/system_tests/respect_vary.sh
  233. +15 −0 pagespeed/system/system_tests/retain_comment.sh
  234. +15 −0 pagespeed/system/system_tests/rewrite_deadline_ipro.sh
  235. +15 −0 pagespeed/system/system_tests/sane_connection_header.sh
  236. +15 −0 pagespeed/system/system_tests/server_side_includes.sh
  237. +15 −0 pagespeed/system/system_tests/shard_domain.sh
  238. +15 −0 pagespeed/system/system_tests/shared_cdn_host_header.sh
  239. +15 −0 pagespeed/system/system_tests/shm_cache.sh
  240. +15 −0 pagespeed/system/system_tests/show_cache.sh
  241. +15 −0 pagespeed/system/system_tests/source_maps.sh
  242. +15 −0 pagespeed/system/system_tests/static_asset_domain_rewrite.sh
  243. +15 −0 pagespeed/system/system_tests/statistics_are_local_only.sh
  244. +15 −0 pagespeed/system/system_tests/strip_subresources.sh
  245. +15 −0 pagespeed/system/system_tests/url_valued_attributes.sh
  246. +15 −0 pagespeed/system/system_tests/x_header_value.sh
  247. +15 −0 pagespeed/system/system_tests/x_sendfile.sh
  248. +15 −0 pagespeed/system/tcp_connection_for_testing.cc
  249. +16 −0 url/base/string16.h
@@ -1,4 +1,18 @@
#!/bin/bash
+#
+# Copyright 2010 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# See bug 3103898 and
# http://carlosrivero.com/fix-apache
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2011 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Script to enable SSL on the given port for Apache, usually in ~/apache2.
#
# usage: apache_configure_https_port.sh apache-root-directory https-port
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Script to enable PHP5 in Apache assuming it has already been installed into
# the standard Ubuntu directory (/etc/apache, /usr/apache) rather than the
# ~/apache2 directory we use [in other words, modules have been apt install'd
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Script to create a server certificate (and key) file for Apache,
# usually in ~/apache2.
#
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2010 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Script to install a debuggable mod_pagespeed.so into the Apache
# distribution, usually in ~/apache2.
@@ -1,4 +1,19 @@
#!/bin/bash
+#
+# Copyright 2011 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Rotate the logs in the apache logs directory specified on the command line,
# and gzip them, then erase old logs if disk usage is over 85%. Note that
# apache must be stopped when we do this. Note also that we take pains not to
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2011 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Scans source directories for _test.cc files and makes sure they are mentioned
# in the appropriate gyp files.
#
@@ -1,6 +1,19 @@
#!/bin/bash
#
-# Copyright 2011 Google Inc. All Rights Reserved.
+# Copyright 2011 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Author: sligocki@google.com (Shawn Ligocki)
#
# Helper functions for holding locks so that checkin tests from two clients
View
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2003 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Runs a file in $1 through a giant sed script, transforming normal
# C++ comments to Doxygen comments. The resultant file is placed in
# $2/$1, so $2 must be a subdirectory.
View
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2010 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Processes the open-source header files using Doxygen. Each header
# must be preprocessed using doxify.sh to convert normal C++ comments
# into Doxygen Usage.
View
@@ -1,7 +1,18 @@
#!/usr/bin/python
#
-# Copyright 2010 Google Inc. All Rights Reserved.
-
+# Copyright 2010 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
"""Fetches a set of URLs via a proxy, keeping statistics.
This script attempts to fetch all URLs in the list given on
View
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2011 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# A helper for running gcov on all of the project sources.
# Usage:
# gcov-all.sh (--prepare | --summarize) path
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# This script is intended to be run from devel/mps_load_test.sh, although it can
# be run directly as well.
#
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Note: this script is not yet usable outside Google, because it depends on a
# corpus database that we can't open source. It should be possible to create a
# db with a combination of mod_pagespeed's slurping and a headless browser, but
@@ -1,4 +1,18 @@
#!/bin/bash
+#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
if [ $# -lt 2 ]; then
echo Usage: $0 error_log_filename stop_filename
View
@@ -1,4 +1,18 @@
#!/bin/bash
+#
+# Copyright 2016 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
set -e
set -u
@@ -1,4 +1,18 @@
#!/bin/bash
+#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# This scripts reads a list of URLs from the provided file, and
# fetches them in parallel from a local slurping proxy in a randomized
# order. Loading times and statuses for them are then output to
@@ -1,4 +1,18 @@
#!/bin/bash
+#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# This script takes the output of trace_stress_test.sh and reports cheap and
# cheerful median, 75th, 90th, 95th, 99th, and worst latencies.
if [ "X$1" == "X" ]; then
@@ -1,5 +1,19 @@
#!/bin/bash
#
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Makes linux enable fast reuse of sockets in TIME-WAIT state. We need this for
# load testing so that we don't run out of connection table slots and fail to
# get a socket. This isn't generally a good idea to set on public-facing
@@ -1,6 +1,19 @@
#!/bin/bash
#
-# Copyright 2012 Google Inc. All Rights Reserved.
+# Copyright 2012 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Author: jefftk@google.com (Jeff Kaufman)
#
# Runs all Apache-specific experiment framework tests that depend on AnalyticsID
Oops, something went wrong.

0 comments on commit d55c2d7

Please sign in to comment.