Accepting request 648959 from Cloud:Tools

- Require specific version for self-test; disable debug packages in test to prevent error about missing files
- update to version 6.40.1
  ### Bug Fixes
  - Updates the minimum version for the buildpacks-stacks association feature. In [CLI v6.39.0](https://github.com/cloudfoundry/cli/releases/tag/v6.39.0), when the feature was released, we incorrectly set the minimum to cc api version as`2.114`. The minimum cc api version is now correctly set to [`2.112`](https://github.com/cloudfoundry/capi-release/releases/tag/1.58.0).  [story](https://www.pivotaltracker.com/story/show/161464797)
  - Fixes a bug with inspecting a service instance `cf service service-instance`, now the `documentation` url displays correctly for services which populate that field [story](https://www.pivotaltracker.com/story/show/161251875)
- update to version 6.40.0
  ### Bug Fixes
  - Fix bug where trailing slash on cf api would break listing commands for older CC APIs story. For older versions of CC API, if the API URL had a trailing slash, some requests would fail with an "Unknown request" error. These requests are now handled properly.
- update to version 6.39.1
- update to version 6.39.0
  ### Enhancements
  - for users on cc api 3.27, cf start is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. Note that if you use v3 commands to create and start your app, if you subsequently use cf stop and cf start, the routes property in cf app will not populate even though the route exists story
  - for users on cc api 3.27, cf restart is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. story
  - for users on cc api 3.27, cf restage is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. story
  - improved help text for -d domains for cf push to include examples of usage story
  - cf v3-scale displays additional app information story
  - if you've created an internal domain, and it is the first domain in cc, the CLI will now ignore the internal domain and instead choose the next non-internal domain when you push an app story
  ### Bug Fixes
  - Fix for users on macOS attempting to brew install cf-cli the CF CLI using the unreleased master branch of Homebrew story
  - Fixes an issue whereby, due to a recent cc api change, when you execute cf push and watch the cf app command, the app display returned a 400 error story
  - Fixes a bug whereby if you logged in using client credentials, cf auth user pass --client credentials you were unable to create an org; now create-org will assign the role to the user id specified in your manifest story
  - fixes an issue introduced when we refactored cf start and as part of that work, we stopped blocking on the initial connection with the logging backend; now the CLI blocks until the NOAA connection is made, or the default dial timeout of five seconds is reached story
- Change package self-test to _multibuild single-spec file approach for easier
  handling of package submissions
- update to version 6.38.0
  ### Enhancements
  - v3-ssh process type now defaults to web story
  - Support added for setting tags for user provided service instances story
  - Now a warning appears if you attempt to use deprecated properties and variable substitution story
  - Updated usage so now you can rename the cf binary use it with every command story
  - cf events now displays the Diego cell_id and instance guid in crash events story
  - Includes cf service service-instance table display improvements wherein the service instance information is now grouped separately from the binding information story
  - cf service service-instance table display information for user provided services changed: status has been added to the table story
  ### Bug Fixes
  - the CLI now properly handles escaped commas in the X-Cf-Warnings header
- Add package installation and post-install self-test
- update to version 6.37.0
  ### Enhancements
  - The api/cloudcontroller/ccv2 package has been updated with more functions #1343
  - Now a warning appears if you are using a API version older than 2.69.0, which is no longer officially supported
  - Now the CLI reads the username and password from the environment variables #1358
  ### Bug Fixes
  - Fixes bug whereby X-Cf-Warnings were not being unescaped when displayed to user #1361
  - When using CF_TRACE=1, passwords are now sanitized #1375 and tracker
- update to version 6.36.2
- update to version 6.36.1
- update to version 6.36.0
  ### Bug Fixes
  - int64 support for cf/flags library, #1333
  - Debian package, #1336
  - Web action flag not working on CLI 0.6.5, #1337
  - When a cf push upload fails/Consul is down, a panic occurs, #1340 and #1351
- update to version 6.35.2
  ### Bug Fixes
  - Providing a clearer services authorization warning message when a service has been disabled for the organization, fixing #1344
- update to version 6.35.1
- update to version 6.35.0

OBS-URL: https://build.opensuse.org/request/show/648959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cf-cli?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-11-26 09:21:19 +00:00 committed by Git OBS Bridge
commit 4456caf356
5 changed files with 163 additions and 9 deletions

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -1,3 +1,120 @@
-------------------------------------------------------------------
Tue Nov 13 09:27:33 UTC 2018 - okurz@suse.com
- Require specific version for self-test; disable debug packages in test to prevent error about missing files
-------------------------------------------------------------------
Mon Nov 12 14:03:42 UTC 2018 - thardeck@suse.com
- update to version 6.40.1
### Bug Fixes
- Updates the minimum version for the buildpacks-stacks association feature. In [CLI v6.39.0](https://github.com/cloudfoundry/cli/releases/tag/v6.39.0), when the feature was released, we incorrectly set the minimum to cc api version as`2.114`. The minimum cc api version is now correctly set to [`2.112`](https://github.com/cloudfoundry/capi-release/releases/tag/1.58.0). [story](https://www.pivotaltracker.com/story/show/161464797)
- Fixes a bug with inspecting a service instance `cf service service-instance`, now the `documentation` url displays correctly for services which populate that field [story](https://www.pivotaltracker.com/story/show/161251875)
-------------------------------------------------------------------
Mon Oct 8 21:38:24 UTC 2018 - thardeck@suse.com
- update to version 6.40.0
### Bug Fixes
- Fix bug where trailing slash on cf api would break listing commands for older CC APIs story. For older versions of CC API, if the API URL had a trailing slash, some requests would fail with an "Unknown request" error. These requests are now handled properly.
-------------------------------------------------------------------
Thu Sep 20 08:19:31 UTC 2018 - thardeck@suse.com
- update to version 6.39.1
-------------------------------------------------------------------
Tue Sep 11 23:53:49 UTC 2018 - thardeck@suse.com
- update to version 6.39.0
### Enhancements
- for users on cc api 3.27, cf start is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. Note that if you use v3 commands to create and start your app, if you subsequently use cf stop and cf start, the routes property in cf app will not populate even though the route exists story
- for users on cc api 3.27, cf restart is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. story
- for users on cc api 3.27, cf restage is enhanced to display the new cf app v3 output. For users on cc api 3.27 or lower, users will see the same v2 output. story
- improved help text for -d domains for cf push to include examples of usage story
- cf v3-scale displays additional app information story
- if you've created an internal domain, and it is the first domain in cc, the CLI will now ignore the internal domain and instead choose the next non-internal domain when you push an app story
### Bug Fixes
- Fix for users on macOS attempting to brew install cf-cli the CF CLI using the unreleased master branch of Homebrew story
- Fixes an issue whereby, due to a recent cc api change, when you execute cf push and watch the cf app command, the app display returned a 400 error story
- Fixes a bug whereby if you logged in using client credentials, cf auth user pass --client credentials you were unable to create an org; now create-org will assign the role to the user id specified in your manifest story
- fixes an issue introduced when we refactored cf start and as part of that work, we stopped blocking on the initial connection with the logging backend; now the CLI blocks until the NOAA connection is made, or the default dial timeout of five seconds is reached story
-------------------------------------------------------------------
Fri Aug 17 07:49:30 UTC 2018 - okurz@suse.com
- Change package self-test to _multibuild single-spec file approach for easier
handling of package submissions
-------------------------------------------------------------------
Wed Aug 8 21:42:29 UTC 2018 - thardeck@suse.com
- update to version 6.38.0
### Enhancements
- v3-ssh process type now defaults to web story
- Support added for setting tags for user provided service instances story
- Now a warning appears if you attempt to use deprecated properties and variable substitution story
- Updated usage so now you can rename the cf binary use it with every command story
- cf events now displays the Diego cell_id and instance guid in crash events story
- Includes cf service service-instance table display improvements wherein the service instance information is now grouped separately from the binding information story
- cf service service-instance table display information for user provided services changed: status has been added to the table story
### Bug Fixes
- the CLI now properly handles escaped commas in the X-Cf-Warnings header
-------------------------------------------------------------------
Sat Jul 14 07:00:45 UTC 2018 - okurz@suse.com
- Add package installation and post-install self-test
-------------------------------------------------------------------
Tue May 29 21:51:23 UTC 2018 - thardeck@suse.com
- update to version 6.37.0
### Enhancements
- The api/cloudcontroller/ccv2 package has been updated with more functions #1343
- Now a warning appears if you are using a API version older than 2.69.0, which is no longer officially supported
- Now the CLI reads the username and password from the environment variables #1358
### Bug Fixes
- Fixes bug whereby X-Cf-Warnings were not being unescaped when displayed to user #1361
- When using CF_TRACE=1, passwords are now sanitized #1375 and tracker
-------------------------------------------------------------------
Thu May 17 17:54:50 UTC 2018 - thardeck@suse.com
- update to version 6.36.2
-------------------------------------------------------------------
Thu Apr 5 19:17:14 UTC 2018 - thardeck@suse.com
- update to version 6.36.1
-------------------------------------------------------------------
Tue Apr 3 22:17:31 UTC 2018 - thardeck@suse.com
- update to version 6.36.0
### Bug Fixes
- int64 support for cf/flags library, #1333
- Debian package, #1336
- Web action flag not working on CLI 0.6.5, #1337
- When a cf push upload fails/Consul is down, a panic occurs, #1340 and #1351
-------------------------------------------------------------------
Fri Mar 16 23:21:13 UTC 2018 - thardeck@suse.com
- update to version 6.35.2
### Bug Fixes
- Providing a clearer services authorization warning message when a service has been disabled for the organization, fixing #1344
-------------------------------------------------------------------
Thu Mar 15 09:55:41 UTC 2018 - thardeck@suse.com
- update to version 6.35.1
-------------------------------------------------------------------
Fri Mar 9 19:41:54 UTC 2018 - thardeck@suse.com
- update to version 6.35.0
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 6 14:51:50 UTC 2018 - thardeck@suse.com Tue Feb 6 14:51:50 UTC 2018 - thardeck@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package cf-cli # spec file for package cf
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# Define just "test" as a package in _multibuild file to distinguish test
# instructions here
%if "@BUILD_FLAVOR@" == ""
%define _test 0
%define name_ext %nil
%else
%define _test 1
%define name_ext -test
%endif
%global provider code.cloudfoundry %global provider code.cloudfoundry
%global provider_tld org %global provider_tld org
%global project "" %global project ""
@ -22,16 +33,20 @@
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix} %global import_path %{provider_prefix}
Name: cf-cli %define short_name cf-cli
Version: 6.34.1 Name: %{short_name}%{?name_ext}
Version: 6.40.1
Release: 0 Release: 0
License: Apache-2.0
Summary: Cloud Foundry command line client Summary: Cloud Foundry command line client
Url: https://github.com/cloudfoundry/cli License: Apache-2.0
Group: System/Management Group: System/Management
Url: https://github.com/cloudfoundry/cli
Source: v%{version}.tar.gz Source: v%{version}.tar.gz
Source1: README Source1: README
Source2: cf-cli-rpmlintrc Source2: cf-cli-rpmlintrc
%if 0%{?_test}
BuildRequires: %{short_name} = %{version}
%else
BuildRequires: go >= 1.8.3 BuildRequires: go >= 1.8.3
BuildRequires: golang-packaging BuildRequires: golang-packaging
BuildRequires: xz BuildRequires: xz
@ -39,16 +54,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{go_nostrip} %{go_nostrip}
%{go_provides} %{go_provides}
%endif
%description %description
This is the official command line client for Cloud Foundry. This is the official command line client for Cloud Foundry.
%prep %prep
%if 0%{?_test}
# workaround to prevent post/install failing assuming this file for whatever
# reason
touch %{_sourcedir}/%{short_name}
%else
%setup -q -c -n %{name}-%{version} %setup -q -c -n %{name}-%{version}
mv */* ./ mv */* ./
cp %{SOURCE1} ./ cp %{SOURCE1} ./
%endif
%build %build
%if 0%{?_test}
cf --help
%else
# show correct version instead of 0.0.0 # show correct version instead of 0.0.0
grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{version}/g' grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{version}/g'
%goprep %{import_path} %goprep %{import_path}
@ -57,16 +82,25 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve
%check %check
echo 'Test if cf can be executed' echo 'Test if cf can be executed'
../go/bin/cli --version ../go/bin/cli --version
%endif
%install %install
%if 0%{?_test}
# disable debug packages in package test to prevent error about missing files
%define debug_package %{nil}
%else
cp ../go/bin/cli %{buildroot}/%{_bindir}/cf cp ../go/bin/cli %{buildroot}/%{_bindir}/cf
install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d
cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf.sh cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf.sh
%endif
%files %files
%if 0%{?_test}
%else
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/cf %{_bindir}/cf
%config %{_sysconfdir}/bash_completion.d/cf.sh %config %{_sysconfdir}/bash_completion.d/cf.sh
%doc LICENSE NOTICE README %doc LICENSE NOTICE README
%endif
%changelog %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7547084dfa940607b3c2feee8cdc7d78839082e7706133402e6db3f76a9f7170
size 26498740

3
v6.40.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3af348cd9815370013ca6207825ac0bf7285de7fe5762199cf655f430908b898
size 9062310