World: r3wp
[!REBOL3 Source Control] How to manage build process
older newer | first last |
ChristianE 30-Oct-2010 [476] | Should be something like >> git clone <hostkit-url> |
Pekr 30-Oct-2010 [477x2] | I use GUI though .... |
I run git bash in the directory, and I get following: [Krenzelok-:-KRENZELOK-PC] c:/!rebol/!R3/host-kit2 (master) $ git clone http://github.com/rebolsource/r3-hostkit Cloning into r3-hostkit... fatal: http://github.com/rebolsource/r3-hostkit/info/refsnot found: did you run git update-server-info on the server? [Krenzelok-:-KRENZELOK-PC] c:/!rebol/!R3/host-kit2 (master) $ | |
Andreas 30-Oct-2010 [479x5] | You shouldn't need to create and init a repository first. |
In the above you are using an incorrect URL. | |
From the command line: $ git clone http://github.com/rebolsource/r3-hostkit.git | |
From the explorer extension, choose a folder into which you want to place the hostkit folder. Right click, tortoisegit, clone, enter http://github.com/rebolsource/r3-hostkit.gitas url. | |
And you need neither an account on Github nor SSH set up for read-only access | |
Pekr 30-Oct-2010 [484x2] | OK, great hel, thank you .... |
as for SSH, it uses its own SSH .... once synced, context menu item git-clone changed to git-sync, and item TortoiseGit now contains many items. I gues for simple updates, I just use git-sync, or tortoiseGit/Pull or Fetch? | |
Andreas 30-Oct-2010 [486x4] | pull or fetch, yes |
(no idea what the "sync" context menu does) | |
fetch just downloads the latest stuff into your local repository, but does not actually touch your working copy (i.e. your files) | |
pull fetches and also updates your working copy | |
Pekr 30-Oct-2010 [490] | Ah, sync might actually try to upload something, or simply delete my own files? |
Andreas 30-Oct-2010 [491] | TortoiseGit's Sync dialog is basically one dialog with both pull and push in it. Pretty easy if you need to do either or both. |
Pekr 30-Oct-2010 [492x2] | IMO Sync is just a shortcut - green icon shows from master to client. In main context menu, I can seee - Sync, Commit, TortoiseGit in the main context menu git section |
OK, thanks ... so - if all devs are going to use it, that's it? I can sync anytime, and have official RT endorsed R3 sources? | |
Andreas 30-Oct-2010 [494x2] | Pull, yes. |
The URLs will probably change, but besides that, that's it. | |
Oldes 30-Oct-2010 [496] | Pekr, why you didn't choosed the download I was recomending and choosed the Tortoise? Btw.. isn't it just enough to go here: http://github.com/rebolsource/r3-hostkit and click the big DOWNLOAD button? |
AdrianS 31-Oct-2010 [497x3] | Hard to see why there's so much stress over the Windows tools - they all work quite well. - TortoiseGit, Cygwin Git, msysgit, etc |
I suppose it's the usual anxiety people have when asked to learn something new | |
but really, Git is not hard to get going under Windows | |
Andreas 31-Oct-2010 [500x2] | (-> "Source control", please.) |
(Also, any replies to Adrian into "Source control", please.) | |
Gregg 1-Nov-2010 [502] | I installed TortoiseGit some time back, but Explorer started crashing soon after (XP x64 here) so I uninstalled it and the crashes stopped. I'll try it again. |
Carl 1-Nov-2010 [503x6] | Andreas, I'd like to assemble a doc for git github access. Just a rough draft, if I can get your comments. |
http://www.rebol.com/r3/docs/git.html-- just a starting point to add to | |
updated | |
The doc is being updated every few mins. | |
Ok, my part is done. Need someone to fill in the blanks. If you post the URLs here, I'll update the doc. | |
BTW, if we miss doing it today, it may need to wait until Thurs. | |
Andreas 1-Nov-2010 [509x2] | I collected my earlier notes here: http://www.rebol.net/wiki/Git_Notes |
Has all the URLs. | |
Carl 1-Nov-2010 [511] | Great |
Andreas 1-Nov-2010 [512x4] | I would add a note that getting a Git version >= 1.6 is strong recommended. |
(The CLI has improved quite a bit in 1.6.) | |
The official site for Git is http://www.git-scm.com/(if you want to add a link). | |
Has a list of download links on http://www.git-scm.com/download | |
Oldes 1-Nov-2010 [516] | related to the "CR/LF behavior", it it possible to get info about actual setting? |
Andreas 1-Nov-2010 [517x5] | The actual settings are core.eol, core.safecrlf, and core.autocrlf |
Documented in git-config(1) or here: http://www.rebol.com/r3/docs/git.html | |
Sorry, wrong link. Here: http://www.kernel.org/pub/software/scm/git/docs/git-config.html | |
I suspect what the msysgit installer does if you choose the "use windows style line endings" option is setting core.autocrlf to true. | |
But I didn't yet confirm this. Someone who installed with this option could do so by looking at the output of "git config --list". | |
ssolie 1-Nov-2010 [522] | Andreas: How would I apply for commit access to the host-kit? I would like to be the Amiga-specific maintainer of course. |
Andreas 1-Nov-2010 [523x2] | Just fork the repository and maintain your changes there. |
And have Carl merge them over when he feels they are ready. | |
ssolie 1-Nov-2010 [525] | So Carl (REBOL Tech) would be the only ones doing merges to the baseline? |
older newer | first last |