Ulfs Blog

Dies ist mein Blog || This is my blog

  • Git: Installation eines eigenen Servers auf Basis von Ubuntu 9.10 (samt Trac)

    • 15 Nov 2009
    • 0 Responses
    •  views
    • git github lighthouseapp trac ubuntu
    • Edit
    • Delete
    • Tags
    • Autopost
    Leider haben sowohl Posterous als auch Blogger mich dazu gezwungen, das Dokument nur im PDF-Format anbieten zu können, da sich beide System entweder an der Länge und/oder den Sonderzeichen im Text verschluckt haben.

    Fragen und Kommentare bitte trotzdem in die Kommentare.

    Click here to download:
    Git und Trac.pdf (78 KB)
    (download)
    Click here to download:
    Git und Trac.pdf (78 KB)

    • Tweet
  • Running trac-git on Ubuntu 9.04 Server

    • 12 Oct 2009
    • 3 Responses
    •  views
    • git python trac ubuntu
    • Edit
    • Delete
    • Tags
    • Autopost

    It took me around two hours to figure out, why Trac was always throwing the following error, when launched using tracd:

    Warning: Can't synchronize with the repository (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

    The Ubuntu package trac-git was perfectly installed and seemed to work fine. The real reason was that the Ubuntu package trac-git depends on python2.6, which obviously doesn't work with trac-git.

    So I did an

    aptitude install python2.5 && rm /usr/bin/python && ln -s /usr/bin/python2.5 /usr/bin/python

    which did the trick. After that, tracd was able to use the trac plugin for Git.

    If it still doesn't work make sure that you have at least the following lines in your project's trac.ini:

    [components] # for plugin version 0.10 gitplugin.* = enabled  # for plugin version 0.11.0.1+ tracext.git.* = enabled  [git] cached_repository = true git_bin = /usr/bin/git persistent_cache = true shortrev_len = 7  [trac] repository_dir = /path/to/git/repository.git repository_type = git

    If everything above is set a

    tracd --port 8000 /var/trac/yourpath

    should start tracd and make it available via port 8000 on your machine.

     

    • Tweet
  • About

    This is my blog. I post about my thoughts here. If you're interested in them, please subscribe to my feed(s).
    Das hier ist mein Blog. Ich schreibe hier über das, was in meinem Kopf so vor geht. Interessant? Abonnieren!

    Follow me: http://twitter.com/ulfklose
    See my tumble log: http://tumblelog.ulfklose.de/
    My Flickr galleries: http://flickr.com/photos/ulfklose
    My business site: http://www.klose-it.de/
    My business blog: http://blog.klose-it.de/

    308192 Views
  • Archive

    • 2012 (1)
      • March (1)
    • 2011 (8)
      • December (1)
      • November (1)
      • August (1)
      • April (2)
      • March (1)
      • February (2)
    • 2010 (37)
      • December (3)
      • November (3)
      • October (3)
      • August (1)
      • July (4)
      • June (8)
      • May (3)
      • April (4)
      • March (1)
      • February (5)
      • January (2)
    • 2009 (45)
      • December (3)
      • November (4)
      • October (4)
      • September (4)
      • August (9)
      • July (21)

    Get Updates

    Subscribe via RSS
    TwitterLinkedInFlickrYoutubeTumblr