docs icon indicating copy to clipboard operation
docs copied to clipboard

Master vs dev discrepancy

Open inventor96 opened this issue 1 year ago • 0 comments

While troubleshooting https://github.com/openaps/oref0/pull/1471, noticed that the instructions provide a link to the intall script from the master branch, but run it passing dev as the branch to use. See https://github.com/openaps/docs/blob/master/docs/docs/Build%20Your%20Rig/pi-install.md?plain=1#L63. It looks like this was changed in https://github.com/openaps/docs/pull/1547, but the discrepancy breaks the install because of the python-pip package not being available.

The dev version of the install script does not contain a reference to the package (it was moved to the openaps-packages.sh file, so we need to either change the install script URL to reference the dev branch as well:

curl -s https://raw.githubusercontent.com/openaps/oref0/dev/bin/openaps-install.sh > /tmp/openaps-install.sh && bash /tmp/openaps-install.sh dev

Or merge the current dev branch to master and remove the dev argument to the script:

curl -s https://raw.githubusercontent.com/openaps/oref0/master/bin/openaps-install.sh > /tmp/openaps-install.sh && bash /tmp/openaps-install.sh

inventor96 avatar Jun 03 '24 20:06 inventor96