X2Go Bug report logs - #242
Provide HTTP access to git repository

Package: git.x2go.org; Maintainer for git.x2go.org is git-admin@x2go.org;

Reported by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Date: Sun, 16 Jun 2013 14:48:02 UTC

Severity: wishlist

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Subject: Bug#242: marked as done (Provide HTTP access to git repository)
Message-ID: <handler.242.D242.137180023230153.ackdone@bugs.x2go.org>
References: <20130621093709.18364vkgbyo0rued@mail.das-netzwerkteam.de>
 <51BDCE4B.9010001@gmx.de>
X-X2go-PR-Message: closed 242
X-X2go-PR-Package: git.x2go.org
Date: Fri, 21 Jun 2013 07:48:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1371800882-2367-0"
[Message part 1 (text/plain, inline)]
Your message dated Fri, 21 Jun 2013 09:37:09 +0200
with message-id <20130621093709.18364vkgbyo0rued@mail.das-netzwerkteam.de>
and subject line Re: [X2Go-Dev] Bug#242: Provide HTTP access to git repository
has caused the X2Go Bug report #242,
regarding Provide HTTP access to git repository
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.x2go.org
immediately.)


-- 
242: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=242
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems
[Message part 2 (message/rfc822, inline)]
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: submit@bugs.x2go.org
Subject: Provide HTTP access to git repository
Date: Sun, 16 Jun 2013 16:40:11 +0200
Package: git.x2go.org
Severity: wishlist

Dear maintainer,

the X2GO repository can be reached via the following protocols:
ssh, port 22
git, port 9118

Unfortunately these ports may not be reachable from behind a firewall.

Please, setup your webserver to allow access to the repositories via 
https or http.

For Apache this can be done with

# Indicate were the git repositories are located.
SetEnv GIT_PROJECT_ROOT /home/git/root

# Indicate git-daemon-export-ok is not needed.
SetEnv GIT_HTTP_EXPORT_ALL

# Location of git backend
ScriptAlias /git /usr/lib/git-core/git-http-backend

# Disallow pushing to repository via HTTP.
<LocationMatch "^/git/.*/git-receive-pack$">
  Order allow,deny
  Deny from all
</LocationMatch>

Best regards

Heinrich Schuchardt
[Message part 3 (message/rfc822, inline)]
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>, 242-done@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#242: Provide HTTP access to git repository
Date: Fri, 21 Jun 2013 09:37:09 +0200
[Message part 4 (text/plain, inline)]
Hi Heinrich,

On So 16 Jun 2013 16:40:11 CEST Heinrich Schuchardt wrote:

> Dear maintainer,
>
> the X2GO repository can be reached via the following protocols:
> ssh, port 22
> git, port 9118
>
> Unfortunately these ports may not be reachable from behind a firewall.
>
> Please, setup your webserver to allow access to the repositories via  
> https or http.
>
> For Apache this can be done with
>
> # Indicate were the git repositories are located.
> SetEnv GIT_PROJECT_ROOT /home/git/root
>
> # Indicate git-daemon-export-ok is not needed.
> SetEnv GIT_HTTP_EXPORT_ALL
>
> # Location of git backend
> ScriptAlias /git /usr/lib/git-core/git-http-backend
>
> # Disallow pushing to repository via HTTP.
> <LocationMatch "^/git/.*/git-receive-pack$">
>   Order allow,deny
>   Deny from all
> </LocationMatch>
>
> Best regards
>
> Heinrich Schuchardt

Thanks for contributing this idea and this Apache config extension.

The X2Go Git projects can now also be cloned via

  git clone http://code.x2go.org/git/<project>.git

Greets+Thanks,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 5 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Nov 22 02:36:36 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.