Trac es una herramienta para la gestión de proyectos y el seguimiento de errores escrita en Python, inspirado en CVSTrac. Su nombre original era svntrac, debido a su fuerte dependencia de Subversion.2 Está desarrollado y mantenido por Edgewall Software, es software libre y de código abierto.
Hasta mediados de 2005 estaba disponible bajo la Licencia Pública General de GNU, pero desde su versión 0.9 se distribuye bajo laLicencia BSD modificada.3
- Permite enlazar información entre una base de datos de errores de software, un sistema de control de versiones y el contenido de unwiki.
- Sirve como interfaz web de un sistema de control de versiones como Subversion, Git, Mercurial, Bazaar o Darcs.
- Utiliza un sistema de plantillas web propio llamado Genshi.
(Fuente Wikipedia)
apt-get install tracPara configurarlo crearemos un directorio para el repositorio del proyecto:
mkdir /var/lib/trac1Y finalmente lo inicializamos:
trac-admin /var/lib/trac1/ initenv
Creating a new Trac environment at /var/lib/trac1
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]> Projecte Proves EiTheL Inside
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]>
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]> /var/lib/trac1-repo
Creating and Initializing Project
Installing default wiki pages
TracSearch imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSearch
TracReports imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracReports
InterMapTxt imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterMapTxt
TracWorkflow imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracWorkflow
TracPermissions imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracPermissions
WikiRestructuredText imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiRestructuredText
WikiRestructuredTextLinks imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiRestructuredTextLinks
TracLinks imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracLinks
SandBox imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/SandBox
TracAccessibility imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracAccessibility
TracRoadmap imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRoadmap
TracWiki imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracWiki
WikiProcessors imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiProcessors
TracEnvironment imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracEnvironment
TracChangeset imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracChangeset
TracTickets imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTickets
TracFineGrainedPermissions imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracFineGrainedPermissions
TracRss imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRss
WikiDeletePage imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiDeletePage
TitleIndex imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TitleIndex
TracStandalone imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracStandalone
TracTimeline imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTimeline
WikiNewPage imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiNewPage
TracInterfaceCustomization imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracInterfaceCustomization
CamelCase imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/CamelCase
PageTemplates imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/PageTemplates
TracLogging imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracLogging
RecentChanges imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/RecentChanges
TracNavigation imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracNavigation
WikiMacros imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiMacros
TracBrowser imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracBrowser
WikiStart imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiStart
TracQuery imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracQuery
WikiPageNames imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiPageNames
TracBackup imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracBackup
WikiFormatting imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiFormatting
InterTrac imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterTrac
TracAdmin imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracAdmin
InterWiki imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/InterWiki
TracRevisionLog imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracRevisionLog
TracCgi imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracCgi
TracUnicode imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracUnicode
TracSupport imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSupport
TracModPython imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracModPython
TracUpgrade imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracUpgrade
TracSyntaxColoring imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracSyntaxColoring
TracPlugins imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracPlugins
TracFastCgi imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracFastCgi
TracGuide imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracGuide
TracTicketsCustomFields imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracTicketsCustomFields
TracInstall imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracInstall
TracIni imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracIni
TracNotification imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracNotification
TracImport imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/TracImport
WikiHtml imported from /usr/lib/python2.6/dist-packages/trac/wiki/default-pages/WikiHtml
/var/lib/python-support/python2.6/svn/fs.py:27: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import sys as _sys, os as _os, popen2 as _popen2, tempfile as _tempfile
/usr/lib/python2.6/dist-packages/trac/core.py:36: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
---------------------------------------------------------------------
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 'Projecte Proves EiTheL Inside' created.
You may now configure the environment by editing the file:
/var/lib/trac1/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 /var/lib/trac1
Then point your browser to http://localhost:8000/trac1.
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!
Ahora podemos arrancarlo en modo standalone:tracd --port 8000 /var/lib/trac1
Server starting in PID 11741. Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
No hay comentarios:
Publicar un comentario