git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to hide a git repository?

From
BRBruno Cesar Ribas <ribas@c3sl.ufpr.br>
Date
Nov 25, 2008, 03:58 UTC
Message-ID
<20081125035858.GB25284@c3sl.ufpr.br>
In-Reply-To
<940723.36955.qm@web37906.mail.mud.yahoo.com>
On Mon, Nov 24, 2008 at 05:40:22PM -0800, Gary Yang wrote:
> How to tell "git daemon" only to publish /pub/git/pub/linux/kernel ?
$ man git-daemon
<snip>
It verifies that the directory has the magic file
       "git-daemon-export-ok", and it will refuse to export any git directory
       that hasn´t explicitly been marked for export this way (unless the
       --export-all parameter is specified). If you pass some directory paths
       as git-daemon arguments, you can further restrict the offers to a
       whitelist comprising of those.
</snip>
Hope this helps
Show 40 quoted lines
> 
> 
> --- On Mon, 11/24/08, Heikki Orsila <shdl@zakalwe.fi> wrote:
> 
> > From: Heikki Orsila <shdl@zakalwe.fi>
> > Subject: Re: How to hide a git repository?
> > To: "Gary Yang" <garyyang6@yahoo.com>
> > Cc: git@vger.kernel.org
> > Date: Monday, November 24, 2008, 4:37 PM
> > On Mon, Nov 24, 2008 at 04:32:58PM -0800, Gary Yang wrote:
> > > 
> > > We have two repositories, one is
> > /pub/git/dev/linux/kernel, another 
> > > is /pub/git/pub/linux/kernel. The
> > /pub/git/pub/linux/kernel is open to 
> > > public for people to download released code.
> > /pub/git/dev/linux/kernel 
> > > is used for our development. We would like to hide 
> > > /pub/git/dev/linux/kernel from public. How to do it?
> > 
> > Tell "git daemon" only to publish
> > /pub/git/pub/linux/kernel.
> > 
> > -- 
> > Heikki Orsila
> > heikki.orsila@iki.fi
> > http://www.iki.fi/shd
> > --
> > To unsubscribe from this list: send the line
> > "unsubscribe git" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at 
> > http://vger.kernel.org/majordomo-info.html
> 
> 
>       
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Bruno Ribas - ribas@c3sl.ufpr.br
http://www.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br
Previous: Gary YangNext: Gary Yang
Message 4 of 13 in “How to hide a git repository?”
  1. Gary YangNov 25, 2008
  2. Heikki OrsilaNov 25, 2008
  3. Gary YangNov 25, 2008
  4. Bruno Cesar RibasNov 25, 2008
  5. Gary YangNov 25, 2008
  6. Nicolas Morey-ChaisemartinNov 25, 2008
  7. Daniel BarkalowNov 25, 2008
  8. Thomas KochNov 25, 2008
  9. Daniel BarkalowNov 25, 2008
  10. Jakub NarebskiNov 25, 2008
  11. Junio C HamanoNov 25, 2008
  12. Jakub NarebskiNov 25, 2008
  13. Junio C HamanoNov 25, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.