gitweb

Gitweb not displaying some repos

萝らか妹 提交于 2019-12-06 07:46:40
I am trying to use Gitolite + Gitweb but I am running into some problems.. My conf/gitolite.conf is the following @dataset_repos = dat1 dat2 @closedsrc_repos = cod1 cod2 @opensrc_repos = testing @admins = user1 user2 @bios = user1 user2 user3 @coders = user1 user3 repo gitolite-admin RW+ = @admins repo @opensrc_repos RW+ = @all repo @dataset_repos RW+ = @admins @bios repo @closedsrc_repos RW+ = @admins @coders When I first inserted repository code1 and code2, git told me: remote: Initialized empty Git repository in /home/git/repositories/code1.git/ remote: Initialized empty Git repository in

Anyone familiar with the git error “missing object 0000000000000000000000000000000000000000 for refs/heads/…”?

China☆狼群 提交于 2019-12-05 01:16:22
We are running git v1.7.1 and have gitweb configured. We also use gitolite for administration, but I do not believe that is germane to this issue. From time to time we get an error in the Apache log like: missing object 0000000000000000000000000000000000000000 for refs/heads/... Where the elipse at the end is typically a branch name. I believe that the string of zeros is suppost to be a SHA1 value. Obviously, all zeros is not a SHA1 value. It is not clear to me where this value is comming from? I have run git fsck on the server and it did not report an issue, however git gc resolves the

Gitweb: how to display markdown file in html format automatically like github

六月ゝ 毕业季﹏ 提交于 2019-12-03 07:16:10
Markdown is important for documentation, it is very nice to see README.md can be automatically show in html format in github like https://github.com/twitter/bootstrap/blob/master/README.md gitweb is written in perl script, and there is plugin for markdown in perl already. I want to check whether there is plugin/solution to let gitweb automatically show html files for markdown format. Here's something you can stick somewhere under sub git_summary in your gitweb.perl or gitweb.cgi . Note that it depends on an external markdown executable. if (!$prevent_xss) { $file_name = "README.md"; my $proj

git push .git/description file

前提是你 提交于 2019-12-03 05:42:05
问题 Is it possible to push the changes in the .git directory to a remote repository? I wish to have a common project description and not have to re-enter it for all the clones of my repository. It's strange that the project description is something that is not common to each clone. 回答1: You could store a description (or .description , if you don't want it to be visible) in the root of your repo, and then symlink .git/description to that in each repo, like so: repo/ .description .git/ description

How to get gitolite / gitweb working together?

心不动则不痛 提交于 2019-12-02 12:25:05
问题 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 this work. My gitweb.conf contains $git_temp = "/tmp"; # The directories where your projects are. Must not end with a slash. $projectroot = "/srv/git/repositories"; $projects_list = "/srv/git/projects.list"; My .gitolite.rc contains $PROJECTS_LIST

How to get gitolite / gitweb working together?

孤人 提交于 2019-12-02 05:49:42
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 this work. My gitweb.conf contains $git_temp = "/tmp"; # The directories where your projects are. Must not end with a slash. $projectroot = "/srv/git/repositories"; $projects_list = "/srv/git/projects.list"; My .gitolite.rc contains $PROJECTS_LIST = $ENV{HOME} . "/projects.list"; I've checked and the projects.list file goes get updates as per

git-http-backend returns error 502

被刻印的时光 ゝ 提交于 2019-12-02 05:17:24
I'm running gitweb and gitolite on my server: http://git.jshawl.com/ I'm having trouble setting up the git-http-backend to allow anonymous cloning. Here's what my vhosts file ( /etc/apache2/extra/httpd-vhosts.conf ) looks like: <VirtualHost *:80> DocumentRoot "/Users/git/repositories" ServerName git.jshawl.com <Directory "/Users/git/repositories"> Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All order allow,deny Allow from all AddHandler cgi-script cgi DirectoryIndex gitweb.cgi </Directory> <LocationMatch "^/.*/git-receive-pack$"> AuthType Basic AuthName "Git Access"

How do I have to configure gitweb and gitolite so they'll work together?

雨燕双飞 提交于 2019-11-30 05:03:51
I am trying to make gitweb work with gitolite... but unsuccessful so far. I am working on a RedHat Linux machine. A user called git exists. gitolite is installed under: /home/git Repository location: /home/git/repositories Please note that, gitweb was working fine with plain vanilla git. Now i am trying to make it work with gitolite. Here are what my files look like: /etc/gitweb.conf $projectroot = "/home/git/repositories"; @git_base_url_list = qw(ssh://[MyHostName]/home/git/projects.list); $projects_list = "/home/git/projects.list" /home/git/projects.list myrepo1.git myrepo2.git /home/git/

How do I have to configure gitweb and gitolite so they'll work together?

筅森魡賤 提交于 2019-11-29 03:41:16
问题 I am trying to make gitweb work with gitolite... but unsuccessful so far. I am working on a RedHat Linux machine. A user called git exists. gitolite is installed under: /home/git Repository location: /home/git/repositories Please note that, gitweb was working fine with plain vanilla git. Now i am trying to make it work with gitolite. Here are what my files look like: /etc/gitweb.conf $projectroot = "/home/git/repositories"; @git_base_url_list = qw(ssh://[MyHostName]/home/git/projects.list);

Git with Ldap on Ubuntu with Apache

偶尔善良 提交于 2019-11-26 23:19:42
问题 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 Ubuntu 12.04.2 server with Apache 2.2.22. I'm not an expert in any of these technologies, so if I'm missing something obvious please let me know. :) My site file contains: <VirtualHost *:80> ServerAdmin admin ServerName myserver RewriteEngine On