Difference between revisions of "Talk:Gitweb"

From ArchWiki
Jump to navigation Jump to search
(→‎SSH: new section)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
== VirtualHost ==
 +
 
Might be nice to add some vhost config examples here as well
 
Might be nice to add some vhost config examples here as well
 
::--[[User:Wsduvall|Wsduvall]] October 24 2010 10:53
 
::--[[User:Wsduvall|Wsduvall]] October 24 2010 10:53
 +
 +
=== Nginx ===
 +
To answer Wsduvall, here is my configuration in a virtualhost on nginx :
 +
 +
server {
 +
        server_name my_server_name;
 +
 
 +
        root /srv/http/gitweb;
 +
        index gitweb.cgi;
 +
 
 +
        gzip off;
 +
 
 +
        location ~ \.cgi$ {
 +
            fastcgi_param  GITWEB_CONFIG  /etc/conf.d/gitweb.conf;
 +
            include fastcgi_params;
 +
            fastcgi_pass  unix:/run/fcgiwrap.sock;
 +
            include        fastcgi.conf;
 +
        }
 +
    }
 +
  
 
== SSH ==
 
== SSH ==
  
 
I added a section that explains how to checkout over SSH. Please do check it for errors if you want.
 
I added a section that explains how to checkout over SSH. Please do check it for errors if you want.
 +
 +
== Merge with Git ==
 +
 +
Hi,
 +
 +
I marked a few section that i think would better fit the [[Git]] page rather then the [[Gitweb]] page. Those are the sections for cloning over the git protocol, over ssh and over http. It's neat but really not part of [[Gitweb]]. I made those sections even this article but now i think it's best to merge a part of it with [[Git]]. What do you think of it?
 +
: +1 for merging them to [[Git]]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 08:09, 6 February 2013 (UTC)
 +
 +
== mod_perl ==
 +
 +
As mod_perl now require a downgraded version of perl, why using it for apache 2.4 ?
 +
 +
This configuration seems to be working fine :
 +
 +
<Directory "/usr/share/gitweb">
 +
    DirectoryIndex gitweb.cgi
 +
    Require all granted
 +
    Options ExecCGI
 +
    AddHandler cgi-script .cgi
 +
    SetEnv  GITWEB_CONFIG  /etc/conf.d/gitweb.conf
 +
</Directory>
 +
 +
== Relationship with CGit and Gitosis ==
 +
 +
The flag was raised in [https://wiki.archlinux.org//index.php?title=Gitweb&diff=prev&oldid=559751 version 559751]. It has been there since [https://wiki.archlinux.org/index.php?title=Gitweb&oldid=115994 the first version]. --[[User:Franklin Yu|Franklin Yu]] ([[User talk:Franklin Yu|talk]]) 09:10, 11 December 2019 (UTC)
 +
 +
Hi, i have NO CLUE how this editing works with providing feedback or even finding what the question is.
 +
He that messaged me apparently knows much more about wiki stuff then i do.
 +
 +
So what's the question?
 +
Ah right, apparently the proclaimed basis of gitweb for cgit and gitosis.
 +
I don't know why i said that. Back then i was looking for some git self hosted solution and apparently was under the impression that CGit and gitosis were dependent on gitweb.
 +
It's easy to say they are not NOW... But i definitely vaguely remember gitweb being the core "git from web" implementation and that cgit + gitosis were using gitweb internally + some more fancy scripts on top. It might not be the case anymore (10 years later...). That doesn't make it "factual inaccurate", only that times have changed and with "today's" version of all those git for web projects.
 +
It's a wiki, feel free to amend it with the changes you deem right :)
 +
 +
{{unsigned|16:36, 11 December 2019‎|Markg85}}

Latest revision as of 16:58, 11 December 2019

VirtualHost

Might be nice to add some vhost config examples here as well

--Wsduvall October 24 2010 10:53

Nginx

To answer Wsduvall, here is my configuration in a virtualhost on nginx :

server {
       server_name my_server_name;
 
       root /srv/http/gitweb;
       index gitweb.cgi;
 
       gzip off;
 
       location ~ \.cgi$ {
           fastcgi_param   GITWEB_CONFIG  /etc/conf.d/gitweb.conf;
           include fastcgi_params;
           fastcgi_pass   unix:/run/fcgiwrap.sock;
           include        fastcgi.conf;
       }
   }


SSH

I added a section that explains how to checkout over SSH. Please do check it for errors if you want.

Merge with Git

Hi,

I marked a few section that i think would better fit the Git page rather then the Gitweb page. Those are the sections for cloning over the git protocol, over ssh and over http. It's neat but really not part of Gitweb. I made those sections even this article but now i think it's best to merge a part of it with Git. What do you think of it?

+1 for merging them to Git. -- Fengchao (talk) 08:09, 6 February 2013 (UTC)

mod_perl

As mod_perl now require a downgraded version of perl, why using it for apache 2.4 ?

This configuration seems to be working fine :

<Directory "/usr/share/gitweb">
   DirectoryIndex gitweb.cgi
   Require all granted
   Options ExecCGI
   AddHandler cgi-script .cgi
   SetEnv  GITWEB_CONFIG  /etc/conf.d/gitweb.conf
</Directory>

Relationship with CGit and Gitosis

The flag was raised in version 559751. It has been there since the first version. --Franklin Yu (talk) 09:10, 11 December 2019 (UTC)

Hi, i have NO CLUE how this editing works with providing feedback or even finding what the question is. He that messaged me apparently knows much more about wiki stuff then i do.

So what's the question? Ah right, apparently the proclaimed basis of gitweb for cgit and gitosis. I don't know why i said that. Back then i was looking for some git self hosted solution and apparently was under the impression that CGit and gitosis were dependent on gitweb. It's easy to say they are not NOW... But i definitely vaguely remember gitweb being the core "git from web" implementation and that cgit + gitosis were using gitweb internally + some more fancy scripts on top. It might not be the case anymore (10 years later...). That doesn't make it "factual inaccurate", only that times have changed and with "today's" version of all those git for web projects. It's a wiki, feel free to amend it with the changes you deem right :)

—This unsigned comment is by Markg85 (talk) 16:36, 11 December 2019‎. Please sign your posts with ~~~~!