CCF icon indicating copy to clipboard operation
CCF copied to clipboard

Install instructions in the 2.x docs currently install CCF v1.0.19

Open heidihoward opened this issue 3 years ago • 3 comments

Describe the bug The current install docs (https://microsoft.github.io/CCF/main/build_apps/install_bin.html#install) are describing v2.x RCs, however, the commands provided install v1.0.19 by default.

To Reproduce Follow the current install instructions: https://microsoft.github.io/CCF/main/build_apps/install_bin.html#install

Expected behavior I expected the CCF version installed to match the version in the docs I was reading.

Environment information CCF v1.0.19 Host: Azure standard_HB120rs_v3 OS: Ubuntu 20.04 LTS

Additional context This might not be an issue, but I found it a little confusing so I thought it might be worth noting just in case. Feel free to close if this is a non-issue.

heidihoward avatar May 17 '22 15:05 heidihoward

@heidihoward this is a known issue unfortunately, GitHub has a single latest, which is the latest release (not including pre-releases), there is no easy way to have a latest-1.x, latest-2.x etc. The good news is, 2.0 final is due today, but we need a better solution long term, you are right.

achamayou avatar May 17 '22 15:05 achamayou

Thanks for the quick reply! Looking forward to 2.0 final :)

Aside: It is also a shame that simply setting export CCF_VERSION=2.0.0_rc9 does not fix this as the correct URL for the deb package is https://github.com/microsoft/CCF/releases/download/ccf-2.0.0-rc9/ccf_2.0.0_rc9_amd64.deb and thus needs both a underscore and hyphen.

heidihoward avatar May 17 '22 15:05 heidihoward

@heidihoward yes, the combined GitHub and Debian legal character rules are quite unpleasant. We will try to fix this.

achamayou avatar May 17 '22 15:05 achamayou