首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • gitweb 配置概述

    --restart restart the web server 命令介绍:https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb   gitweb配置参考:https://git-scm.com/docs/gitweb.conf  命令使用参考:https://git-scm.com/docs/git-instaweb  命令配置 :位于.git/gitweb/目录下;建议使用 webrick启动;  保持更新,更多内容请参考cnblogs.com/xuyaowen;  配置项目名为 bar.git: ?

    67610发布于 2020-12-30
  • 来自专栏运维前线

    4.7 服务器上的 Git - GitWeb

    GitWeb 如果你对项目有读写权限或只读权限,你可能需要建立起一个基于网页的简易查看器。 Git 提供了一个叫做 GitWeb 的 CGI 脚本来做这项工作。 ? Figure 4-1. GitWeb 的网页用户界面 如果你想要查看 GitWeb 如何展示你的项目,并且在服务器上安装了轻量级网络服务器比如 lighttpd 或webrick, Git 提供了一个命令来让你启动一个临时的服务器 一些 Linux 发行版的软件库有 gitweb 包,可以通过 apt 或 yum 来安装,你可以先试试。 接下来我们来快速的了解一下如何手动安装 GitWeb。 $ cd git/ $ make GITWEB_PROJECTROOT="/opt/git" prefix=/usr gitweb SUBDIR gitweb SUBDIR ../ make GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ 需要注意的是,你需要在命令中指定 GITWEB_PROJECTROOT

    1.2K70发布于 2019-05-26
  • 来自专栏哎_小羊

    记录Gerrit2.8.4环境迁移、安装、配置以及问题解决

    : yum install gitweb mysql: 5.1 + 说明: 1、gerrit是由java代码编写的,所以jdk环境必须。 4、gitweb这个是git的一个可视化操作的环境,界面操作,直观。 5、mysql我们这里使用mysql作为gerrit的数据存贮。 1)# yum install gitweb 2)修改git.conf # vi /etc/httpd/conf.d/git.conf 将 "Alias /git /var/www/git" 改为 "Alias /gitweb /var/www/git" 3)修改gitweb.conf # vi /etc/gitweb.conf 3、gitweb配置,如果已经安装,那么gerrit会自动获取路径配置,如果之后安装,这里可以手动配置下路径。

    3.3K90发布于 2018-01-02
  • 来自专栏站长的编程笔记

    .git 目录结构内容解析

    : # v1.0.0 # Lines starting with '#' will be ignored. .git/config ---- .git/description ---- 用于在 GitWeb 中展示项目的描述信息,GitWeb 是 git 版本库的图形化 web 浏览功能 在 git 官方文档中有以下描述: # description 仅由 GitWeb 程序使用,所以不用担心 The description file is used only by the GitWeb program, so don’t worry about it. lighttpd 服务 git instaweb --start 打开浏览器访问 http://127.0.0.1:1234 这段话就是 .git/description 文件的内容,可以编辑这个文件内容来让 GitWeb

    1K30编辑于 2022-12-16
  • 来自专栏开源部署

    CentOS 6.3下使用Gitosis安装搭建Git Server教程

                  CentOS6.3 x64 Git:                        git-1.7.1 Gitosis:                  Gitosis Gitweb 七.安装gitweb 1.首先我们需要Git的源码,其中带有GitWeb,并能生成定制的CGI脚本: 代码如下: # git clone git://git.kernel.org/pub/scm/git /git.git # cd git/ # make GITWEB_PROJECTROOT="/home/git/repositories" prefix=/usr gitweb # cp -rf gitweb /usr/local/apache2/htdocs/ 注: 通过指定 GITWEB_PROJECTROOT 变量告诉编译命令 Git 仓库的位置 2.设置Apache以CGI方式运行该脚本,并添加一个  <Directory /usr/local/apache2/htdocs/gitweb>  Options +ExecCGI  AllowOverride All  order allow,deny

    67320编辑于 2022-07-03
  • 来自专栏程序手艺人

    Git 读书笔记

    重新阅读了Git Book ,发现了一些之前不知道的高级用法,时常会去更新 GitWeb 建立一个基于网页的简易查看器,Git提供了一个GitWeb的CGI脚本完成这项工作 安装lighttpd git

    39130发布于 2019-02-21
  • 来自专栏PostgreSQL研究与原理解析

    PG/GP排序中的abbreviated key

    Patch地址: https://git.postgresql.org/gitweb/? p=postgresql.git;a=commit;h=a76ef15d9fc9207a0758e8d6f6700dc8c931a934 https://git.postgresql.org/gitweb

    65730编辑于 2022-04-27
  • 来自专栏菜鸟成长学习笔记

    Git最全系列教程(四)

    一些 Linux 发行版可以通过 apt 或 yum 安装一个叫做 gitweb 的软件包,不妨首先尝试一下。我们将快速介绍一下手动安装 GitWeb 的流程。 cd git/ $ make GITWEB_PROJECTROOT="/opt/git" \ prefix=/usr gitweb/gitweb.cgi $ sudo cp - Rf gitweb /var/www/ 注意,通过指定 GITWEB_PROJECTROOT 变量告诉编译命令 Git 仓库的位置。 Gitweb support: Gitolite supports gitweb in several ways. 参数,便能达成是否允许 GitWeb 用户浏览该项目。

    1.9K10发布于 2019-07-24
  • 来自专栏全栈程序员必看

    建立git服务器_git部署代码到服务器

    gitserver 禁用 a2ensite gitserver 使能 /etc/init.d/apache2 restart 重启 1.apt-get install apache2 2.手动安 装gitweb git clone git://git.kernel.org/pub/scm/git/git.git cd git make GITWEB_PROJECTROOT=”/home/repo” prefix =/usr gitweb/gitweb.cgi cd gitweb cp -av git* /home/repo/ 3.vim /etc/apache2/sites-available/gitserver SymLinksIfOwnerMatch AllowOverride All order allow,deny Allow from all AddHandler cgi-script cgi DirectoryIndex gitweb.cgi 编辑该文件,在gitweb页中就会有 description。 3.gitosis库hooks下的post- update不是由post-update.sample重命名过来的,它们不一样。

    2.7K30编辑于 2022-11-09
  • 来自专栏信创系统开发

    龙芯 UOS 系统升级 Python

    copies of config.guess and config.sub with the latest versions from: https://git.savannah.gnu.org/gitweb p=config.git;a=blob_plain;f=config.guess and https://git.savannah.gnu.org/gitweb/? 解决方法是下载并更新最新版本的 config.sub 和 config.guess: $ sudo wget -O /usr/share/misc/config.sub "git.savannah.gnu.org/gitweb =blob_plain;f=config.sub;hb=HEAD" $ sudo wget -O /usr/share/misc/config.guess "git.savannah.gnu.org/gitweb

    1.2K00编辑于 2025-01-23
  • 来自专栏PostgreSQL研究与原理解析

    PG14 IO向量化

    关于readv、writev、preadv、pwritev参考https://linux.die.net/man/2/preadv 参考 https://git.postgresql.org/gitweb p=postgresql.git;a=commit;h=13a021f3e8c99915b3cc0cb2021a948d9c71ff32 https://git.postgresql.org/gitweb

    53520编辑于 2022-04-27
  • 来自专栏散尽浮华

    [原创]CI持续集成系统环境---部署gerrit环境完整记录

    需要先搭建gitweb,然后进行相关配置 [root@115 ~]# yum install -y gitweb     【或者直接yum install -y git*】 gitweb安装后的目录路径是 -unset gitweb.url 3.重启gerrit,然后登陆gerrit后,gitweb超链接效果就有了 ? ********************** ********************** ********************  gitweb还是蛮实用的。 可以通过打开gerrit上某个工程的gitweb,查看到这个工程代码近期的所有动向! 【默认情况下:只有gerrit的管理员权限才能查看gitweb】 【普通用户要想访问gitweb,需要后续添加访问权限,具体参照http://www.cnblogs.com/kevingrace/p/5651447

    3.3K90发布于 2018-01-22
  • 来自专栏Greenplum

    "enable"参数在 Postgres 18 中的工作方式将有所不同

    SSPV9TVxbbTRVLOnCyewopcc147fBZy%3Df2ABk15eHS%2Bg%40mail.gmail.com [6]Commit e22253467:https://git.postgresql.org/gitweb p=postgresql.git;a=commitdiff;h=e22253467 [7]Commit c01743aa4:https://git.postgresql.org/gitweb/? p=postgresql.git;a=commitdiff;h=c01743aa4 [8]Commit 161320b4b:https://git.postgresql.org/gitweb/? p=postgresql.git;a=commitdiff;h=161320b4b [9]Commit 84b8fccbe:https://git.postgresql.org/gitweb/?

    25010编辑于 2025-09-11
  • 来自专栏夏天的前端笔记

    必知的 Vue3 组件传值技巧:解锁组件交互新姿势

    实现步骤 在父组件中监听事件并接收数据 App.vue <template> <Header @gitWeb="emitsGitWeb" @userAdd="emitsUserAdd"/> button @click="add">点击</button>

    </template> <script setup> const emits = defineEmits(['gitWeb ','userAdd']) emits("gitWeb",{name:'夏天学编程',url:'www.xiatian.com'}) // 子组件可以向父组件传递多个参数。

    1.2K30编辑于 2024-11-13
  • 来自专栏全栈程序员必看

    [解决]Invalid configuration `aarch64-linux’: machine `aarch64′ not recognize「建议收藏」

    amds123/article/details/53258495 思路: 1, 下载最新的配置文件 wget -O config.guess 'http://git.savannah.gnu.org/gitweb p=config.git;a=blob_plain;f=config.guess;hb=HEAD' wget -O config.sub 'http://git.savannah.gnu.org/gitweb

    3.5K10编辑于 2022-11-03
  • 来自专栏全栈程序员必看

    WLS

    The source code is avalable from the Linux Foundation Gerrit server: https://gerrit.o-ran-sc.org/r/gitweb p=o-du%2Fphy.git;a=summary —- 可以自选一个snapshot查看源码实现 https://gerrit.o-ran-sc.org/r/gitweb? Retrieve the source files from the Linux Foundation Gerrit server: https://gerrit.o-ran-sc.org/r/gitweb

    66530编辑于 2022-09-20
  • 来自专栏开源部署

    CentOS 6.5 + Git 1.8.3.1 + Gitosis 构建Git服务器

    install_lib running build_py creating build creating build/lib creating build/lib/gitosis copying gitosis/gitweb.py lib/gitosis/test copying gitosis/test/__init__.py -> build/lib/gitosis/test copying gitosis/test/test_gitweb.py build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/gitosis copying build/lib/gitosis/gitweb.py mirror.py -> build/bdist.linux-x86_64/egg/gitosis byte-compiling build/bdist.linux-x86_64/egg/gitosis/gitweb.py to gitweb.pyc byte-compiling build/bdist.linux-x86_64/egg/gitosis/gitdaemon.py to gitdaemon.pyc byte-compiling

    87020编辑于 2022-06-30
  • 来自专栏PostgreSQL研究与原理解析

    [译]PG15加速排序性能

    详细信息参考commit: https://git.postgresql.org/gitweb/? 详细信息参考: https://git.postgresql.org/gitweb/? 详细请查询commit: https://git.postgresql.org/gitweb/? 详细查看commit: https://git.postgresql.org/gitweb/?

    1.7K10编辑于 2022-06-21
  • 来自专栏AustinDatabases

    PostgreSQL 16 关于vacuum freezing 性能提升的来由 与 之前PostgreSQL 的缺陷讨论

    https://git.postgresql.org/gitweb/? https://git.postgresql.org/gitweb/? 1 来自于表中 tuple 元组的 xmin , xmax 或者 xvac 等部分 2 可能来与与某个表的 Multixacts https://git.postgresql.org/gitweb

    59221编辑于 2023-09-18
  • 来自专栏后端云

    .git 目录的内部结构

    description:这个文件用于GitWebGitWeb 是 CGI 脚本(Common Gateway Interface,通用网关接口,简单地讲就是运行在Web服务器上的程序, 但由浏览器的输入触发),让用户在web页面查看git内容。 如果我们要启动 GitWeb 可用如下命令: git instaweb –start 服务并打开浏览器 http://127.0.0.1:1234,页面直接显示当前的 git 仓库名称以及描述,默认的描述如下 上面这段话就是默认的 description 文件的内容,编辑这个文件会让 GitWeb 描述更友好。

    1.1K20编辑于 2023-02-10
  • 领券