googlecloud 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +4 -0
- data/LICENSE +674 -0
- data/Manifest +111 -0
- data/README.md +4 -3
- data/bin/gcutil +53 -0
- data/googlecloud.gemspec +4 -3
- data/packages/gcutil-1.7.1/CHANGELOG +197 -0
- data/packages/gcutil-1.7.1/LICENSE +202 -0
- data/packages/gcutil-1.7.1/VERSION +1 -0
- data/packages/gcutil-1.7.1/gcutil +53 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/LICENSE +23 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.py +743 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.py +123 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/ext/__init__.py +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.py +1443 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.py +172 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.py +385 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.py +303 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.py +32 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/appengine.py +528 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.py +1139 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.py +105 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.py +244 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/django_orm.py +124 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/file.py +107 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.py +343 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.py +379 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.py +174 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.py +147 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/LICENSE +202 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/__init__.py +3 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.py +3 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.py +356 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.py +783 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/basetest.py +1260 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/datelib.py +421 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/debug.py +60 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/file_util.py +181 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/resources.py +67 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/run_script_module.py +217 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/setup_command.py +159 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/shellutil.py +49 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/stopwatch.py +204 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.py +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.py +140 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper_test.py +149 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.py +130 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth_test.py +75 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.py +128 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds_test.py +111 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.py +1808 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base_test.py +1651 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta13.json +2851 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta14.json +3361 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.py +342 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds_test.py +474 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.py +344 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds_test.py +231 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.py +274 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil +89 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.py +69 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.py +262 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds_test.py +172 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.py +1506 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds_test.py +1904 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.py +91 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds_test.py +56 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.py +106 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds_test.py +59 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.py +96 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.py +357 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_test.py +84 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_api.py +420 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_metadata.py +58 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.py +824 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds_test.py +307 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.py +178 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds_test.py +133 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.py +181 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds_test.py +196 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.py +38 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.py +173 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds_test.py +111 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.py +61 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes_test.py +50 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.py +276 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds_test.py +260 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.py +266 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys_test.py +128 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.py +563 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.py +188 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool_test.py +88 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.py +208 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils_test.py +193 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.py +17 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.py +246 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker_test.py +271 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.py +151 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds_test.py +60 -0
- data/packages/gcutil-1.7.1/lib/httplib2/LICENSE +21 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.py +1630 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/cacerts.txt +714 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.py +110 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.py +438 -0
- data/packages/gcutil-1.7.1/lib/iso8601/LICENSE +20 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.py +102 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/test_iso8601.py +111 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/AUTHORS +2 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/LICENSE +28 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags.py +2862 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags2man.py +544 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.py +187 -0
- metadata +118 -5
- metadata.gz.sig +0 -0
data/Manifest
CHANGED
@@ -1,10 +1,121 @@
|
|
1
1
|
CHANGELOG
|
2
|
+
LICENSE
|
2
3
|
Makefile
|
3
4
|
Manifest
|
4
5
|
README.md
|
5
6
|
Rakefile
|
7
|
+
bin/gcutil
|
6
8
|
init.rb
|
7
9
|
packages/README
|
8
10
|
packages/gcutil-1.7.1.tar.gz
|
11
|
+
packages/gcutil-1.7.1/CHANGELOG
|
12
|
+
packages/gcutil-1.7.1/LICENSE
|
13
|
+
packages/gcutil-1.7.1/VERSION
|
14
|
+
packages/gcutil-1.7.1/gcutil
|
15
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/LICENSE
|
16
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.py
|
17
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.py
|
18
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.py
|
19
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/ext/__init__.py
|
20
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.py
|
21
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.py
|
22
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.py
|
23
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.py
|
24
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.py
|
25
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.py
|
26
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/appengine.py
|
27
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.py
|
28
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.py
|
29
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.py
|
30
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/django_orm.py
|
31
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/file.py
|
32
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.py
|
33
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.py
|
34
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.py
|
35
|
+
packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.py
|
36
|
+
packages/gcutil-1.7.1/lib/google_apputils/LICENSE
|
37
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/__init__.py
|
38
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.py
|
39
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.py
|
40
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.py
|
41
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/basetest.py
|
42
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/datelib.py
|
43
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/debug.py
|
44
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/file_util.py
|
45
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/resources.py
|
46
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/run_script_module.py
|
47
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/setup_command.py
|
48
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/shellutil.py
|
49
|
+
packages/gcutil-1.7.1/lib/google_apputils/google/apputils/stopwatch.py
|
50
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.py
|
51
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.py
|
52
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper_test.py
|
53
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.py
|
54
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth_test.py
|
55
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.py
|
56
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds_test.py
|
57
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.py
|
58
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base_test.py
|
59
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta13.json
|
60
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta14.json
|
61
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.py
|
62
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds_test.py
|
63
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.py
|
64
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds_test.py
|
65
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.py
|
66
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil
|
67
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.py
|
68
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.py
|
69
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds_test.py
|
70
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.py
|
71
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds_test.py
|
72
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.py
|
73
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds_test.py
|
74
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.py
|
75
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds_test.py
|
76
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.py
|
77
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.py
|
78
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_test.py
|
79
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_api.py
|
80
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_metadata.py
|
81
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.py
|
82
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds_test.py
|
83
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.py
|
84
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds_test.py
|
85
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.py
|
86
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds_test.py
|
87
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.py
|
88
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.py
|
89
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds_test.py
|
90
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.py
|
91
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes_test.py
|
92
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.py
|
93
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds_test.py
|
94
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.py
|
95
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys_test.py
|
96
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.py
|
97
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.py
|
98
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool_test.py
|
99
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.py
|
100
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils_test.py
|
101
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.py
|
102
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.py
|
103
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker_test.py
|
104
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.py
|
105
|
+
packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds_test.py
|
106
|
+
packages/gcutil-1.7.1/lib/httplib2/LICENSE
|
107
|
+
packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.py
|
108
|
+
packages/gcutil-1.7.1/lib/httplib2/httplib2/cacerts.txt
|
109
|
+
packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.py
|
110
|
+
packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.py
|
111
|
+
packages/gcutil-1.7.1/lib/iso8601/LICENSE
|
112
|
+
packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.py
|
113
|
+
packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.py
|
114
|
+
packages/gcutil-1.7.1/lib/iso8601/iso8601/test_iso8601.py
|
115
|
+
packages/gcutil-1.7.1/lib/python_gflags/AUTHORS
|
116
|
+
packages/gcutil-1.7.1/lib/python_gflags/LICENSE
|
117
|
+
packages/gcutil-1.7.1/lib/python_gflags/gflags.py
|
118
|
+
packages/gcutil-1.7.1/lib/python_gflags/gflags2man.py
|
119
|
+
packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.py
|
9
120
|
packages/gsutil.tar.gz
|
10
121
|
tasks/rubygem.rake
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
GCloud (Google Cloud)
|
2
|
+
=====================
|
3
3
|
|
4
|
-
|
4
|
+
This is a collection of scripts available from Google website to make
|
5
|
+
it easier for developers to keep all packages updated and easy to deploy.
|
5
6
|
|
6
7
|
Usage
|
7
8
|
=====
|
data/bin/gcutil
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
#
|
3
|
+
# Copyright 2012 Google Inc. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
|
18
|
+
"""A convenience wrapper for starting gcutil."""
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
import os
|
23
|
+
import sys
|
24
|
+
|
25
|
+
# Checks the Python version.
|
26
|
+
if not hasattr(sys, 'version_info'):
|
27
|
+
sys.stderr.write('Very old versions of Python are not supported. Please '
|
28
|
+
'use version 2.6 or greater.\n')
|
29
|
+
sys.exit(1)
|
30
|
+
if tuple(sys.version_info[:2]) < (2, 6):
|
31
|
+
sys.stderr.write('Python %d.%d is not supported. Please use version 2.6 '
|
32
|
+
'or greater.\n' % tuple(sys.version_info[:2]))
|
33
|
+
sys.exit(1)
|
34
|
+
|
35
|
+
|
36
|
+
def main():
|
37
|
+
"""Launches ./bin/gcutil."""
|
38
|
+
python_bin = sys.executable
|
39
|
+
if not python_bin:
|
40
|
+
sys.stderr.write('Could not find Python executable.')
|
41
|
+
sys.exit(1)
|
42
|
+
|
43
|
+
gcutil_main = os.path.join(
|
44
|
+
os.path.dirname(os.path.realpath(__file__)),
|
45
|
+
'lib',
|
46
|
+
'google_compute_engine',
|
47
|
+
'gcutil',
|
48
|
+
'gcutil')
|
49
|
+
os.execv(python_bin, [python_bin, '-S', gcutil_main] + sys.argv[1:])
|
50
|
+
|
51
|
+
|
52
|
+
if __name__ == '__main__':
|
53
|
+
main()
|
data/googlecloud.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "googlecloud"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Riccardo Carlesso"]
|
@@ -10,8 +10,9 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.date = "2013-02-17"
|
11
11
|
s.description = "My Google Cloud gem ('googlecloud') with various utilities. \n \n It deploys gcutil, gsutil, and more.\n "
|
12
12
|
s.email = "palladiusbonton AT gmail DOT com"
|
13
|
-
s.
|
14
|
-
s.
|
13
|
+
s.executables = ["gcutil"]
|
14
|
+
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "bin/gcutil", "tasks/rubygem.rake"]
|
15
|
+
s.files = ["CHANGELOG", "LICENSE", "Makefile", "Manifest", "README.md", "Rakefile", "bin/gcutil", "init.rb", "packages/README", "packages/gcutil-1.7.1.tar.gz", "packages/gcutil-1.7.1/CHANGELOG", "packages/gcutil-1.7.1/LICENSE", "packages/gcutil-1.7.1/VERSION", "packages/gcutil-1.7.1/gcutil", "packages/gcutil-1.7.1/lib/google_api_python_client/LICENSE", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/ext/__init__.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.py", "packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/appengine.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/django_orm.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/file.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.py", "packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.py", "packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.py", "packages/gcutil-1.7.1/lib/google_apputils/LICENSE", "packages/gcutil-1.7.1/lib/google_apputils/google/__init__.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/basetest.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/datelib.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/debug.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/file_util.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/resources.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/run_script_module.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/setup_command.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/shellutil.py", "packages/gcutil-1.7.1/lib/google_apputils/google/apputils/stopwatch.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta13.json", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta14.json", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_api.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_metadata.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker_test.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.py", "packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds_test.py", "packages/gcutil-1.7.1/lib/httplib2/LICENSE", "packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.py", "packages/gcutil-1.7.1/lib/httplib2/httplib2/cacerts.txt", "packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.py", "packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.py", "packages/gcutil-1.7.1/lib/iso8601/LICENSE", "packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.py", "packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.py", "packages/gcutil-1.7.1/lib/iso8601/iso8601/test_iso8601.py", "packages/gcutil-1.7.1/lib/python_gflags/AUTHORS", "packages/gcutil-1.7.1/lib/python_gflags/LICENSE", "packages/gcutil-1.7.1/lib/python_gflags/gflags.py", "packages/gcutil-1.7.1/lib/python_gflags/gflags2man.py", "packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.py", "packages/gsutil.tar.gz", "tasks/rubygem.rake", "googlecloud.gemspec"]
|
15
16
|
s.homepage = "http://github.com/palladius/palladius"
|
16
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Googlecloud", "--main", "README.md"]
|
17
18
|
s.require_paths = ["lib"]
|
@@ -0,0 +1,197 @@
|
|
1
|
+
Release 1.7.1 (release date: 2013-02-12):
|
2
|
+
=========================================
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
----------
|
6
|
+
|
7
|
+
- Fixed an issue where gcutil moveinstances did not handle instances without
|
8
|
+
external IP addresses properly.
|
9
|
+
|
10
|
+
- Fixed an issue where gcutil resumemove validated the log file incorrectly.
|
11
|
+
|
12
|
+
|
13
|
+
Release 1.7.0 (release date: 2013-02-07):
|
14
|
+
=========================================
|
15
|
+
|
16
|
+
New Features:
|
17
|
+
-------------
|
18
|
+
|
19
|
+
- Added a new subcommand, gcutil moveinstances, for moving instances (and
|
20
|
+
their persistent disks) from one zone to another.
|
21
|
+
|
22
|
+
Bug Fixes:
|
23
|
+
----------
|
24
|
+
|
25
|
+
- Added --zone flag to gcutil listdisks.
|
26
|
+
|
27
|
+
- Fixed a bug where gcutil addsnapshot would crash if the --zone flag was not
|
28
|
+
specified.
|
29
|
+
|
30
|
+
Other Changes:
|
31
|
+
--------------
|
32
|
+
|
33
|
+
- Added zone column to the table output of gcutil listoperations.
|
34
|
+
|
35
|
+
- Increased the timeout of synchronous operations from 2 minutes to 4 minutes.
|
36
|
+
|
37
|
+
|
38
|
+
Release 1.6.1 (release date: 2013-01-31):
|
39
|
+
=========================================
|
40
|
+
|
41
|
+
Bug Fixes:
|
42
|
+
----------
|
43
|
+
|
44
|
+
- Fixed an issue with adding a boot disk when creating a new instance.
|
45
|
+
|
46
|
+
- Changed the setinstancemetadata and setinstancetags subcommands to generate
|
47
|
+
a client-side error if no fingerprint is specified.
|
48
|
+
|
49
|
+
- Fixed an issue where deleting per-zone resources would fail when using
|
50
|
+
v1beta13.
|
51
|
+
|
52
|
+
|
53
|
+
Release 1.6.0 (release date: 2013-01-30):
|
54
|
+
=========================================
|
55
|
+
|
56
|
+
New Features:
|
57
|
+
-------------
|
58
|
+
|
59
|
+
- Added support for v1beta14 per-zone resources.
|
60
|
+
|
61
|
+
- Added a new subcommand, gcutil setinstancemetadata, for setting instance
|
62
|
+
metadata.
|
63
|
+
|
64
|
+
- Added a new subcommand, gcutil setinstancetags, for setting instance tags.
|
65
|
+
|
66
|
+
- Added a new subcommand, gcutil deprecateimage, for setting the deprecated
|
67
|
+
field on an image resource.
|
68
|
+
|
69
|
+
- Added support for specifying a root persistent disk when creating a new
|
70
|
+
instance:
|
71
|
+
|
72
|
+
gcutil addinstance my-instance --disk=my-disk,boot
|
73
|
+
|
74
|
+
Other Changes:
|
75
|
+
--------------
|
76
|
+
|
77
|
+
- Changed the ordering of the machine type prompt when creating instances so
|
78
|
+
the standard machine types show up first, followed by the highcpu and
|
79
|
+
highmem machine types.
|
80
|
+
|
81
|
+
|
82
|
+
Release 1.5.0 (release date: 2012-12-14):
|
83
|
+
=========================================
|
84
|
+
|
85
|
+
New Features:
|
86
|
+
-------------
|
87
|
+
|
88
|
+
- Added subcommands for interacting with snapshots.
|
89
|
+
|
90
|
+
|
91
|
+
Release 1.4.1 (release date: 2012-11-12):
|
92
|
+
=========================================
|
93
|
+
|
94
|
+
Bug Fixes:
|
95
|
+
----------
|
96
|
+
|
97
|
+
- Fixed crash in gcutil when waiting for images to be ready after creation.
|
98
|
+
|
99
|
+
|
100
|
+
Release 1.4.0 (release date: 2012-11-06):
|
101
|
+
=========================================
|
102
|
+
|
103
|
+
New Features:
|
104
|
+
-------------
|
105
|
+
|
106
|
+
- Added a new subcommand, gcutil getserialportoutput, for getting the serial
|
107
|
+
port output from an instance.
|
108
|
+
|
109
|
+
Bug Fixes:
|
110
|
+
----------
|
111
|
+
|
112
|
+
- Fixed an issue where gcutil waited for instances that failed to be created.
|
113
|
+
|
114
|
+
Other Changes:
|
115
|
+
--------------
|
116
|
+
|
117
|
+
- Changed the zone selection feature to display maintenance information next
|
118
|
+
to the zone names.
|
119
|
+
|
120
|
+
- Changed the display of operation resources to show the user responsible for
|
121
|
+
the operation.
|
122
|
+
|
123
|
+
|
124
|
+
Release 1.3.4 (release date: 2012-10-11):
|
125
|
+
=========================================
|
126
|
+
|
127
|
+
New Features:
|
128
|
+
-------------
|
129
|
+
|
130
|
+
- Implemented batch adddisk. It is now possible to add multiple disks with a
|
131
|
+
single call to gcutil adddisk.
|
132
|
+
|
133
|
+
- Implemented batch delete operations for additional resources. It is now
|
134
|
+
possible to delete multiple disks, firewalls, images, instances, networks,
|
135
|
+
operations, and snapshots.
|
136
|
+
|
137
|
+
- Added a --format flag for the list subcommands. The flag accepts the
|
138
|
+
following values: table, sparse, json, csv, and names. --format=names allows
|
139
|
+
gcutil to be used with Unix tool pipelines:
|
140
|
+
|
141
|
+
gcutil listinstances --format=names | xargs gcutil deleteinstance --force
|
142
|
+
|
143
|
+
Bug Fixes:
|
144
|
+
----------
|
145
|
+
|
146
|
+
- Fixed the sorting in list subcommands. Instead of sorting each page
|
147
|
+
individually, gcutil now sorts all results before displaying them to the
|
148
|
+
user.
|
149
|
+
|
150
|
+
- Changed --cache_flag_values to not cache flags when the underlying command
|
151
|
+
fails.
|
152
|
+
|
153
|
+
Other Changes:
|
154
|
+
--------------
|
155
|
+
|
156
|
+
- Deprecated --project_id in favor of --project. --project_id still works, but
|
157
|
+
will produce a warning.
|
158
|
+
|
159
|
+
- Reconfigured the version checking to take place when gcutil exits.
|
160
|
+
|
161
|
+
- Improved documentation for firewall commands.
|
162
|
+
|
163
|
+
- Removed the --page_token flag.
|
164
|
+
|
165
|
+
- Changed the headings for list and get subcommands. The new headings use
|
166
|
+
dashes instead of spaces and are in lower-case. This eliminates the need
|
167
|
+
to use quotes with the --sort_by flag and makes the display of the headings
|
168
|
+
more user-friendly.
|
169
|
+
|
170
|
+
|
171
|
+
Release 1.2.0 (release date: 2012-08-28):
|
172
|
+
=========================================
|
173
|
+
|
174
|
+
New Features:
|
175
|
+
-------------
|
176
|
+
|
177
|
+
- Added support for gs:// URLs to the addimage command.
|
178
|
+
|
179
|
+
- Implemented support for multiple flag cache files. gcutil now searches for
|
180
|
+
a .gcutil.flags file starting in the current directory, followed by the
|
181
|
+
parent directories, and the home directory until a file is found.
|
182
|
+
|
183
|
+
Bug Fixes:
|
184
|
+
----------
|
185
|
+
|
186
|
+
- Added a check to commands dealing with metadata to warn the user of
|
187
|
+
duplicate metadata keys instead of silently ignoring duplicates.
|
188
|
+
|
189
|
+
- Fixed an issue where listoperations would not fetch multiple pages when
|
190
|
+
encountering an operation that contains an error.
|
191
|
+
|
192
|
+
Other Changes:
|
193
|
+
--------------
|
194
|
+
|
195
|
+
- Changed the way gcutil is packaged.
|
196
|
+
|
197
|
+
- Made some of the flag descriptions and an error messages more informative.
|
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|