问题标签 [gitweb]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
git - 我在 gitweb 中看不到我的项目。如何正确配置 gitweb?
目标:在 gitweb 网页上查看我的项目。
我安装了 git+gitolite+gitweb。我的 gitolite.conf 文件是:
当我访问我的服务器的http://server/gitweb/gitweb.cgi但我能看到的唯一项目是:
- 测试.git
在运行 gitolite 的服务器上。/home/git/projects.list 文件有:
当我转到 gitweb URL 时,如何让 PROJECT1 出现?
perl - gitweb 没有看到存储库,因为它看不到 HEAD 文件?
我正在尝试在安装了 git/gitweb 1.7.1 和 httpd 2.2.15 的 CentOS 6.2 服务器上安装 gitweb。
gitweb 的默认项目根目录(在 CGI 脚本中验证)是 /var/lib/git,所以我在其中创建了它和一个裸 git 存储库:
但是在查看http://localhost/git/
时,我看到“404 No projects found”。
我已经通过脚本进行了调试,可以看到它正在查找/var/lib/git/foo
,但是 Perl 的-e
操作符在/var/lib/git/foo/HEAD
. 在文件的同一位置,反引号调用ls
显示该文件在那里可见,但我无法让 Perl-e
看到该文件。
知道什么可能导致此失败吗?这对我来说毫无意义。
编辑:注意这个 CentOS 机器上的 SELinux 扩展似乎被禁用:
编辑:将所有内容从 移动/var/lib/git
到/git
没有帮助。我已将apache
用户更改为拥有真正的 shell,以该用户身份登录,并验证它可以访问所有有问题的目录和文件。
git - gitweb 转换大 svn 存储库时出错
我有一个带有大文件的大型 svn 存储库。我正在将其转换为 git。但是我在 Apache 日志中有这个错误:
“致命:内存不足?mmap 失败:无法分配内存”
我用:
git 版本 1.7.2.5
gitweb 版本 1.7.2.5
git 使用 NO_CURL=1 NO_MMAP=1 编译
我使用本指南安装 git 和 gitweb:https ://github.com/tmacam/private-git-on-dreamhost
并在服务器中执行:
git config --global pack.windowMemory "100m"
git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"
git config --global pack.packSizeLimit "100m"
当我创建服务器存储库时,我使用:
git config pack.windowMemory "100m"
git config pack.SizeLimit "100m"
git config pack.threads "1"
git config pack.packSizeLimit "100m"
在我的电脑中,我使用这个转换脚本:
你能帮助我吗?
linux - gitweb 不通过符号链接加载存储库
我在本地主机上有 gitweb 和一个我已经执行过的示例项目git init
git add
等等。我创建了一个符号链接,sudo ln -s /media/dir/project/.git/ /var/cache/git/project.git
但它不起作用,我仍然可以404 - no project found
访问 localhost/gitweb。
我只能带上项目信息标题(例如描述,...,然后没有项目信息,只有 4 个排序选项)的唯一方法是将 git 物理复制到 /var/cache/git/project.git/ 虽然有些文件不会被复制。这是我无法收到未找到错误的唯一方法。
无论如何,我操纵了/etc/gitweb.conf
and /etc/apache2/conf.d/gitweb
,但它没有帮助。
(我在 Kubuntu 11.10 下使用 apache 2.2)
非常感谢您的帮助!
gitolite - 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 this work.
My gitweb.conf contains
#xA;My .gitolite.rc contains
#xA;I've checked and the projects.list file goes get updates as per changes to the gitlite config once that is pushed back to the repo. So I think it's just gitweb not seeing the list and acting on it, but I can't figure out know why.
I just get the gitweb page with "404 - No projects found" where the project list should be.
UPDATE:
I found that in my case the problem was caused by incorrect Apache config. I had followed http://git@boron/testing.git. I had the following in my VirtualHost:
#xA;This executed gitweb.cgi directly, as the httpd user and without any environment settings. I replaced this block with an explicit call to my suexec wrapper:
#xA;And that fixed my problem.
git - 404 Not Found - 缺少一个 blob 差异参数
在我本地的 ikiwiki 上,我使用 gitweb 浏览文件历史记录。如果我history
在我的 ikiwiki 中单击,然后diff to current
在 gitweb 中单击,它会将我指向如下所示的 URL:
并显示错误消息:
404 Not Found - 缺少一个 blob 差异参数
但是 blob 和 commitdiff 有效。
任何想法如何解决这一问题?
opensuse - 当我在 opensusu 中配置我的 gitweb 时不是 git 存储库
我正在尝试让 gitweb 在 opensuse 中工作。在我配置了一些conf文件之后。它仍然不起作用。它向我提出了一些错误信息:
这是 /etc/gitweb.conf 中的 conf 文件
在 /etc/apache2/conf.d/gitweb.conf 中:
在 /usr/share/gitweb 中,有 gitweb.cgi 、 jiradev 和静态 .jiradev 是 /home/jiradev 的软链接,其中包含一个名为 jirarepo.git(755) 的 git。
opensuse - 如何在 opensuse 中安装和配置 gitweb?
当我运行“zypper install gitweb”时,它返回:
zypper se gitweb 也显示“未找到包”。我的 openSUSE 版本是 11.4。
gitweb - 配置 GitWeb - 404 - 未找到项目
我正在通过 OpenSUSE(非虚拟主机)中的 Apache 在我的系统中配置 gitweb。但是,我收到以下错误:404 - No projects found
.
/etc/gitweb.conf
/etc/apache2/conf.d/gitweb.conf
我在 gitweb 文件夹中添加了一个软链接来链接 gitweb.cgi 和静态文件夹。Apache 错误日志显示gitweb.cgi: Can't opendir(/home/zhijian/gitweb): Permission denied
,但 gitweb 文件夹的权限已设置为 755。有人知道可能导致此问题的原因吗?
git - 在 gitweb 安装中看不到分支
我正在运行 gitweb,没有任何类似 gitolite 或 gitosis 之类的东西。
我的项目显示良好,但我的分支都没有。我只能看到“主人”。
是否有某种文件我需要编辑才能显示?
这是apache配置: