World: r3wp
[!REBOL3 Source Control] How to manage build process
older newer | first last |
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 [395x2] | git diff emits patches |
git format-patch emits patches that are ready to be emailed | |
Carl 29-Oct-2010 [397] | is the "fork" you mention for 4b1 the same as a clone? |
Andreas 29-Oct-2010 [398] | The specific "forking" I was referring to is a Github feature. |
Carl 29-Oct-2010 [399] | ok |
Andreas 29-Oct-2010 [400x4] | We can quickly try it out, it is really simple. |
But if you have a look at http://github.com/earl/r3-hostkit | |
You will see that at the top there is a link "forked from rebolsource/r3-hostkit". | |
When you look at http://github.com/rebolsource/r3-hostkit/network/members | |
Carl 29-Oct-2010 [404] | Whoops, I'm being called to dinner. Will be back in a while, and will check that out. |
Andreas 29-Oct-2010 [405x2] | You'll see that Github lists all "forks" there. |
Enjoy! | |
Carl 29-Oct-2010 [407] | bye for now |
older newer | first last |