[Bug 580169] Review Request: loggerhead - Web viewer for the Bazaar version control system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=580169

--- Comment #4 from Terje Røsten <terjeros@xxxxxxxxxxxx> 2010-04-08 04:59:41 EDT ---
I can't get it to work properly, these lines in loggerhead.wsgi:

prefix = config.get_option('user_prefix') or ''
root_dir = bzrconfig.GlobalConfig().get_user_option('http_root_dir')

don't find any config.

I am running under Apache httpd under apache user:

apache:x:48:490:Apache:/var/www:/sbin/nologin

The config file is there:

$ namei /var/www/.bazaar/bazaar.conf
f: /var/www/.bazaar/bazaar.conf
 d /
 d var
 d www
 l .bazaar -> /etc/loggerhead/
   d /
   d etc
   d loggerhead
 - bazaar.conf

$ cat /etc/loggerhead/bazaar.conf
# directory to serve bzr branches from
# Non-bzr directories under this path will also be visible in loggerhead
http_root_dir = '/export/bzr'

# The url prefix for the bzr branches.
http_user_prefix = '/bzr'

bzr-2.0.3.


If I just modify loggerhead.wsgi and sets correct prefix and root_dir it works
fine.

Would be good if the Download Diff link e.g.:

http://localhost/bzr/TestLoggerhead/diff/4

used text/plain and not application/octet-stream as content-type.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]