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

BrianH
29-Oct-2010
[232x2]
OK. And then I will remember to never initially create a source file 
with CRLF.
That will be a real problem for most REBOL users though, as they 
use Windows.
Andreas
29-Oct-2010
[234]
That's a separate decision, then.
BrianH
29-Oct-2010
[235]
Yes, but on topic for managing the build process. Hence the question.
Andreas
29-Oct-2010
[236x3]
As Carl correctly said, "If C code line terminators are effecting 
your tools, I suggest you get better tools."
As long as we are using something consistently ...
Carl's call, I guess.
BrianH
29-Oct-2010
[239]
I would recommend using Unix line endings in the repo, whatever you 
like locally, and just not allow script checksums or compression 
in the official repo.
Andreas
29-Oct-2010
[240]
Agreed. Would be my choice as well.
Fork
29-Oct-2010
[241x3]
Yup.
Want to reiterate: Bravo for taking this step, you guys.
I know it's hard to use an unfamiliar tool, and I empathize with 
BrianH's observations about how Linus's Git implementation does have 
a hefty dependency stack (if you don't use Linux where all that stuff 
is taken for granted).  If you're trying to stage a revolution in 
software methodology it might seem a bit like you're sleeping with 
the enemy...
BrianH
29-Oct-2010
[244]
I have a github account now: BrianHawley. Next week I will be putting 
up repos for R2/Forward and the loadable version of R3's module system.
Fork
29-Oct-2010
[245]
There'll certainly be things you want changed and improved, and I 
think the best way to do that is to insinuate Rebol into the predominant 
toolchain rather than see it as its own completely parallel universe. 
 Github itself is based on Ruby on Rails, but they're using a python 
syntax colorizer.  If a tool is good, it can get slipstreamed in... 
and Rebol is so small that it could do the same, if it just mellowed 
out and became a little less prickly...
Oldes
29-Oct-2010
[246]
Is it possible that if we add enough REBOL scripts, GitHub associates 
.r extension to REBOL?
Fork
29-Oct-2010
[247x2]
Rebol is not the only language where file extension issues come up, 
but they're trying to take the sort of Apple philosophy of "we'll 
figure it out" as opposed to there being a web of settings.  It's 
just not high on their priority list to "sense" whether a file is 
Rebol or not.
But long term that's what they want, to sniff and guess instead of 
offer settings.  The GitHub people are very pragmatic, and opinionated, 
and (in my experience) quick and efficient.
BrianH
29-Oct-2010
[249]
The new default lookup extension for IMPORT is .reb, so maybe we 
can use that, or .r2 or .r3 for version-specific code.
Fork
29-Oct-2010
[250x2]
I saw the .reb thing.  They would probably do that.  They've already 
given Rebol .r2, .r3, and .rebol ... tekkub and I seem to have a 
little bit of a rapport now so I could probably ask him to do .reb 
too
But still, why not .rebol ?
BrianH
29-Oct-2010
[252]
But you have to remember that R is really established, so it will 
be hard to take .r away from them in Github.
Andreas
29-Oct-2010
[253]
(-> "Source Control")
Fork
29-Oct-2010
[254x3]
They were talking about recognizing the rebol header, that's what 
they want to do, they just don't have the priority.
I imagine that if RT said "hey we'd like to be your customers and 
pay you for a closed source hosting account of capacity X" then for 
some X they'd accept adding that sensor to the system as a priority.
Without that, they tend to their paying clients priorities first, 
I think.
BrianH
29-Oct-2010
[257]
Good point :)
Fork
29-Oct-2010
[258]
You could add it to gitorious trivially, or run your own gitorious 
installation which favors .r for Rebol, but outsourcing things like 
this seems to me like it's worth every penny... esp when it's free.
Andreas
29-Oct-2010
[259]
Fork, _please_ move this discussion to "Source control".
Carl
29-Oct-2010
[260]
Had the chance to read Git for Computer Scientists.

Any system that has a "rebase" cannot be all bad. ;)
Andreas
29-Oct-2010
[261]
rebase rocks :)
Carl
29-Oct-2010
[262x2]
Checking for git on local ubuntu.
nope. not found
Andreas
29-Oct-2010
[264x2]
up until 10.04 the package is called "git-core"
for anything before 9.04 (jaunty), the packaged git-core is rather 
old, so you're probably better off installing from source.
Carl
29-Oct-2010
[266x5]
yes, I was concluding that same thing.
git does not make
Strolling down a dangerous road...
Why should git be dependent on curl-config ?
must be what he uses for ssh.
Andreas
29-Oct-2010
[271x3]
you'll need:
libz-dev
libcurl4-gnutls-dev
libexpat1-dev
and probably also:

asciidoc, xmlto, docbook-xsl, subversion, libsvn-perl (or libsvn-core-perl), 
unzip, tcl85., gettext, cvs, cvsps, libdb-sqlite3-perl
(those should all be valid package names for ubuntu)
Pekr
29-Oct-2010
[274]
I just wonder - if SVN worked for RebGUI, would not it be sufficient 
for R3 too?
Carl
29-Oct-2010
[275]
The versioned interdependencies of Linux systems are enough to blow 
your mind.
GrahamC
29-Oct-2010
[276]
It didn't really work for rebgui ...
Andreas
29-Oct-2010
[277]
another (possibly simpler) option for recent git on ubuntu is to 
use third-party packages. just add 
deb http://ppa.launchpad.net/git-core/ppa/ubuntulucid main

to /etc/apt/sources.list, replacing "lucid" with the name or your 
distro. then do an `apt-get update` and `apt-get install git-core`
GrahamC
29-Oct-2010
[278]
Everyone had their own forks which were not merged back in
Carl
29-Oct-2010
[279x3]
Andreas, ok, will try that instead.
First, let me see if I can grab a working AltME for this linux box... 
so I don't need to keep looking back at a different screen ;)
AtlME installed.
Syncing this world.