If you create a second folder and pull the sources there you can keep the stable and beta next to eachother.
https://www.domoticz.com/wiki/Linux outlines the procedure, just use a different folder when you 'clone' like
Code: Select all
git clone https://github.com/domoticz/domoticz.git <folder>
That will clone the latest code (beta). If you need a different version, go into the folder and issue a
where the hash corresponds with the version.
Accept the warning and continue like normal and yes, it looks like it happens instantaneously

e.g.
Previous stable: 85d7b702da84537d962156607ae45ecc56ca0c59
Last stable: 9eef8726fa85b2b79b44a65ee2d18bc19116e98f
These should both have a 'release tag' here:
https://github.com/domoticz/domoticz/releases but currently only the new stable is tagged, probably because domoticz moved from svn to git in the meantime.
Other versions correspond with the hashes you see in the right column here:
https://github.com/domoticz/domoticz/commits/master
Indeed we could expect new code (beta) is first staged in a branch, however in the current setup domoticz has only one 'master' (the default) branch, which holds all the development. I see there is another branch 'MyDomoticz', which i think is the branch where the mobile app is developped (
https://play.google.com/store/apps/deta ... ticz&hl=en), but im not sure.
Disclaimer: im not sure on any of this, just got into the workings of git a couple of days ago, i thought i'd save you some time, wait for Gizmocus to confirm.
I have been playing with a vm myself the last couple of days, maybe there is a way to keep those builds intact and keep everything in one place, i dont know, there is probably a way to install the build to another location anyway, looks like an export DESTDIR=/opt/domoticz/domoticz_beta before a 'make install' would do the trick, have not tested this, i am just running from the build dir.
@ ashygan: question: in your experience how is the load on the host when you "forward" the rfxtrx to your guest? I see the load went up so i decided the vm isnt a permanent solution. I use VirtualBox, does your vm also use kvm? What increase to the load do you see on the host when the rfxtrx is forwarded?
Also: does the current domoticz.sh work for you? I recently found we can pass the PID location to domoticz so i have been looking at, and changing the file to comply with LSB 3.1 and allow for domoticz to run under different credentials. The current version does not return proper values and isn't working for me. I have a version that works, but not a 100%. Of course i will share when i am confident...LSB and systemd are quite cryptic (sysvinit/Slackware veteran).
@Gizmocus: if my thinking on git is correct, can you please tag that last stable?