r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Source Control] How to manage build process

Andreas
29-Oct-2010
[469]
(We all here on AltME and RMA, that is.)
Carl
29-Oct-2010
[470]
Ok, that's it for now.  We will see how things go tomorrow.  There 
are as many as 10 more Curecode tickets to fix in A110.
BrianH
29-Oct-2010
[471]
All the "pending" ones have been fixed already.
Andreas
29-Oct-2010
[472]
Well, got to run now. See you later/tomorrow!
GrahamC
29-Oct-2010
[473]
congratulations on making this happen guys
Carl
29-Oct-2010
[474]
Brian: I want to get Steve Solie's changes in there too for A110.
Pekr
30-Oct-2010
[475]
Now someone should really write some short docs. This is so complex 
and surely was not created for normal mortal, who just wants to download 
few source files and build a distro? So I downloaded Tortoise Git, 
naively thinking this is all I need. No, so I installed Git preview 
version (not full msysGit). Now - what should I do? I created a directory 
called host-kit, right pressed mouse, and chose "create repository 
here" or something like that. Now once again I press right mosue 
button, and try either git-clone, or Git sync, but it does nothing 
... I think my problem might be (apart from being too dumb and not 
willing to spend tonnes of my free time with such complex stuff):

- I am required to have some kind of account at target site

- I don't have it somehow linked with SSH stuff (did not choose to 
use my putty installation during the installation phase)


How do I get the actual copy of R3 Host Kit? There might be plenty 
users as me, willing just to download recent sources, and build, 
not to commit anything ...
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
[517x2]
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