Re: [PATCH] gitweb: Support hiding of chosen repositories from project list
- From
Petr Baudis <pasky@suse.cz>
- Date
- Oct 7, 2006, 12:32 UTC
- Message-ID
- <20061007123200.GY20017@pasky.or.cz>
- In-Reply-To
- <7vu02gtqqd.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Sat, Oct 07, 2006 at 11:33:30AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> said that...
Show 7 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > > > @@ -125,6 +125,7 @@ GITWEB_HOME_LINK_STR = projects > > GITWEB_SITENAME = > > GITWEB_PROJECTROOT = /srv/git > > What code base are you working on?
Oops. This is the only custom Makefile change I use at repo.or.cz, it kind of slipped through. Yes, I should throw it to Makefile.config or something.
(BTW, I privately consider /pub/git as completely specific to kernel.org setup and pure evil to have as default; I would much prefer to have the default something more standard and LHS-compliant like /srv/git (almost) is. Though I can see the possible pitfalls of changing the default at this point (though Google says that only tipc.cslab.ericsson.net uses the same path), this default leads to people inventing own random paths and chaos reigns: /var/git in Gentoo, /srv/git in SUSE, abomination like /var/cache/git (!) in Debian, others don't seem to bother with gitweb.)
Show 8 quoted lines
> > GITWEB_EXPORT_OK = > > +GITWEB_HIDE_REPO = .hide > > GITWEB_STRICT_EXPORT = > > GITWEB_BASE_URL = > > GITWEB_LIST = > > I see how this feature would be useful, but I am not happy to > add random new files under $GIT_DIR/.
Ok, so it's another thing in the conffile-parser queue.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)