Hello community, here is the log from the commit of package google-cloud-sdk for openSUSE:Factory checked in at 2015-12-09 19:49:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-cloud-sdk (Old) and /work/SRC/openSUSE:Factory/.google-cloud-sdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-cloud-sdk" Changes: -------- --- /work/SRC/openSUSE:Factory/google-cloud-sdk/google-cloud-sdk.changes 2015-02-22 17:26:27.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.google-cloud-sdk.new/google-cloud-sdk.changes 2015-12-09 22:18:23.000000000 +0100 @@ -1,0 +2,518 @@ +Mon Nov 30 20:44:51 UTC 2015 - rjsch...@suse.com + +- Provide a better message for "components" sub command being disabled + + Added patch disableSelfUpdate.patch + +------------------------------------------------------------------- +Sat Nov 21 20:47:17 UTC 2015 - rjsch...@suse.com + +- Remove patches: + + gsutil_respectBotoCfgKeyword.patch + + gsutilHideDeps.patch + + gcutilHideDeps.patch + + hideImplicitVersionMgmt.patch + + gsutil_noVersioCheckOrUpdate.patch + + gcutilNoInternalVersionCheck.patch + + bqHideDeps.patch + +- Update to version 0.9.87 (bsc#954690) + ### Compute + * `gcloud alpha compute instances create` now supports --custom-cpu and + --custom-memory flags to specify custom machine types. + ### Dataproc + * Added `gcloud beta dataproc clusters diagnose` command. See + <https://cloud.google.com/dataproc/support/diagnose-command> for + more info. + ### Google Container Engine + * Updated kubectl to version 1.1.1. + * 0.9.86 (2015/11/11) + ### App Engine + * Generated node.js Dockerfiles now add the full application context before + running install hooks. + * For Google App Engine Node.js runtimes, install requested version of node + prior to doing an npm install. + ### Compute + * `gcloud beta compute instances set-machine-type` has been promoted + from alpha to beta, + * From 0.9.85 (2015/11/04) + * `gcloud alpha compute networks create` now requires --mode flag. + (Backwards incompatible change) + ### App Engine + * Added the --output-directory option to gen-repo-info-file command. + This option supersedes --output-file, which is deprecated and will + be removed in a future release. + * Improved error message when specified yaml file is not found. + ### Compute + * Launching `gcloud alpha compute networks subnets`. + * `gcloud compute alpha instance-templates` and `instances` now support + subnetworks. + * New flag --ike-networks in `gcloud alpha compute vpn-tunnels create`. + * `gcloud compute ssh` now passes through the exit code of the ssh + command. This fixes issue [#146 ] + (https://code.google.com/p/google-cloud-sdk/issues/detail?id=146). + ### Misc. Changes + * Gracefully handle socket timeouts while checking for Google Compute + Engine metadata server. This fixes issue [#339] + (https://code.google.com/p/google-cloud-sdk/issues/detail?id=339). + * From 0.9.84 (2015/10/28) + ### App Engine + * Due to PageSpeed service deprecation, user will receive a warning when + deploying a new version to App Engine. + * Implemented fingerprinting support for Java. + * The gen-config flag now generates only app.yaml for the matching + runtime by default, you must use the --custom flag to generate an + app.yaml with a runtime of "custom" and Dockerfile (and other configs). + ### Compute + * GA support for https load balancing features. + * Deprecated --clear-target-pool flag from compute instance-groups managed + set-target-pools command. + ### Windows support + * Windows Installer can now take a /logtofile flag to write installation + logs to file CloudSDKInstall.log located in the same directory. + * Windows installer now displays an error message when the installation + does not succeed. + ### Command Line Interface support + * The [page=N] table format attribute prints one or more tables of at + most N rows. Use this to view paged server data as it arrives at + the client. + * From 0.9.83 (2015/10/21) + ### App Engine + * In a future release, the `gcloud preview app deploy` command will + no longer support deploying multiple modules in the same invocation. + ### Compute + * Ubuntu 14.10 is end of life: https://wiki.ubuntu.com/Releases + * Fixed external issue [#291] + (https://code.google.com/p/google-cloud-sdk/issues/detail?id=291), + related to handling network addresses on Windows. + ### Container Engine + * `gcloud container clusters list` now displays the current number of nodes + for the cluster. + ### Windows support + * When running Cloud SDK tools from PowerShell the `gcloud-ps.ps1` wrapper + scripts now can be used which no longer call to `cmd.exe`. Using + `gcloud-ps`, complex arguments can be passed without escaping for + Windows command line. Using `gcloud`, the following command would be + correctly escaped when running gcloud in PowerShell: + + gcloud fun --arg='"test ^< 123"' + + With the new `gcloud-ps`, the same command can be simply written as: + + gcloud-ps fun --arg='test < 123' + + Permissions to run PowerShell scripts must be given to PowerShell + before these will work. Permissions can be changed with + `"Set-ExecutionPolicy RemoteSigned"`. + *From 0.9.82 (2015/10/14) + ### App Engine + * The App Engine Admin API is now the default path for deployments in the + `gcloud preview app deploy` command. This transition should be + transparent, but if you experience any issues and would like to + revert to the old behavior, please run `gcloud config set + app/use_appengine_api false`. + See <https://cloud.google.com/appengine/docs/admin-api/> for more + information about this API. + * With `env: 2`, valid python runtimes are `python` and `python-compat`. + * Implemented fingerprinting support for python. + ### Container Engine + * `gcloud container clusters create`: The flag `--container-ipv4-cidr` has + been deprecated; `--cluster-ipv4-cidr` should be used instead. + ### SQL + * `gcloud beta sql operations describe` and + `gcloud beta sql operations wait` no longer need `--instance` + flag (`gcloud beta sql operations list` still does). + * Fixed issue with `gcloud sql instances clone` when `--bin-log-file-name` + and `--bin-log-position` are set. + (<https://code.google.com/p/google-cloud-sdk/issues/detail?id=201>). + * From 0.9.81 (2015/10/07) + ### Breaking Changes + * If you are using a service account to run commands under + `gcloud preview app`, you must enable the "App Engine Admin API" in the + Developers Console (<https://console.developers.google.com>; navigate to + **APIs and Auth > APIs**). + * In a future Cloud SDK release, deployments that promote the new version to + receive all traffic will stop the previous version by default. + To keep the current behavior, pass the `--no-stop-previous-version` + flag, or run the following command: + + $ gcloud config set app/stop_previous_version false + + * Removed `app get-resource-limits` command. + ### App Engine + * App Engine components updated to 1.9.27. Please see the following release + notes for details: + * Python: <https://cloud.google.com/appengine/docs/python/release-notes> + * Java: <https://cloud.google.com/appengine/docs/java/release-notes> + * The `gcloud preview app deploy` command now requires that users specify or + omit the runtime: field from app.yaml if a Dockerfile is also specified. + * The `gcloud preview app deploy` command now supports the "engines" field + in package.json for node.js applications. + ### Misc. Changes + * Windows Installer has an option to run `gcloud init` after the + installation finishes. + * From 0.9.80 (2015/09/30) + * `gcloud app` + * Soon, deployments will set the deployed version to receive all traffic + by default. To keep the current behavior, use the `--no-promote` flag + or run the following command: + + $ gcloud config set app/promote_by_default false + + To adopt the new behavior early, use the `--promote` flag or run the + following command: + + $ gcloud config set app/promote_by_default true + + * The `--set-default` flag is deprecated. Please use the `--promote` flag + instead. + * In a future Cloud SDK release, deployments that promote the new version + to receive all traffic will stop the previous version by default. To + keep the current behavior, pass the `--no-stop-previous-version` flag, + or run the following command: + + $ gcloud config set app/stop_previous_version true + + * The `app run` command is deprecated and will soon be removed. Please + use dev_appserver (found in the same directory as the `gcloud command) + instead. + * The `gcloud preview app modules download command` is deprecated, and + will be removed soon. + + * The Windows installer has an option to run `gcloud init` after the + installation finishes. + * The `preview` component has been removed. + * The `gcloud preview app` commands remain available as usual and + are still shipped through the `app` component. + * Please use `gcloud compute instance-groups unmanaged` instead + of `gcloud preview instance-groups`. Note that you will need to + modify some command invocations when switching to the non-preview + commands. + * Please use `gcloud compute instance-groups managed` instead of + `gcloud preview managed-instance-groups`. Note that you will need to + modify some command invocations when switching to the non-preview + commands. + * All Google Compute User Accounts commands have moved to beta. + * Deployment-manager list commands now support pagination. + * Minor bug fixes. + * From 0.9.79 (2015/09/23) ++++ 321 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/google-cloud-sdk/google-cloud-sdk.changes ++++ and /work/SRC/openSUSE:Factory/.google-cloud-sdk.new/google-cloud-sdk.changes Old: ---- bqHideDeps.patch gcutilHideDeps.patch gcutilNoInternalVersionCheck.patch google-cloud-sdk-0.9.44.tar.bz2 gsutilHideDeps.patch gsutil_noVersioCheckOrUpdate.patch gsutil_respectBotoCfgKeyword.patch hideImplicitVersionMgmt.patch New: ---- disableSelfUpdate.patch google-cloud-sdk-0.9.87.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-cloud-sdk.spec ++++++ --- /var/tmp/diff_new_pack.urQ25J/_old 2015-12-09 22:18:25.000000000 +0100 +++ /var/tmp/diff_new_pack.urQ25J/_new 2015-12-09 22:18:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package google-cloud-sdk # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: google-cloud-sdk -Version: 0.9.44 +Version: 0.9.87 Release: 0 Summary: Tools for Google Cloud Services License: Apache-2.0 @@ -27,32 +27,29 @@ Url: https://dl.google.com/dl/cloudsdk/release Source0: %{name}-%{version}.tar.bz2 Source1: setup.py -Patch1: gsutilHideDeps.patch -Patch2: gcutilHideDeps.patch -Patch3: gcutilNoInternalVersionCheck.patch -Patch4: bqHideDeps.patch -Patch5: hideImplicitVersionMgmt.patch -Patch6: hidePathMangeling.patch -Patch7: gsutil_noVersioCheckOrUpdate.patch -Patch8: gsutil_respectBotoCfgKeyword.patch -Requires: google-api-python-client => 1.2 +Patch1: hidePathMangeling.patch +Patch2: disableSelfUpdate.patch Requires: python +Requires: python-Jinja2 +Requires: python-MarkupSafe Requires: python-SocksiPy +Requires: python-antlr3_runtime Requires: python-argcomplete Requires: python-argparse -Requires: python-boto => 2.30.0 -Requires: python-crcmod Requires: python-docker-py -Requires: python-gcs-oauth2-boto-plugin -Requires: python-google-apputils +Requires: python-enum34 Requires: python-httplib2 => 0.8 Requires: python-ipaddr -Requires: python-iso8601 +Requires: python-oauth2 +Requires: python-oauth2client +Requires: python-oauth2client-gce +Requires: python-portpicker +Requires: python-pyasn1 +Requires: python-pyasn1-modules Requires: python-python-gflags Requires: python-python-mimeparse Requires: python-requests -Requires: python-retry_decorator -Requires: python-setuptools +Requires: python-rsa Requires: python-six Requires: python-uritemplate Requires: python-websocket-client @@ -75,145 +72,52 @@ manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, Cloud SQL, and BigQuery. -%package doc -Summary: Documentation for google-cloud-sdk -Group: System/Management -PreReq: google-cloud-sdk = %version - -%description doc -This package provides html documentation for google-cloud-sdk - -%package gsutil-tests -Summary: Test for gsutil -Group: System/Management -PreReq: google-cloud-sdk = %version - -%description gsutil-tests -This package provides test cases for gsutil. The functionality for gsutil -is not yet integrated into the gcloud master command utility. - %prep %setup -q %patch1 -%patch2 -p1 -%patch3 -p1 -%patch4 -%patch5 -%patch6 -%patch7 -%patch8 +%patch2 cp %{SOURCE1} %{_builddir}/%{name}-%{version} %build python setup.py build -pushd platform/gsutil -python setup.py build -popd -pushd platform/gcutil -python setup.py build -popd -pushd platform/bq -python setup.py build -popd %install # Leave it to Google to set silly permissions, fix it -chmod -x help/man/man1/* find . -name "*.html" | xargs chmod -x find . -name "*.json" | xargs chmod -x find . -name "*_test.py" | xargs chmod +x find lib/protorpc -name "*.py" | xargs chmod -x # Remove shebang from files intended for import -sed -i 1d lib/protorpc/*.py -sed -i 1d lib/protorpc/webapp/*.py -sed -i 1d lib/protorpc/wsgi/*.py +find lib/googlecloudsdk/third_party/appengine -type f | xargs grep -l '#!' | xargs sed -i 1d +find lib/protorpc -type f | xargs grep -l '#!' | xargs sed -i 1d # Install gcloud python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -d %{buildroot}/%{_bindir} install -d %{buildroot}/%{_defaultdocdir}/%{name} install -d %{buildroot}/%{_mandir} install -d %{buildroot}/%{_sysconfdir}/bash_completion.d -cp -r help/man/man1 %{buildroot}/%{_mandir} cp completion.bash.inc %{buildroot}/%{_sysconfdir}/bash_completion.d/gcloud.sh -cp -r lib/googlecloudsdk/gcloud/reference/* %{buildroot}/%{_defaultdocdir}/%{name} echo "#!/bin/sh" > %{buildroot}/%{_bindir}/gcloud echo "python %{python_sitelib}/googlecloudsdk/gcloud/gcloud.py \"\$@\"" >> %{buildroot}/%{_bindir}/gcloud chmod +x %{buildroot}/%{_bindir}/gcloud -# Install gsutil -pushd platform/gsutil -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -popd -# install gcutil -pushd platform/gcutil -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -popd -# Install bigquery -pushd platform/bq -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -popd %files %defattr(-,root,root,-) -# man pages for gcloud -%doc %{_mandir}/* -## gcloud stuff +%doc LICENSE README RELEASE_NOTES %dir %{python_sitelib}/google -%dir %{python_sitelib}/googlecloudapis %dir %{python_sitelib}/googlecloudsdk %dir %{python_sitelib}/google_cloud_sdk-%{version}-py%{py_ver}.egg-info %{_bindir}/gcloud %{python_sitelib}/google/* -%{python_sitelib}/googlecloudapis/* %{python_sitelib}/googlecloudsdk/* %{python_sitelib}/google_cloud_sdk-%{version}-py%{py_ver}.egg-info/* %config %{_sysconfdir}/bash_completion.d/gcloud.sh -# integrated gsutil -%dir %{python_sitelib}/gslib -%dir %{python_sitelib}/gslib/addlhelp -%dir %{python_sitelib}/gslib/commands -%dir %{python_sitelib}/gslib/data -# tests are accessed during regular command execution, go figure -%dir %{python_sitelib}/gslib/tests -# Note third_party contains protorpc which appears to be another -# implementation of the included dependency. Leave it to Google to -# mis-manage even in house developed dependencies. -%dir %{python_sitelib}/gslib/third_party -%dir %{python_sitelib}/gsutil-4.7-py%{py_ver}.egg-info -%doc %{python_sitelib}/gslib/CHECKSUM -%doc %{python_sitelib}/gslib/README -%doc %{python_sitelib}/gslib/VERSION -%{python_sitelib}/gslib/addlhelp/* -%{python_sitelib}/gslib/commands/* -%{python_sitelib}/gslib/data/* -%{python_sitelib}/gslib/tests/* -%{python_sitelib}/gsutil-4.7-py%{py_ver}.egg-info/* -%{python_sitelib}/gslib/third_party/* -%{python_sitelib}/gslib/*.py* -%{_bindir}/gsutil -# integrated gcutil -%dir %{python_sitelib}/gcutil_lib -%dir %{python_sitelib}/gcutil-1.16.5-py%{py_ver}.egg-info -%{python_sitelib}/gcutil_lib/* -%{python_sitelib}/gcutil-1.16.5-py%{py_ver}.egg-info/* -%{_bindir}/gcutil -# integrated bq -%dir %{python_sitelib}/discovery -%dir %{python_sitelib}/bigquery-2.0.18-py%{py_ver}.egg-info -%{python_sitelib}/discovery/* -%{python_sitelib}/bigquery_client.* -%{python_sitelib}/bq* -%{python_sitelib}/bigquery-2.0.18-py%{py_ver}.egg-info/* -%{python_sitelib}/table_formatter.* -%{_bindir}/bq +# built in dependency on fancy_urllib, not available as stand alone code stream +%dir %{python_sitelib}/fancy_urllib +%{python_sitelib}/fancy_urllib/* # built in dependency on protorpc, not available as stand alone code stream %dir %{python_sitelib}/protorpc %{python_sitelib}/protorpc/* -%files doc -%defattr(-,root,root) -%dir %{_defaultdocdir}/%{name} -%doc LICENSE README RELEASE_NOTES -%doc %{_defaultdocdir}/%{name}/* - %changelog ++++++ disableSelfUpdate.patch ++++++ --- lib/googlecloudsdk/core/config.json.orig +++ lib/googlecloudsdk/core/config.json @@ -1,6 +1,6 @@ { "config_suffix": "", - "disable_updater": false, + "disable_updater": true, "disable_usage_reporting": false, "documentation_url": "https://developers.google.com/cloud/sdk/", "release_channel": "rapid", @@ -9,4 +9,4 @@ "snapshot_url": "https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json", "user_agent": "Cloud SDK Command Line Tool", "version": "0.9.87" -} \ No newline at end of file +} --- lib/googlecloudsdk/core/updater/local_state.py.orig +++ lib/googlecloudsdk/core/updater/local_state.py @@ -30,10 +30,11 @@ class InvalidSDKRootError(Error): """Error for when the root of the Cloud SDK is invalid or cannot be found.""" def __init__(self): - super(InvalidSDKRootError, self).__init__( - 'The update action could not be performed because the installation root' - ' of the Cloud SDK could not be located. Please re-install the Cloud ' - 'SDK and try again.') + super(InvalidSDKRootError, self).__init__( + 'The Cloud SDK is managed by a distribution package. If you wish to ' + 'use the SDK "components" functionality please un-install the ' + 'google-cloud-sdk package and install the source provided by Google: ' + + config.INSTALLATION_CONFIG.documentation_url + '\n') class InvalidDownloadError(Error): ++++++ google-cloud-sdk-0.9.44.tar.bz2 -> google-cloud-sdk-0.9.87.tar.bz2 ++++++ ++++ 852080 lines of diff (skipped) ++++++ hidePathMangeling.patch ++++++ --- /var/tmp/diff_new_pack.urQ25J/_old 2015-12-09 22:18:29.000000000 +0100 +++ /var/tmp/diff_new_pack.urQ25J/_new 2015-12-09 22:18:29.000000000 +0100 @@ -1,9 +1,9 @@ --- lib/googlecloudsdk/gcloud/gcloud.py.orig +++ lib/googlecloudsdk/gcloud/gcloud.py -@@ -77,7 +77,7 @@ def _DoStartupChecks(): - if not platforms.Platform.Current().IsSupported(): +@@ -76,7 +76,7 @@ def _DoStartupChecks(): sys.exit(1) + -_SetPriorityCloudSDKPath() +#_SetPriorityCloudSDKPath() _DoStartupChecks() ++++++ setup.py ++++++ --- /var/tmp/diff_new_pack.urQ25J/_old 2015-12-09 22:18:29.000000000 +0100 +++ /var/tmp/diff_new_pack.urQ25J/_new 2015-12-09 22:18:29.000000000 +0100 @@ -16,11 +16,12 @@ if __name__ == '__main__': os.system('rm -rf lib/google/apputils') - os.system('touch lib/googlecloudsdk/gcloud/sdktools/__init__.py') allPckgs = glob.glob('lib/*') excludePckgs = [] for name in allPckgs: - if name.find('google') != -1 or name.find('protorpc') != -1: + if (name.find('google') != -1 + or name.find('protorpc') != -1 + or name.find('fancy_urllib') != -1): continue # Creating an exclude list is unreliable, some packages still # get pushed into site-packages. Remove the code instead @@ -36,7 +37,7 @@ license='Apache 2', author='Google', author_email='google-cloud-...@googlegroups.com', - version='0.9.44', + version='0.9.87', packages=setuptools.find_packages('lib',exclude=excludePckgs), package_data={ 'googlecloudsdk' : [os.path.join('core', '*.json'),