Difference between revisions of "Dev Tools"

From Dreamwidth Notes
Jump to: navigation, search
(add memcache_view and lookup-routing)
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Update|text=DW has moved to git so this is no longer accurate.}}
 +
 
<dwuser>exor674</dwuser> and <dwuser>afuna</dwuser> set up a [[mercurial]] repository for useful development tools.   
 
<dwuser>exor674</dwuser> and <dwuser>afuna</dwuser> set up a [[mercurial]] repository for useful development tools.   
  
 
== Syncing with the tools repository ==
 
== Syncing with the tools repository ==
  
These instructions will make <code>$LJHOME/bin/cvsreport.pl</code> check out and maintain the tools directory.
+
First check the tools out into the ext directory:
  
First check the tools out into the CVS directory:
+
  cd $LJHOME/ext
 
+
  cd $LJHOME/cvs
+
 
  hg clone https://bitbucket.org/anall/dwdev-tools/
 
  hg clone https://bitbucket.org/anall/dwdev-tools/
  
If <code>multicvs-private.conf</code> does NOT exist in the <code>$LJHOME/cvs/local/cvs</code> directory, create it. (You may need to create <code>$LJHOME/cvs/local</code> or <code>$LJHOME/cvs/local/cvs</code> before.)
+
Then, you will either want to add the bin contents into your <code>$PATH</code>, or call them manually:
  
Either way, add the following text in <code>$LJHOME/cvs/local/cvs/multicvs-private.conf</code>:
+
$LJHOME/ext/dwdev-tools/bin/ljconsole
  
HG(dwdev-tools)    = https://bitbucket.org/anall/dwdev-tools/
+
You will have to manually update this directory:
dwdev-tools        .
+
  
Then, sync twice:
+
  cd $LJHOME/ext/dwdev-tools
 
+
  hg pull
$LJHOME/bin/cvsreport.pl --sync --cvsonly
+
  hg update
$LJHOME/bin/cvsreport.pl --sync --cvsonly
+
  
 
== Current Tools ==
 
== Current Tools ==
Line 29: Line 27:
 
* [[Dev_Tools/inject-latest]]
 
* [[Dev_Tools/inject-latest]]
 
* [[Dev_Tools/memcache_view]]
 
* [[Dev_Tools/memcache_view]]
* [[Dev_Tools/lookup-routing]]
+
 
 +
== Past Tools ==
 +
 
 +
* lookup-routing: Now in the main repository: [[Routing and Template Cookbook: Find the handler for a URL]]
  
 
[[Category: Development]]
 
[[Category: Development]]
 
[[Category: Dev Tools]]
 
[[Category: Dev Tools]]

Latest revision as of 21:53, 1 August 2013

Needs Update: DW has moved to git so this is no longer accurate.

[info]exor674 and [info]afuna set up a mercurial repository for useful development tools.

Syncing with the tools repository

First check the tools out into the ext directory:

cd $LJHOME/ext
hg clone https://bitbucket.org/anall/dwdev-tools/

Then, you will either want to add the bin contents into your $PATH, or call them manually:

$LJHOME/ext/dwdev-tools/bin/ljconsole

You will have to manually update this directory:

 cd $LJHOME/ext/dwdev-tools
 hg pull
 hg update

Current Tools

Past Tools