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

Carl
29-Oct-2010
[346]
worked
Andreas
29-Oct-2010
[347x3]
lovely
now how old is your freebsd :) ?
based on your ubuntu, it's probably 5.4 :) ?
Carl
29-Oct-2010
[350]
So, that clone gave me a full local repository, right? So, I can 
mess around with it... to get to know it?
Andreas
29-Oct-2010
[351]
Exactly!
Carl
29-Oct-2010
[352x2]
No, I can't get away with that on freebsd. I think it's newer.
Probably updated it about 2 months ago.
Andreas
29-Oct-2010
[354x2]
I'd really suggest updating your Ubuntu at least to the previous 
LTS (8.04).
But that's another story :)
Carl
29-Oct-2010
[356x2]
Yes, we use 8.xx on our servers.
So, what are git templates?
Andreas
29-Oct-2010
[358x2]
Huh?
git init --template=... ?
Carl
29-Oct-2010
[360x2]
git gives me a warning that templates are not found in my git-core 
dir
perhaps because I did not install it, just running it local to my 
acct
Andreas
29-Oct-2010
[362]
yeah, that's most likely the case.
Carl
29-Oct-2010
[363]
not proper env
Pekr
29-Oct-2010
[364]
I thought that this thing is going to be easy? :-)
Carl
29-Oct-2010
[365x3]
In linux, as long as you don't need to recompile the kernel, it is 
considered easy.
Actually, that's prob considered easy too... since Linuxers do it 
for breakfast.
Anyway, I've got something to try out now on Linux, which is good. 
 For systems that might never run git, perhaps Andreas knows how 
to use git to auto-build gzips that we can have posted on the github.
Andreas
29-Oct-2010
[368x2]
No need to.
Github automatically builds tarballs and zipballs for you.
Carl
29-Oct-2010
[370]
Great! Makes it easy.
Andreas
29-Oct-2010
[371x3]
:)
For example:
http://github.com/rebolsource/r3-hostkit/tarball/master
Instead of the final /master you can specify any tagname, branchname, 
or even revision name.
Carl
29-Oct-2010
[374x2]
Very useful.
Ok, so I've read through gittutorial(7) ... and tried out various 
commands here... seems reasonable.
Andreas
29-Oct-2010
[376]
Encouraging!
Carl
29-Oct-2010
[377]
What would be nice is to boil that tutorial down to just the 1, 2, 
3 steps that most R3 developers would need to know.
Andreas
29-Oct-2010
[378]
Agreed.
BrianH
29-Oct-2010
[379]
Be sure to include the right settings to choose for the Windows installer.
Carl
29-Oct-2010
[380]
So, for github, would each developer have their own repository on 
that site?
Andreas
29-Oct-2010
[381x3]
Would be a possibility, yes.
Attaching patches to curecode issues is another.
Brian, any other setting besides the CRLF that you remember?
Carl
29-Oct-2010
[384]
Also, how is that set on Linux? Not sure.
Andreas
29-Oct-2010
[385]
Linux does the sane thing per default :)
Carl
29-Oct-2010
[386]
So... what's the general flow. For example:

1. developer clones host-kit repo
2. makes changes as needed
3. commits to local repo


Then, developer must somehow put them somewhere that we can pull 
from, correct?
Andreas
29-Oct-2010
[387]
Yes.
Carl
29-Oct-2010
[388]
So, there's no "push" is there?
Andreas
29-Oct-2010
[389]
4a1. developer exports commits as patches
4a2. developer attaches the patches to a curecode issue
BrianH
29-Oct-2010
[390]
Do the CRLF-local, LF-repo on Windows; LF local and repo on Linux. 
Then line endings will be normalized. Only applies to text files 
of course.
Andreas
29-Oct-2010
[391x2]
4b1. developer forks the r3-hostkit repo on github to his github 
user account
4b1. developer pushes his changes to his github fork
4b3. developer notifies upstream via r3 chat, altme, curecode, or 
even github pull requests.
Carl
29-Oct-2010
[393x2]
So, there's a git patch command to emit patch file?
Or does user do that manually?
Andreas
29-Oct-2010
[395]
git diff emits patches