gitweb

Authenticating Gitweb with Gitosis without LDAP Auth?

大兔子大兔子 提交于 2020-01-03 12:31:55
问题 I found your article using Apache Auth with gitweb, gitosis. I was wondering if there was a way to do this if I wasn't using LDAP for authentication. We currently have a very large NIS domain which we use for authentication on all unix servers. We use this for SVN repositories through a UI, but for this case I am trying to meet a requirement of: Git Repositories Access Controlled - using Gitolite Online UI - using Gitweb UI must also have Access Control - not yet implemented I was thinking

Gitweb not displaying some repos

早过忘川 提交于 2020-01-02 18:48:52
问题 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

Gitweb not displaying some repos

五迷三道 提交于 2020-01-02 18:48:20
问题 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

git-http-backend returns error 502

百般思念 提交于 2019-12-31 04:01:06
问题 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 failure: fatal: missing object 0000000000000000000000000000000000000000 for refs/heads/master [closed]

梦想与她 提交于 2019-12-23 10:51:54
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I'm trying to use gitweb with a set of repositories that are managed with gitolite. We can successfully clone/push/pull from them over ssh with no problems. When I try to view the index page, I get the following

Cannot see repositories

别等时光非礼了梦想. 提交于 2019-12-11 03:40:09
问题 Installed GitWeb and CGit to tryout web interfaces to my Git/Gitosis repositories. Runing on Fedora 13 and my Gitosis is working great. I installed gitweb and cgit and setup the configs to point to my repositories but neither gitweb or cgi will list the repositories. Gitweb shows the gitweb page but shows: 404 - No projects found I have the proper directory listed in the /etc/gitweb.conf file of: $projectroot = "/var/lib/gitosis/repositories"; $projects_list = "/var/lib/gitosis/gitosis

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

倖福魔咒の 提交于 2019-12-10 01:50:19
问题 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

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

霸气de小男生 提交于 2019-12-09 06:04:41
问题 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. 回答1: Here's something you can stick somewhere under sub git_summary in your gitweb.perl or gitweb.cgi . Note

Git controlled access to repository

寵の児 提交于 2019-12-08 08:54:18
问题 I have a git repository in Apache server. How can allow my developers to have full access i.e read and write access to the repository. I am working on windows platform. 回答1: The idea is to call git directly from the httpd Apache config file using the git-http-backend exe. This is part of the smart http protocol, that I mention in this answer. Env GIT_PROJECT_ROOT C:/GIT/Apache/repositories SetEnv GIT_HTTP_EXPORT_ALL SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER ScriptAliasMatch \ "(?x)^/(.*/(HEAD

gitolite + gitweb | 'repo @all R = gitweb' not working

亡梦爱人 提交于 2019-12-08 07:27:16
问题 For some reason the following gitolite.conf does not add any repository to projects.list. When I set 'R = gitweb' for each repository manually, they get added to projects.list. [....] repo aaa repo bbb repo @all RW+ = @admins R = gitweb [...] Any hints for me? I'd really like to allow gitweb access to all repositories and then remove permissions for a single repositories via '- = gitweb' ... 回答1: I don't actually need gitweb rules or project.list to be complete in my gitweb setup: I only make