Questions tagged [gitweb]

Gitweb is a Git repository web interface.

GitWeb is a Git repository web interface.

Using GitWeb you can browse directory trees at arbitrary revisions, view contents of files (blobs), see log or shortlog of a given branch, examine commits, commit messages and changes made by a given commit. GitWeb can generate feeds in RSS or Atom format. You can get any given version of a file; if not disabled you can download a snapshot of a given version of a project (project tree at given revision). You can search (if it is not disabled) for commits by an author, added to repository by a comitter, commit with commit message (commit description) which includes some text.

133 questions
2
votes
2 answers

Get list of repositories using gitweb for external use

To be used in another external script, we need the list of repositories hosted in a git repository server. We have GitWeb also enabled on the server. Any one know if GitWeb exposes some API through which we can get the list of repositories ? Like…
skn
  • 21
  • 1
2
votes
2 answers

Git with Ldap on Ubuntu with Apache

I'm new to Git and trying to get an installation of Git, Gitolite, and Gitweb working with LDAP. So far, we have Gitweb working with LDAP. I've reviewed many posts and guides posted around the web, but have not found a solution yet. This is on an…
user1167926
  • 21
  • 1
  • 3
2
votes
1 answer

Using gitweb to grep filenames?

The grep drop-down works great for finding file content, but is there some way to find a file by name or glob from gitweb? Something along the lines of find . -iname but the gitweb equivalent.
engineerC
  • 2,808
  • 17
  • 31
2
votes
1 answer

setup git server/web with lighttpd: gives ...git-upload-pack not found

I've setup lighttpd and gitweb. Created an empty repository as follows: $server> git --version git version 1.7.11.7 $server> git --bare init p1 $server> cd p1 $server> git update-server-info $server> cd .. $server> chown -R lighttpd:lighttpd p1 In…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
2
votes
1 answer

setting up git instaweb with nginx

I'm trying to setup gitweb with Nginx. But git instaweb supports very few web servers including httpd, apache, webrick etc. I tried to use nginx as http daemon in git instaweb, but it failed. [smit@smit-pc:/src/project]$ git instaweb -d…
smitrp
  • 1,292
  • 1
  • 12
  • 28
2
votes
2 answers

Debian + Gitolite + Gitweb = 404 - No projects found

this is a topic you find realy often. However, I tried everything since 2 days and I'm running out of ideas. Hope someone can help me here. In general I did the following: apt-get install gitolite gitweb added repos to gitolite.conf (see…
haggis
  • 407
  • 2
  • 20
2
votes
1 answer

How to disable relative date display on gitweb?

How can I stop gitweb from displaying all dates relative, eg: 3 days ago, 2 weeks ago, 3 days ago, 11 days ago, 21 hours ago? It gets quite annoying when I want to skim and see what changed around a certain date if they're all relative.
Wivlaro
  • 1,455
  • 1
  • 12
  • 18
2
votes
1 answer

Git Web Interface

I am trying to make the viewgit interface work for my projects. However I am running into this curious issue with PHP exec: These 2 unix commands work from inside my viewgit/ directory: /viewgit-> GIT_DIR=/usr/local/apache2/htdocs/repo/.git git…
drenocartero
  • 4,941
  • 7
  • 26
  • 26
2
votes
0 answers

gitweb 404 - No projects found when gitolite-admin push

Context: gitolite (v3.5-0-g4071623) installed; gitweb installed; gitolite and gitweb works fine until I add a new repository in gitolite-admin and push the changes gitweb user: www-data gitolite user: git with: usermod -a -G git…
qt-x
  • 133
  • 1
  • 9
2
votes
1 answer

How do I change the Gitweb default diff format to `--color-words`?

I want gitweb to output the same diff format as git diff --color-words. Does anybody know how I can do this? I looked at HTML::FromANSI but couldn't get it working with git diff --color-words from the command line.
singingfish
  • 3,136
  • 22
  • 25
2
votes
1 answer

gitweb redirect to https

I am an Apache noob and am trying to automatically redirect requests for http://.com/gitweb to https://.com/gitweb I've set the following to /etc/apache2/conf.d/gitweb Alias /gitweb /usr/share/gitweb Options…
Wanderer
  • 544
  • 1
  • 7
  • 23
2
votes
1 answer

Why git sometimes shows that a file was changed when it was not?

DragonFly BSD uses git as its SCM, with one single repository and branch for both the kernel and the whole userland. On 2011-11-26, someone did a commit that somehow touched every single file in the repository, even though most files were not…
cnst
  • 25,870
  • 6
  • 90
  • 122
2
votes
3 answers

how to install gitweb on redhat

How do i install Gitweb on Redhat? Red Hat version is 2.6.18-308.11.1.el5 , x86_64 machine. Git version is 1.7.10-rc4 I downloaded the gitweb-1.7.9.6-1.el5.rf.x86_64.rpm file and ran the command as below. rpm -i…
maxmelbin
  • 2,045
  • 3
  • 21
  • 29
2
votes
2 answers

Cleaner git remote urls

I'm attempting to run my own git server with gitweb as the web interface. I'm serving up a directory called 'git/' here: /Users/me/Sites/git, which is the document root for git.example.com I've created a user on my mac named 'git', such that I can…
jshawl
  • 3,315
  • 2
  • 22
  • 34
1
vote
1 answer

How to get gitolite / gitweb working together?

I have gitweb and gitolite installed. I can configure a repo for gitweb access and it appears in the "projects.list" file but the repo is not listed by gitweb in the browser. I've been searching and searching but can't find what I am missing to make…
starfry
  • 9,273
  • 7
  • 66
  • 96
1 2 3
8 9