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
[447x2]
Try it:
svn co https://svn.github.com/rebolsource/r3-hostkit.git
On the other hand, I've never met anyone who went back after giving 
a modern DVCS (which means mostly Git and Hg) a serious try.
Carl
29-Oct-2010
[449]
So, to mark an official release, like A110, is it only necessary 
to commit with that message, or do we need to make a tag as well?
Andreas
29-Oct-2010
[450x3]
I would suggest adding a tag as well.
A tag is a minimal object in git, just pointing to a commit.
They are cheap! :)
Carl
29-Oct-2010
[453]
I'm running out of questions. (A good thing.)
Andreas
29-Oct-2010
[454x2]
Incorporating changes from others will raise some questions.
But I think we should not get ahead of ourselves.
Carl
29-Oct-2010
[456x5]
Yes, we can deal with that as it happens.
Ok, so here's the rough plan...
Tomorrow, if all goes well, I'll finish A110. I'll check that both 
the win32 and posix dirs are correct and build.


As part of the process, I'm going to text process the files to set 
them to LF only.

Then, I'll push it to the rebol/r3-host-kit repo (to be created.)
Do we want r3-hostkit or r3-host-kit ?
Most of the time I write it host-kit.
Andreas
29-Oct-2010
[461x3]
I would prefer r3-hostkit and call the thing "hostkit".
Those in-between dashes have a tendency of getting dropped or replaced 
by spaces or worse. So it's basically an attempt to preempt this 
:)
But whatever you prefer. r3-host-kit is fine as well.
Carl
29-Oct-2010
[464]
The problem is that host-kit appears in many places spelled like 
that already. It may lead to errors to remove the - at this time.
Andreas
29-Oct-2010
[465]
Yes, agreed.
Carl
29-Oct-2010
[466]
I'm going to let the RMA team know what's going on... so hopefully 
they can sync up on things quickly.
Andreas
29-Oct-2010
[467]
I would also suggest pushing into rebol/sandbox first, so that we 
can look over it together.
Carl
29-Oct-2010
[468]
Will do.
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?