{"action":"created","issue":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/2","labels_url":"https://api.github.com/repos/domoticz/domoticz/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/domoticz/domoticz/issues/2/comments","events_url":"https://api.github.com/repos/domoticz/domoticz/issues/2/events","html_url":"https://github.com/domoticz/domoticz/pull/2","id":82915249,"number":2,"title":"Make it possible to build Domoticz when cloned from a GIT repo","user":{"login":"ikkemaniac","id":845292,"avatar_url":"https://avatars.githubusercontent.com/u/845292?v=3","gravatar_id":"","url":"https://api.github.com/users/ikkemaniac","html_url":"https://github.com/ikkemaniac","followers_url":"https://api.github.com/users/ikkemaniac/followers","following_url":"https://api.github.com/users/ikkemaniac/following{/other_user}","gists_url":"https://api.github.com/users/ikkemaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/ikkemaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikkemaniac/subscriptions","organizations_url":"https://api.github.com/users/ikkemaniac/orgs","repos_url":"https://api.github.com/users/ikkemaniac/repos","events_url":"https://api.github.com/users/ikkemaniac/events{/privacy}","received_events_url":"https://api.github.com/users/ikkemaniac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-30T21:18:39Z","updated_at":"2015-05-31T20:23:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/domoticz/domoticz/pulls/2","html_url":"https://github.com/domoticz/domoticz/pull/2","diff_url":"https://github.com/domoticz/domoticz/pull/2.diff","patch_url":"https://github.com/domoticz/domoticz/pull/2.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/comments/107241579","html_url":"https://github.com/domoticz/domoticz/pull/2#issuecomment-107241579","issue_url":"https://api.github.com/repos/domoticz/domoticz/issues/2","id":107241579,"user":{"login":"ikkemaniac","id":845292,"avatar_url":"https://avatars.githubusercontent.com/u/845292?v=3","gravatar_id":"","url":"https://api.github.com/users/ikkemaniac","html_url":"https://github.com/ikkemaniac","followers_url":"https://api.github.com/users/ikkemaniac/followers","following_url":"https://api.github.com/users/ikkemaniac/following{/other_user}","gists_url":"https://api.github.com/users/ikkemaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/ikkemaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikkemaniac/subscriptions","organizations_url":"https://api.github.com/users/ikkemaniac/orgs","repos_url":"https://api.github.com/users/ikkemaniac/repos","events_url":"https://api.github.com/users/ikkemaniac/events{/privacy}","received_events_url":"https://api.github.com/users/ikkemaniac/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T20:23:29Z","updated_at":"2015-05-31T20:23:29Z","body":"Ok good to know.\r\n\r\nI think you'll love git once you're used to it.\r\n\r\nIn my opinion the best thing to do, if you're fully commited to using git, would be to drop the whole 4 digit patch versioning. In true git style this version number should be replaced by the (short, 7 chars) git hash. \r\n\r\nEach and every commit is uniquely identifiable by its hash (which is actually 40 chars long). So commits can be easily distinguished from another, even when on different branches.\r\n\r\nFor debugging it would pose no problem at all if you'll make the GUI version show the git hash. The git hash is easily recognized as a hash, it's unique (you can even see if someone is using a commit that is not from your repo but their own work since it just doesn't exist in you repo).\r\n\r\nMy preferred branching model for the Domoticz repo would be as described by [url=http://nvie.com/posts/a-successful-git-branching-model/]this article[/url]\r\n- master branch, this the 'stable' branch where the releases live, including proper tags.\r\n- develop branch, this is the 'beta release' or 'nightly builds' branch. This would be the branch that you are pushing you development to and test it.\r\n- if you want to support pre-compiled images i would create a separate folder in the repo, for example called 'images'. This folder would containg only a single file in the master and develop branch stating: \"Pre-compiled images are stored in the images branch!\"\r\nA dedicated images branch would be created. In this branch you would then put the actualy image files you want to make available into the images folder. This can be done by simple making a new commit to branch with the correct files. (the \"downside\" is that older versions will always stay available due the availability of the git history of the branch! If this might be a problem you can override normal git behaviour and override the current commit in that branch.\r\n- all kinds of different working branches. These are the branches you'll actually commit all you work to while developing or bugfixing.\r\n\r\npls take a look at the link, they have a very nice graphic presentation about this 'branching'.\r\n\r\nSo the biggest hurdle would be that you need to get used to hex version numbers :)\r\n\r\nI'll take a look at the makebeta/makerelease files and propose a change."}}