![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2013
Device: none
|
Setting Up a GitHub Account
Hi, the Manual suggests setting up a GitHub Account if one intends to make a lot of changes to the source code. As I am trying to 'feel my way around' the code right now I have added many Print Statements to guide me.
However, in reading the Git Manual, it appears that I can 'checkout' a local branch of the code on my computer and make as many changes as I want without affecting the main 'repository' on the server. I can even 'merge' in updates from the server to my local copy to keep it current and still be able to send small 'commits' to the server for possible incorporation into the main file (if I happen to make some). Does anyone see any advantages/disadvantages to going this route as opposed to setting up a whole new GitHub Account? Thanks in advance, Bernie. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,908
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
A github account is very useful if you want to submit changes back to Kovid. Other than that, you can do everything you need to do without one. Other than submission, as far as I can see the development process is identical.
Hmmm... you would have everything except a convenient backup of your repository. Pushing your stuff to your own repo on github puts your work somewhere other than on your local disk. On the other hand, it makes that work visible to others. You pays your dues and makes your choice. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2013
Device: none
|
Thanks for your reply chaley! Very useful. To sum up -- there is no real reason to set up a GitHub Account, because a 'branch' on your local machine will allow one to merge in updates from the server as well as submit changes (via email) to Kovid.
The only advantage? would be that you have your work backed up to a resource other than a local hard drive. Have I got this right? |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,908
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I don't see any inconveniences in having an account. After all, nothing there is secret. |
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2013
Device: none
|
Thanks for the quick response. I guess being new, I'm thinking its kind of silly creating a fork on a public server. Also, I really don't expect to be submitting any 'changes' for awhile. The learning curve seems a little steep right now and (no offense) but the source code documentation seems a little sparse. Right now I'm just placing print statements everywhere (like bread crumbs) trying to figure out which programs get called and when. Its kind of slow going.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
In my opinion, the added value of github comes from its social aspects.
You have easily handled tools to create forks and contribute them back to the originator as pull requests, you have ways to discuss those pull requests and all you do is (optionally) visible to the general public. Basically, it's enabling the whole "standing on the shoulders of giants" thing. Even if you don't use it for calibre right now, I would go ahead and create an account at github, it will come in handy further down the road with other projects |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2013
Device: none
|
Thanks for this feedback. Very interesting comments. Its definitely worth considering further on my part. Thanks.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Audible account and Amazon account | new | Amazon Kindle | 14 | 01-16-2013 02:30 AM |
GitHub mirror | John Peterson | Development | 17 | 01-15-2013 11:50 PM |
Downloading source repository from github fails. Ideas? | Cyberman tM | Kobo Reader | 0 | 05-29-2011 02:17 PM |
Minor Issue: Keyboard Size When Setting Up Account in K-9 | walt526 | enTourage Archive | 1 | 06-30-2010 10:13 PM |
sharing Kindle account = sharing Amazon account? | wong1234 | General Discussions | 5 | 05-23-2010 08:09 PM |