Trac: Trac + Subversion をvirtualenvで動かしてみる。

New python executable in trac/bin/python
Installing setuptools…………done.
(trac)hdknr@debpinax:~$
(trac)hdknr@debpinax:~$ mkdir trac
(trac)hdknr@debpinax:~$ cd trac/
(trac)hdknr@debpinax:~/trac$ wget http://www.i-act.co.jp/project/products/downloads/Trac-0.11.5.ja1.zip
–2009-10-06 12:52:15–  http://www.i-act.co.jp/project/products/downloads/Trac-0.11.5.ja1.zip
http://www.i-act.co.jp をDNSに問いあわせています… 221.186.147.250
http://www.i-act.co.jp|221.186.147.250|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 200 OK
長さ: 1008558 (985K) [application/zip]
`Trac-0.11.5.ja1.zip’ に保存中

100%[===============================================>] 1,008,558   68.2K/s 時間 17s

2009-10-06 12:52:32 (59.2 KB/s) – `Trac-0.11.5.ja1.zip’ へ保存完了 [1008558/1008558]
(trac)hdknr@debpinax:~/trac$ unzip Trac-0.11.5.ja1.zip
(trac)hdknr@debpinax:~/trac$ cd Trac-0.11.5.ja1/
(trac)hdknr@debpinax:~/trac/Trac-0.11.5.ja1$ python setup.py install
(trac)hdknr@debpinax:~/trac/Trac-0.11.5.ja1$ python setup.py install
:
:
creating build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/not-zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying Trac.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
creating dist
creating ‘dist/Trac-0.11.5.ja1-py2.5.egg’ and adding ‘build/bdist.linux-i686/egg’ to it
removing ‘build/bdist.linux-i686/egg’ (and everything under it)
Processing Trac-0.11.5.ja1-py2.5.egg
creating /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg
Extracting Trac-0.11.5.ja1-py2.5.egg to /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages
Adding Trac 0.11.5.ja1 to easy-install.pth file
Installing trac-admin script to /home/hdknr/.virtualenvs/trac/bin
Installing tracd script to /home/hdknr/.virtualenvs/trac/bin

Installed /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg
Processing dependencies for Trac==0.11.5.ja1
Searching for Genshi>=0.5
Reading http://pypi.python.org/simple/Genshi/
Reading http://genshi.edgewall.org/
Reading http://genshi.edgewall.org/wiki/Download
Best match: Genshi 0.5.1
Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1-py2.5-linux-i686.egg
Processing Genshi-0.5.1-py2.5-linux-i686.egg
Moving Genshi-0.5.1-py2.5-linux-i686.egg to /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages
Adding Genshi 0.5.1 to easy-install.pth file

Installed /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg
Searching for setuptools==0.6c9
Best match: setuptools 0.6c9
Processing setuptools-0.6c9-py2.5.egg
setuptools 0.6c9 is already the active version in easy-install.pth
Installing easy_install script to /home/hdknr/.virtualenvs/trac/bin
Installing easy_install-2.5 script to /home/hdknr/.virtualenvs/trac/bin

Using /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg
Finished processing dependencies for Trac==0.11.5.ja1

(trac)hdknr@debpinax:~/trac$ mkdir mysite
(trac)hdknr@debpinax:~/trac$ cd mysite
(trac)hdknr@debpinax:~/trac/mysite$ svnadmin create –fs-type fsfs svn
(trac)hdknr@debpinax:~/trac/mysite$ trac-admin trac initenv
Creating a new Trac environment at /home/hdknr/trac/mysite/trac

Trac will first ask a few questions about your environment
in order to initialize and prepare the project database.

Please enter the name of your project.
This name will be used in page titles and descriptions.

Project Name [My Project]> mysite

Please specify the connection string for the database to use.
By default, a local SQLite database is created in the environment
directory. It is also possible to use an already existing
PostgreSQL database (check the Trac documentation for the exact
connection string syntax).

Database connection string [sqlite:db/trac.db]>

Please specify the type of version control system,
By default, it will be svn.

If you don’t want to use Trac with version control integration,
choose the default here and don’t specify a repository directory.
in the next question.

Repository type [svn]> svn

Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.

Path to repository [/path/to/repos]> /home/hdknr/trac/mysite/svn

Creating and Initializing Project
Installing default wiki pages
TracSearch imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracSearch
TracTicketsCustomFields imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/TracTicketsCustomFields
WikiPageNames imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiPageNames
TracGuide imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracGuide
TracAccessibility imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/TracAccessibility
TracTickets imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracTickets
TracLinks imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracLinks
TracAdmin imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracAdmin
TracTimeline imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracTimeline
InterMapTxt imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/InterMapTxt
TracInterfaceCustomization imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/TracInterfaceCustomization
TracRevisionLog imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracRevisionLog
TracRoadmap imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracRoadmap
TracEnvironment imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracEnvironment
CamelCase imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/CamelCase
TracFastCgi imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracFastCgi
TracUnicode imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracUnicode
WikiRestructuredText imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/WikiRestructuredText
TracFineGrainedPermissions imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/TracFineGrainedPermissions
SandBox imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/SandBox
InterWiki imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/InterWiki
TracPermissions imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracPermissions
TracJa imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracJa
TracWorkflow imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracWorkflow
RecentChanges imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/RecentChanges
WikiMacros imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiMacros
TracImport imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracImport
TracUpgrade imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracUpgrade
TracModWSGI imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracModWSGI
TracSupport imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracSupport
WikiDeletePage imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiDeletePage
TracBrowser imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracBrowser
TracInstall imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracInstall
TracWiki imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracWiki
TracSyntaxColoring imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/TracSyntaxColoring
WikiProcessors imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiProcessors
WikiHtml imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiHtml
TracNavigation imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracNavigation
WikiNewPage imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiNewPage
TitleIndex imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TitleIndex
TracModPython imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracModPython
TracStandalone imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracStandalone
TracChangeset imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracChangeset
TracNotification imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default

-pages/TracNotification
WikiStart imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiStart
TracLogging imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracLogging
WikiFormatting imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/WikiFormatting
TracRss imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracRss
TracReports imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracReports
InterTrac imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/InterTrac
PageTemplates imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/PageTemplates
TracPlugins imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracPlugins
WikiRestructuredTextLinks imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-

py2.5.egg/trac/wiki/default-pages/WikiRestructuredTextLinks
TracBackup imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracBackup
TracCgi imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracCgi
TracIni imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracIni
TracQuery imported from /home/hdknr/.virtualenvs/trac/lib/python2.5/site-packages/Trac-0.11.5.ja1-py2.5.egg/trac/wiki/default-

pages/TracQuery

———————————————————————
Warning: couldn’t index the repository.

This can happen for a variety of reasons: wrong repository type,
no appropriate third party library for this repository type,
no actual repository at the specified repository path…

You can nevertheless start using your Trac environment, but
you’ll need to check again your trac.ini file and the [trac]
repository_type and repository_path settings in order to enable
the Trac repository browser.

———————————————————————
Project environment for ‘mysite’ created.

You may now configure the environment by editing the file:

  /home/hdknr/trac/mysite/trac/conf/trac.ini

If you’d like to take this new project environment for a test drive,
try running the Trac standalone web server `tracd`:

  tracd –port 8000 /home/hdknr/trac/mysite/trac

Then point your browser to http://localhost:8000/trac.
There you can also browse the documentation for your installed
version of Trac, including information on further setup (such as
deploying Trac to a real web server).

The latest documentation can also always be found on the project
website:

http://trac.edgewall.org/

Congratulations!

テストアカウント
(trac)hdknr@debpinax:~/trac/mysite$ trac-admin trac permission add anonymous TRAC_ADMIN

(trac)hdknr@debpinax:~/trac/mysite$ cd ..
(trac)hdknr@debpinax:~/trac$ svn co http://trac-hacks.org/svn/tracdeveloperplugin/trunk/ tracdeveloperplugin
A    tracdeveloperplugin/tracdeveloper
A    tracdeveloperplugin/tracdeveloper/dozer
A    tracdeveloperplugin/tracdeveloper/dozer/LICENSE
A    tracdeveloperplugin/tracdeveloper/dozer/reftree.py
A    tracdeveloperplugin/tracdeveloper/dozer/htdocs
A    tracdeveloperplugin/tracdeveloper/dozer/htdocs/jspark.js
A    tracdeveloperplugin/tracdeveloper/dozer/htdocs/main.css
A    tracdeveloperplugin/tracdeveloper/dozer/htdocs/excanvas.compiled.js
A    tracdeveloperplugin/tracdeveloper/dozer/__init__.py
A    tracdeveloperplugin/tracdeveloper/dozer/templates
A    tracdeveloperplugin/tracdeveloper/dozer/templates/trace.html
A    tracdeveloperplugin/tracdeveloper/dozer/templates/tree.html
A    tracdeveloperplugin/tracdeveloper/dozer/templates/graphs.html
A    tracdeveloperplugin/tracdeveloper/htdocs
A    tracdeveloperplugin/tracdeveloper/htdocs/css
A    tracdeveloperplugin/tracdeveloper/htdocs/css/apidoc.css
A    tracdeveloperplugin/tracdeveloper/htdocs/css/plugins.css
A    tracdeveloperplugin/tracdeveloper/htdocs/css/debugger.css
A    tracdeveloperplugin/tracdeveloper/htdocs/js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/debugger.js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/jquery-1.2.1.js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/apidoc.js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/jquery-1.2.6.js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/log.js
A    tracdeveloperplugin/tracdeveloper/htdocs/js/plugins.js
A    tracdeveloperplugin/tracdeveloper/util.py
A    tracdeveloperplugin/tracdeveloper/__init__.py
A    tracdeveloperplugin/tracdeveloper/apidoc.py
A    tracdeveloperplugin/tracdeveloper/log.py
A    tracdeveloperplugin/tracdeveloper/plugins.py
A    tracdeveloperplugin/tracdeveloper/debugger.py
A    tracdeveloperplugin/tracdeveloper/main.py
A    tracdeveloperplugin/tracdeveloper/javascript.py
A    tracdeveloperplugin/tracdeveloper/templates
A    tracdeveloperplugin/tracdeveloper/templates/developer
A    tracdeveloperplugin/tracdeveloper/templates/developer/debug_help.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/apidoc.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/plugins.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/prefs_developer.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/debug.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/index.html
A    tracdeveloperplugin/tracdeveloper/templates/developer/debug_node.html
A    tracdeveloperplugin/setup.py
U   tracdeveloperplugin
リビジョン 6651 をチェックアウトしました。

(trac)hdknr@debpinax:~/trac$ cd tracdeveloperplugin/

(trac)hdknr@debpinax:~/trac/tracdeveloperplugin$ python setup.py bdist_egg
running bdist_egg
running egg_info
creating TracDeveloper.egg-info
writing TracDeveloper.egg-info/PKG-INFO
writing top-level names to TracDeveloper.egg-info/top_level.txt
writing dependency_links to TracDeveloper.egg-info/dependency_links.txt
writing entry points to TracDeveloper.egg-info/entry_points.txt
writing manifest file ‘TracDeveloper.egg-info/SOURCES.txt’
unrecognized .svn/entries format in
reading manifest file ‘TracDeveloper.egg-info/SOURCES.txt’
writing manifest file ‘TracDeveloper.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/tracdeveloper
copying tracdeveloper/javascript.py -> build/lib/tracdeveloper
copying tracdeveloper/__init__.py -> build/lib/tracdeveloper
copying tracdeveloper/apidoc.py -> build/lib/tracdeveloper
copying tracdeveloper/plugins.py -> build/lib/tracdeveloper
copying tracdeveloper/main.py -> build/lib/tracdeveloper
copying tracdeveloper/debugger.py -> build/lib/tracdeveloper
copying tracdeveloper/util.py -> build/lib/tracdeveloper
copying tracdeveloper/log.py -> build/lib/tracdeveloper
creating build/lib/tracdeveloper/dozer
copying tracdeveloper/dozer/__init__.py -> build/lib/tracdeveloper/dozer
copying tracdeveloper/dozer/reftree.py -> build/lib/tracdeveloper/dozer
creating build/lib/tracdeveloper/htdocs
creating build/lib/tracdeveloper/htdocs/css
copying tracdeveloper/htdocs/css/debugger.css -> build/lib/tracdeveloper/htdocs/css
copying tracdeveloper/htdocs/css/apidoc.css -> build/lib/tracdeveloper/htdocs/css
copying tracdeveloper/htdocs/css/plugins.css -> build/lib/tracdeveloper/htdocs/css
creating build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/apidoc.js -> build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/debugger.js -> build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/jquery-1.2.6.js -> build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/plugins.js -> build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/log.js -> build/lib/tracdeveloper/htdocs/js
copying tracdeveloper/htdocs/js/jquery-1.2.1.js -> build/lib/tracdeveloper/htdocs/js
creating build/lib/tracdeveloper/templates
creating build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/debug.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/plugins.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/prefs_developer.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/index.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/debug_help.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/apidoc.html -> build/lib/tracdeveloper/templates/developer
copying tracdeveloper/templates/developer/debug_node.html -> build/lib/tracdeveloper/templates/developer
creating build/lib/tracdeveloper/dozer/htdocs
copying tracdeveloper/dozer/htdocs/main.css -> build/lib/tracdeveloper/dozer/htdocs
copying tracdeveloper/dozer/htdocs/jspark.js -> build/lib/tracdeveloper/dozer/htdocs
copying tracdeveloper/dozer/htdocs/excanvas.compiled.js -> build/lib/tracdeveloper/dozer/htdocs
creating build/lib/tracdeveloper/dozer/templates
copying tracdeveloper/dozer/templates/tree.html -> build/lib/tracdeveloper/dozer/templates
copying tracdeveloper/dozer/templates/trace.html -> build/lib/tracdeveloper/dozer/templates
copying tracdeveloper/dozer/templates/graphs.html -> build/lib/tracdeveloper/dozer/templates
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/javascript.py -> build/bdist.linux-i686/egg/tracdeveloper
creating build/bdist.linux-i686/egg/tracdeveloper/htdocs
creating build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/apidoc.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/debugger.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/jquery-1.2.6.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/plugins.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/log.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
copying build/lib/tracdeveloper/htdocs/js/jquery-1.2.1.js -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/js
creating build/bdist.linux-i686/egg/tracdeveloper/htdocs/css
copying build/lib/tracdeveloper/htdocs/css/debugger.css -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/css
copying build/lib/tracdeveloper/htdocs/css/apidoc.css -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/css
copying build/lib/tracdeveloper/htdocs/css/plugins.css -> build/bdist.linux-i686/egg/tracdeveloper/htdocs/css
copying build/lib/tracdeveloper/__init__.py -> build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/apidoc.py -> build/bdist.linux-i686/egg/tracdeveloper
creating build/bdist.linux-i686/egg/tracdeveloper/dozer
creating build/bdist.linux-i686/egg/tracdeveloper/dozer/htdocs
copying build/lib/tracdeveloper/dozer/htdocs/jspark.js -> build/bdist.linux-i686/egg/tracdeveloper/dozer/htdocs
copying build/lib/tracdeveloper/dozer/htdocs/main.css -> build/bdist.linux-i686/egg/tracdeveloper/dozer/htdocs
copying build/lib/tracdeveloper/dozer/htdocs/excanvas.compiled.js -> build/bdist.linux-i686/egg/tracdeveloper/dozer/htdocs
copying build/lib/tracdeveloper/dozer/__init__.py -> build/bdist.linux-i686/egg/tracdeveloper/dozer
copying build/lib/tracdeveloper/dozer/reftree.py -> build/bdist.linux-i686/egg/tracdeveloper/dozer
creating build/bdist.linux-i686/egg/tracdeveloper/dozer/templates
copying build/lib/tracdeveloper/dozer/templates/tree.html -> build/bdist.linux-i686/egg/tracdeveloper/dozer/templates
copying build/lib/tracdeveloper/dozer/templates/trace.html -> build/bdist.linux-i686/egg/tracdeveloper/dozer/templates
copying build/lib/tracdeveloper/dozer/templates/graphs.html -> build/bdist.linux-i686/egg/tracdeveloper/dozer/templates
copying build/lib/tracdeveloper/plugins.py -> build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/main.py -> build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/debugger.py -> build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/util.py -> build/bdist.linux-i686/egg/tracdeveloper
copying build/lib/tracdeveloper/log.py -> build/bdist.linux-i686/egg/tracdeveloper
creating build/bdist.linux-i686/egg/tracdeveloper/templates
creating build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/debug.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/plugins.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/prefs_developer.html -> build/bdist.linux-

i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/index.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/debug_help.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/apidoc.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
copying build/lib/tracdeveloper/templates/developer/debug_node.html -> build/bdist.linux-i686/egg/tracdeveloper/templates/developer
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/javascript.py to javascript.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/apidoc.py to apidoc.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/dozer/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/dozer/reftree.py to reftree.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/plugins.py to plugins.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/main.py to main.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/debugger.py to debugger.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/util.py to util.pyc
byte-compiling build/bdist.linux-i686/egg/tracdeveloper/log.py to log.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying TracDeveloper.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying TracDeveloper.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracDeveloper.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracDeveloper.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracDeveloper.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
tracdeveloper.dozer.__init__: module references __file__
creating dist
creating ‘dist/TracDeveloper-0.2-py2.5.egg’ and adding ‘build/bdist.linux-i686/egg’ to it
removing ‘build/bdist.linux-i686/egg’ (and everything under it)

(trac)hdknr@debpinax:~/trac/tracdeveloperplugin$ ls dist/
TracDeveloper-0.2-py2.5.egg

(trac)hdknr@debpinax:~/trac/tracdeveloperplugin$ cp dist/*.egg ../mysite/trac/plugins/

(trac)hdknr@debpinax:~/trac/tracdeveloperplugin$ cd ../mysite/

hdknr@debpinax:~$ sudo /usr/local/nginx/sbin/nginx
hdknr@debpinax:~$ sudo lsof -i:80
COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx   5435   root    6u  IPv4  75836      0t0  TCP *:www (LISTEN)
nginx   5436 nobody    6u  IPv4  75836      0t0  TCP *:www (LISTEN)

(trac)hdknr@debpinax:~/trac/mysite$ tracd -r –port 8000 trac
Server starting in PID 5271.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/

(trac)hdknr@debpinax:~/trac/mysite$ tracd -r –port 8000 trac
Server starting in PID 5585.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
127.0.0.1 – – [06/Oct/2009 13:15:32] "GET / HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/css/trac.css HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/css/wiki.css HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/trac.ico HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/js/jquery.js HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/js/jquery.js HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/css/code.css HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/js/trac.js HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/js/search.js HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/developer/js/log.js HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/topbar_gradient.png HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/dots.gif HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/extlink.gif HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/trac_logo_mini.png HTTP/1.0" 200 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/site/your_project_logo.png HTTP/1.0" 404 –
127.0.0.1 – – [06/Oct/2009 13:15:52] "GET /trac/chrome/common/trac_logo_mini.png HTTP/1.0" 200 –

 WS000008

WS000009

127.0.0.1 – – [06/Oct/2009 13:16:35] "GET /trac/timeline HTTP/1.0" 500 –
127.0.0.1 – – [06/Oct/2009 13:16:35] "GET /trac/chrome/site/your_project_logo.png HTTP/1.0" 404 – WS000010

(trac)hdknr@debpinax:~$ python -c "import svn"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named svn

(trac)hdknr@debpinax:~$ sudo aptitude install subversion-tools python-subversion -y
パッケージリストを読み込んでいます… 完了
依存関係ツリーを作成しています
状態情報を読み取っています… 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています… 完了
タスクの記述を読み込んでいます… 完了
以下の新規パッケージがインストールされます:
  libconfig-inifiles-perl{a} libsvn-perl{a} liburi-perl{a} libxslt1.1{a} python-subversion subversion-tools xsltproc{a}
更新: 0 個、新規インストール: 7 個、削除: 0 個、保留: 0 個。
2,858kB のアーカイブを取得する必要があります。展開後に 10.4MB のディスク領域が新たに消費されます。
拡張状態情報を書き込んでいます… 完了
取得:1 http://ftp.jp.debian.org squeeze/main libsvn-perl 1.6.3dfsg-1 [1,110kB]
取得:2 http://ftp.jp.debian.org squeeze/main liburi-perl 1.37+dfsg-1 [88.3kB]
取得:3 http://ftp.jp.debian.org squeeze/main libxslt1.1 1.1.24-2 [227kB]
取得:4 http://ftp.jp.debian.org squeeze/main python-subversion 1.6.3dfsg-1 [1,087kB]
取得:5 http://ftp.jp.debian.org squeeze/main xsltproc 1.1.24-2 [110kB]
取得:6 http://ftp.jp.debian.org squeeze/main libconfig-inifiles-perl 2.52-1 [47.8kB]
取得:7 http://ftp.jp.debian.org squeeze/main subversion-tools 1.6.3dfsg-1 [188kB]
2,858kB を 21s 秒でダウンロードしました (131kB/s)
未選択パッケージ libsvn-perl を選択しています。
(データベースを読み込んでいます … 現在 34643 個のファイルとディレクトリがインストールされています。)
(…/libsvn-perl_1.6.3dfsg-1_i386.deb から) libsvn-perl を展開しています…
未選択パッケージ liburi-perl を選択しています。
(…/liburi-perl_1.37+dfsg-1_all.deb から) liburi-perl を展開しています…
未選択パッケージ libxslt1.1 を選択しています。
(…/libxslt1.1_1.1.24-2_i386.deb から) libxslt1.1 を展開しています…
未選択パッケージ python-subversion を選択しています。
(…/python-subversion_1.6.3dfsg-1_i386.deb から) python-subversion を展開しています…
未選択パッケージ xsltproc を選択しています。
(…/xsltproc_1.1.24-2_i386.deb から) xsltproc を展開しています…
未選択パッケージ libconfig-inifiles-perl を選択しています。
(…/libconfig-inifiles-perl_2.52-1_all.deb から) libconfig-inifiles-perl を展開しています…
未選択パッケージ subversion-tools を選択しています。
(…/subversion-tools_1.6.3dfsg-1_all.deb から) subversion-tools を展開しています…
man-db のトリガを処理しています …
libsvn-perl (1.6.3dfsg-1) を設定しています …
liburi-perl (1.37+dfsg-1) を設定しています …
libxslt1.1 (1.1.24-2) を設定しています …
python-subversion (1.6.3dfsg-1) を設定しています …
xsltproc (1.1.24-2) を設定しています …
libconfig-inifiles-perl (2.52-1) を設定しています …
subversion-tools (1.6.3dfsg-1) を設定しています …
python-support のトリガを処理しています …
パッケージリストを読み込んでいます… 完了
依存関係ツリーを作成しています
状態情報を読み取っています… 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています… 完了
拡張状態情報を書き込んでいます… 完了
タスクの記述を読み込んでいます… 完了

(trac)hdknr@debpinax:~$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import *
>>> dir()
[‘__builtins__’, ‘__doc__’, ‘__name__’, ‘client’, ‘core’, ‘delta’, ‘fs’, ‘ra’, ‘repos’, ‘wc’]

動きました。

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中