Inhaltsverzeichnis

Trac Ticket System

Install:

The Trac package and its requierments can be found on slackbuilds.org

useradd -r -d /home/share/trac trac # creates group as well
mkdir /home/share/trac
chown trac:trac /home/share/trac
chmod o-rx /home/share/trac
su - trac
trac-admin /home/share/trac/sid initenv

doc: https://trac.edgewall.org/wiki/TracInstall#RunningtheStandaloneServer

Run as Standalone Server:

su - trac
tracd --port 57397 /home/share/trac/sid

Point broser to: http://etb-111:57397/sid

Suppress index page:

su - trac
touch dummy.html # create an empty page
TRAC_ENV_INDEX_TEMPLATE=/home/share/trac/dummy.html tracd --port 57397 /home/share/trac/sid

src: https://trac.edgewall.org/wiki/TracInterfaceCustomization#ProjectList

Authentication

… ist done with Apache Digest .htpasswd

See https://trac.edgewall.org/wiki/TracStandalone#UsingAuthentication

To add an administrator (in the database), you can give any user in .htpasswd the rights by:

trac-admin /home/share/trac/sid permission add admin TRAC_ADMIN

https://trac.edgewall.org/wiki/TracInstall#Grantingadminrightstotheadminuser

Configuration

"reassign to" Field as Select Box

In conf/trac.ini section [ticket] set restrict_owner = true

More: https://trac.edgewall.org/wiki/TracTickets → Assign-to as Drop-Down Lis

Modify Ticket Types

Is done with trac-admin. See https://trac.edgewall.org/wiki/TicketTypes

always_notify_owner = false ⇒ true

Always notify ticket owner

conf/track.ini: always_notify_owner = false

> ''true''