Questions for git users
#1
For any addon developers who use git.

Do you keep each addon in a separate branch then merge into main or do you just keep one master branch?

I may switch from svn, but not sure the best way to handle it. any pros or cons?
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
most of the git users keep each addon in a separate repo and in each repo you can have several branches of the same addon (like master/development or master/stable)
So you will have
https://github.com/Your.Name/plugin.foo.bar1
https://github.com/Your.Name/plugin.foo.bar2
https://github.com/Your.Name/plugin.foo.bar3

Here's a good example (thx Sphere Wink )
https://github.com/dersphere?tab=repositories

Since i never used SVN i'm not the one to judge on pros/cons but i hear most of them they like it although there is a some learning curve which you will probably easily overcome.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
thank you, will check it out.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
Generally, it's better to "branch early, branch often." It'll make life much easier if you expect to send or receive pull requests.
Reply
#5
(2013-04-08, 21:56)Martijn Wrote: Here's a good example (thx Sphere Wink )
https://github.com/dersphere?tab=repositories
You're welcome Wink

@Nukka1195:
You have two big benefits when you use multiple repos for multiple add-ons:
1. You are able to clone your repos into your xbmc add-ons folder and develop/test there.
2. Your commit logs are separate.
My GitHub. My Add-ons:
Image
Reply
#6
great thanks for all the info. will do separate repos.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Questions for git users0