netbrain
netbrain

Reputation: 9304

is there a highly customizable web interface for git?

What i want is a git web interface which can show a limited set of information about my git repo. For example, i don't want the source code to be available, but i do want the git log to be.

Is there any git web solution which can be customized for this usecase?

Upvotes: 2

Views: 349

Answers (2)

netbrain
netbrain

Reputation: 9304

Thanks for the responses, i ended up with going for something more heavyweight.

Redmine

Its highly customizable, and i could set rules for which user groups should and shouldn't be able to see the source code.

Upvotes: 0

VonC
VonC

Reputation: 1323135

You can:

  • take GitWeb or Cgit, which are simple cgi programs.
  • put a perl script acting as the main cgi (directive Apache: DirectoryIndex: myScript.pl)
  • make that perl call the git web cgi:
my $output=`./cgit.cgi\` 
or 
my $output=`./gitweb.pl`
  • parse the result of that output to remove any link to the source code part.

That way, you control exactly what you want to display, based on existing web interfaces.

Upvotes: 2

Related Questions