Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Updated docs and code to reflect move from SVN to git
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Tuley authored and Rob Tuley committed Apr 29, 2010
1 parent d1fd16c commit db31af4
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 427 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.cache
.cache/*
unit.xml
319 changes: 0 additions & 319 deletions _docs/.assets/sh/ec2-build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion _docs/.engine/Doc/Qa.php
Expand Up @@ -15,7 +15,7 @@ class Doc_Qa extends Doc_Map
function getLog()
{
if (is_null($this->log)) {
$path = T_ROOT_DIR.'.log.xml';
$path = T_CACHE_DIR.'unit.log.xml';
if ($this->log = file_exists($path)) {
$this->log = simplexml_load_file($path);
}
Expand Down
2 changes: 1 addition & 1 deletion _docs/.engine/Navigation.php
Expand Up @@ -54,7 +54,7 @@ function __construct(T_Url $root,Package_Gateway $gw)
$qa = $nav->createByAppendPath('qa','QA');
$this->populateFromDir(DOC_DIR.'qa/',$qa);
// test report
if (file_exists(T_ROOT_DIR.'.log.xml')) {
if (file_exists(T_CACHE_DIR.'unit.log.xml')) {
$report = $qa->createByAppendPath('report','Unit Test Report');
$qa->addChild($report,'report');
}
Expand Down
2 changes: 1 addition & 1 deletion _docs/.engine/_tpl/class.tpl
Expand Up @@ -46,7 +46,7 @@ foreach ($this->class->getMethods() as $method) {
$this->placeholder('features')->capture(); ?>

<p>Prefer reading code to documentation?
<a href="<?= $this->url('download'); ?>">Checkout the source from SVN</a>.
<a href="<?= $this->url('download'); ?>">Checkout the source using git</a>.
</p>

<? $this->placeholder('features')->stop(); ?>
25 changes: 10 additions & 15 deletions _docs/.engine/_tpl/download.tpl
Expand Up @@ -11,29 +11,24 @@ $f = new T_Filter_Xhtml();

<? $this->partial('in_dev'); ?>

<p>The code library is managed in subversion, and anonymous checkout is
<p>The code library is managed using git, and anonymous checkout is
possible from:</p>

<p class="download">
<a href="http://svn.knotwerk.com/trunk/">http://svn.knotwerk.com/trunk/</a>
<a href="http://knotwerk.com/knotwerk.git">http://knotwerk.com/knotwerk.git</a>
</p>

<h2>What is 'Subversion'?</h2>
<h2>What is 'Git'?</h2>

<p>Subversion is a version control tracking system for code. For windows
users it is usually easiest to use a graphical tool such as
<a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> to
manage the files directly in Explorer. On other systems there are a
variety of command line and GUI tools for managing Subversion repositories.</p>
<p>Git is a version control tracking system for code. To get the knotwerk
library, you will need to 'clone' the current repository:</p>

<p>To get the knotwerk library, you will need to 'checkout' the
URL <a href="http://svn.knotwerk.com/trunk/">http://svn.knotwerk.com/trunk/</a>. This gets you the latest copy of the knotwerk library. As updates are made
to the library, you can simply 'update' your existing set of files which
will merge any changes to the library with any you have made yourself.</p>
<p><code>git clone http://knotwerk.com/knotwerk.git</code></p>

<p>Subversion is a powerful tool to track the history of a codebase, and if
you are new to it you will find comprehensive document in
the <a href="http://svnbook.red-bean.com/">SVN book</a>.</p>
<p>When you want to get updates that have been made to the main library,
'pull' and merge those updates into your local copy:</p>

<p><code>git pull</code></p>

<? $this->placeholder('sidebar')->append(); ?>

Expand Down
2 changes: 1 addition & 1 deletion _docs/.engine/_tpl/home.tpl
Expand Up @@ -48,7 +48,7 @@ $f = new T_Filter_Xhtml();
<div class="box">
<h2>Want to see the code?</h2>
<p>If you want to poke around the code itself, you can
<a href="<?= $this->url('download'); ?>">use subversion to grab yourself a copy</a>.</p>
<a href="<?= $this->url('download'); ?>">use git to grab yourself a copy</a>.</p>
</div>

<div class="box">
Expand Down

0 comments on commit db31af4

Please sign in to comment.