Active
Project:
Git Browser
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2012 at 16:33 UTC
Updated:
30 Dec 2012 at 08:19 UTC
Both in the alpha and the devel version I get the following errors and nothing else works
Problem running git "rev-list --max-count=16 HEAD"
Notice: Undefined variable: output em gb_get_tag_list() (linha 326 de /var/www/sites/all/modules/gitbrowser/gb.inc).
Any hint?
Thanks
Comments
Comment #1
nesta_ commented+1
Comment #2
nesta_ commentedMy projects is not a repository git, only theme folder is a repository. That is the problem?
Comment #3
core44 commentedIt looks like you're right nguerrero, just playing around with the lb.module right now, and if you I do a find and replace of
'repos' => './.git'with'repos' => 'path/to/your/repo/.git'visiting yoursite/admin/srm will display info for the repository you set the path for.To me It looks like the lb.module is intended to be an example of how to use the api provided by the gb.module in your own module...and it currently only points to your installation root. So perhaps a nice development /alternative version might be to have the module implement a new content type of which the nodes acted as simple configurations for your local repos. Each node could map a repository with a path within your drupal install (I usually have at least 3 separate repos in my drupal installs so it would be useful to me)... then viewing the relevant node would display the summary / git tools etc.
Possibly something Ill look at implementing for myself if I can find the time. Ill let you know how I get on.