This is useful for any developer you does not have commit rights to
CC's svn repository but wants to easily customize, experiment with,
or add-to the existing activities.
If you create changes or new code that you think should be combined
back into otrunk-examples send a message to the list.
Speaking with Chad yesterday it seemed that he and Aaron missed a
useful bit in step 12 in the documentation I created about how to get
access to the raw form of he resources without addeding additional
url query parameters.
12. Create a new External OTrunk Activity in a DIY instance and set
the External otml url to:
http://github.com/newgithubuser/otrunk-examples.git/LOOPS/hanging-with-friends-2-mw-jruby.otml
Note: the form of the url to get access to the raw files! Github only
makes plain http access to the raw forms of the files in the master
branch of the repository. The form of that url is:
http://github.com/<github-user>/<repository-name>.git/
Hmmm ... actually since I wrote that github was updated to support
real raw access to any resource in any branch:
Now it's easier and you can have raw access to any branch.
Here's an example:
This url renders an html view of the state of the
GENIQUEST-pilot-intro.otml file in HEAD revision of the master branch:
http://github.com/stepheneb/otrunk-examples/tree/master/Geniquest/GENIQUEST-pilot-intro.otml
This is the new form for access to the raw resource:
http://github.com/stepheneb/otrunk-examples/raw/master/Geniquest/GENIQUEST-pilot-intro.otml
When you are viewing an html representation of a resource on github
the "Raw" link references a url that presents the raw form of the
resource with any additional url query parameters.
I've upodated the confluence page:
http://confluence.concord.org/display/CSP/Forking+otrunk-examples+with+git+and+using+the+fork+for+testing
FYI: The jgit/egit Eclipse plugin is now quite functional. The update site is:
http://www.jgit.org/update-site/
Here's an intro for using github with Eclipse:
ttp://github.com/guides/using-the-egit-eclipse-plugin-with-github