Date
1 - 3 of 3
Issue with cf CLI download links
Noburou TANIGUCHI
Hi team,
We've found some links in the releases page of cf CLI [1] seems broken. For "Linux 64 bit binary" in "CF version v6.13.0", "CF version v6.12.4", and "CF version v6.12.3", we've got the same binary of version "6.14.0+2654a47-2015-11-18" now. I've tested only these three binaries, but I suspect that another version may fall into the same result. Below is the test code I've used: ``` $ mkdir /tmp/tmp $ cd /tmp/tmp $ mkdir 6.13.0 6.12.4 6.12.3 $ for d in *; do pushd $d; wget https://cli.run.pivotal.io/stable?release=linux64-binary&version=${d}&source=github-rel; popd; done ... $ for d in *; do pushd $d; mv stable\?release=linux64-binary cf.tar.gz; tar xzf cf.tar.gz; echo ============ $d; ./cf -v; popd; done ``` and the result of the last command is: ``` /tmp/tmp/tmp/6.12.3 /tmp/tmp/tmp ============ 6.12.3 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp /tmp/tmp/tmp/6.12.4 /tmp/tmp/tmp ============ 6.12.4 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp /tmp/tmp/tmp/6.13.0 /tmp/tmp/tmp ============ 6.13.0 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp ``` Is there any other person who has experienced like this? Thanks in advance. [1] https://github.com/cloudfoundry/cli/releases ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/Issue-with-cf-CLI-download-links-tp2786.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
Koper, Dies <diesk@...>
Hi Noburou,
toggle quoted message
Show quoted text
I checked the 6.13.0 linux 64 bit binary link and got 6.13.0 as expected. One thing that stood out to me in your script (thanks for including!) is that you didn't url encode the query string. Is it possible that your shell interpreted the ampersand so the actual url that was retrieved was "https://cli.run.pivotal.io/stable?release=linux64-binary" which defaults to returning the latest version? Regards, Dies Koper Cloud Foundry CLI PM -----Original Message-----
From: Noburou TANIGUCHI [mailto:dev(a)nota.m001.jp] Sent: Friday, November 20, 2015 10:43 PM To: cf-dev(a)lists.cloudfoundry.org Subject: [cf-dev] Issue with cf CLI download links Hi team, We've found some links in the releases page of cf CLI [1] seems broken. For "Linux 64 bit binary" in "CF version v6.13.0", "CF version v6.12.4", and "CF version v6.12.3", we've got the same binary of version "6.14.0+2654a47-2015-11-18" now. I've tested only these three binaries, but I suspect that another version may fall into the same result. Below is the test code I've used: ``` $ mkdir /tmp/tmp $ cd /tmp/tmp $ mkdir 6.13.0 6.12.4 6.12.3 $ for d in *; do pushd $d; wget https://cli.run.pivotal.io/stable?release=linux64-binary&version=${d}&source=github-rel; popd; done ... $ for d in *; do pushd $d; mv stable\?release=linux64-binary cf.tar.gz; tar xzf cf.tar.gz; echo ============ $d; ./cf -v; popd; done ``` and the result of the last command is: ``` /tmp/tmp/tmp/6.12.3 /tmp/tmp/tmp ============ 6.12.3 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp /tmp/tmp/tmp/6.12.4 /tmp/tmp/tmp ============ 6.12.4 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp /tmp/tmp/tmp/6.13.0 /tmp/tmp/tmp ============ 6.13.0 ./cf version 6.14.0+2654a47-2015-11-18 /tmp/tmp/tmp ``` Is there any other person who has experienced like this? Thanks in advance. [1] https://github.com/cloudfoundry/cli/releases ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/Issue-with-cf-CLI-download-links-tp2786.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
Noburou TANIGUCHI
Thank you, Dies,
YOU ARE RIGHT! I could download the right version binary just by enclosing the URL with single quotes. It's very embarassing for me. I am as stupid as a new recruit. Anyway, thanks again. Koper, Dies wrote Hi Noburou, dev(a).m001 ] cf-dev(a).cloudfoundry Subject: [cf-dev] Issue with cf CLI download links ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/Issue-with-cf-CLI-download-links-tp2786p2793.html Sent from the CF Dev mailing list archive at Nabble.com. |
|