[C++] notifications and update procedures for C++ libs?[SOLVED]


#1

hi,
will there be notifications for C++ libs and example sources, and - in case - what would be the update procedures like ?


#2

I think you can subscribe to the BrickPi3 github repo to receive email notifications when there are changes. See here for details on how to “watch” a repo. I don’t think you can subscribe only to notifications of changes in the C directory.

To update, you would follow the install instructions again.


#3

ok, I will try that github notifications thing!
About the update: so that probably actually means, the update procedure erases the prior installation before installing the new one, correct?


#4

If you’re updating on Raspbian for Robots, DI Software Update will automatically remove the old repo before cloning the new one. If you are updating on Raspbian using clone and install, before you clone, you will need to remove the previously cloned repo. You can do that using something like this:

sudo rm -rf /home/pi/Dexter/BrickPi3

#5

thanks, that was very important to know, thank you!


#6

for updating, both
sudo git clone http://www.github.com/DexterInd/BrickPi3.git /home/pi/Dexter/BrickPi3
and
sudo bash /home/pi/Dexter/BrickPi3/Install/install.sh

:?:


#7

Yes both. clone will get the latest files, and then install will install the files. Including removing the old files, here are the commands you should enter to do a BrickPi3 update on Raspbian:

sudo rm -rf /home/pi/Dexter/BrickPi3
sudo git clone http://www.github.com/DexterInd/BrickPi3.git /home/pi/Dexter/BrickPi3
sudo bash /home/pi/Dexter/BrickPi3/Install/install.sh
sudo reboot

After the initial install, reboot is probably not necessary, but it’s still advised.