Closed gu-bin closed 8 years ago
@cunnie has described similar issue in detail here: https://github.com/cloudfoundry-incubator/bosh-softlayer-cpi-release/issues/31. solution is to re-encode so that versions are not base64 encoded.
The releases work good with bosh cli v1. So bosh cli v2 doesn't work compatibly with v1? We have a lot of releases that the versions are base64 encoded. Re-encoding them will be a lot of work. Can bosh cli v2 automatically decode base64 to be compatible with bosh cli v1? Thanks.
we can provide a ruby script you can run once per repo to do this if you are interested.
Sent from my iPhone
On Aug 31, 2016, at 8:57 PM, Gu Bin notifications@github.com wrote:
The releases work good with bosh cli v1. So bosh cli v2 doesn't work compatibly with v1? We have a lot of releases that the versions are base64 encoded. Re-encoding them will be a lot of work. Can bosh cli v2 automatically decode base64 to be compatible with bosh cli v1? Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
@cppforlife Would you please provide this ruby script? Thanks.
Answered in cloudfoundry/bosh-cli#181
For boshcli v1, the release can be uploaded successfully:
But it fails to upload using boshcli v2, returning "Error: version format": version: bosh-cli-0.0.46-linux-amd64
/cc @maximilien @mattcui @jianqiu