How to get code updates in the master source tree?

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!
ogroot
Posts: 9
Joined: Sunday 13 March 2016 23:49
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

How to get code updates in the master source tree?

Postby ogroot » Wednesday 16 March 2016 12:58

How can I upload/promote changed code to the Domoticz master source tree?

I updated Gpio.cpp in order to be able to use the extra 9 GPIO ports of the Pi2.
The current version of Gpio.cpp was limited to the old number of GPIO ports of the Pi A/B.

I compiled, tested and used the new build with modded Gpio.cpp and it works flawlessly.

I can imagine that other people also want to use this!

Does anyone know How can I upload my "improved Gpio.cpp" to the source tree ??
Is there a quide / instruction somewhere?

paulvha
Posts: 65
Joined: Friday 29 January 2016 17:26
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: How to get code updates in the master source tree?

Postby paulvha » Wednesday 16 March 2016 13:37

Not that I have seen. I had made update to GPIO.cpp before to extend with all GPIOś and support compute module (supporting more GPIO and new wiringPi output)..

ogroot
Posts: 9
Joined: Sunday 13 March 2016 23:49
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: How to get code updates in the master source tree?

Postby ogroot » Wednesday 16 March 2016 14:32

It would be a pitty to let these improvements / enhancements go to waste!
They increase the usability of Domoticz and are useful to many other users.

However, I do not have any experience with GitHub, nor can I find any instructions.
So if someone could guide us...........

User avatar
Eduard
Posts: 287
Joined: Monday 19 January 2015 10:14
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: The Netherlands
Contact:

Re: How to get code updates in the master source tree?

Postby Eduard » Wednesday 16 March 2016 15:36

Just make a pull request on GitHub with you changed code and when merged it in the master-branche...

See GitHub & Google for help ;)
3x Raspberry Pi (Master, Slave & Test)
1x Test VM Windows (VS 2015)
1x Test VM Ubuntu


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests