Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20955 - [trac] optional single environment

Attached to Project: Community Packages
Opened by Alper Kanat (T-u-N-i-X) - Sunday, 26 September 2010, 18:32 GMT
Last edited by Brad Fanella (cesura) - Friday, 08 October 2010, 02:02 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/etc/conf.d/tracd.conf

can include a boolean variable to enable/disable single environment for tracd. It's very straightforward therefore I'm not adding any additional information.

thanks!
This task depends upon

Closed by  Brad Fanella (cesura)
Friday, 08 October 2010, 02:02 GMT
Reason for closing:  Fixed
Comment by Brad Fanella (cesura) - Sunday, 26 September 2010, 20:21 GMT
What is it you are proposing? A seperate package be made named "trac-single-environment" (or something similar)? Couldn't the user simply enable/disable it themselved? :-)
Comment by Alper Kanat (T-u-N-i-X) - Sunday, 26 September 2010, 20:28 GMT
I needed to edit the init script both for some bugs and some features.. The things and the reasons why I added them are:

/etc/conf.d/tracd.conf:

* HOSTNAME: if you're using a server in front of tracd like nginx, you might want to enable this using 127.0.0.1, or maybe you just want to respond to some subdomain..
* SINGLE: for creating single environments for tracd

/etc/rc.d/tracd:

* Added HOSTNAME feature
* Changed digest authentication to basic authenticaton (most people use it, maybe we can add another option for this too)
* Added SINGLE feature
* $AUTH (in in line containing: tracd $SINGLE -d $HOSTNAME $PORT "$AUTH" $PROJECT) needed to be quoted because it doesn't work correctly when realms with spaces are used

Attaching my files to the ticket..
Comment by Alper Kanat (T-u-N-i-X) - Sunday, 26 September 2010, 20:29 GMT
attaching files..
Comment by Brad Fanella (cesura) - Sunday, 26 September 2010, 22:45 GMT
Well, features that have not been accepted upstream are 99.99% of the time not accepted into the Arch package tree. If you can convince the developers to include it into their software and release it, then it can be safely included.
Comment by Brad Fanella (cesura) - Sunday, 26 September 2010, 22:47 GMT
Well, I suppose the bugged line can be changed out of the package.
Comment by Brad Fanella (cesura) - Sunday, 26 September 2010, 22:57 GMT
Alright package updated. Try it out and tell me if this can be safely closed.

Loading...