git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitweb $export_ok question
@ 2008-12-29 20:26 Thomas Amsler
  2008-12-30 22:37 ` Jakub Narebski
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Amsler @ 2008-12-29 20:26 UTC (permalink / raw)
  To: git@vger.kernel.org

Hello,

I am trying to get the gitweb $export_ok to  work. According the installation instructions:

Alternatively, you can configure gitweb to only list and allow
viewing of the explicitly exported repositories, via the



GITWEB_EXPORT_OK build configuration variable (or the $export_ok
variable in gitweb config file). If it evaluates to true, gitweb
shows repositories only if this file exists in its object database
(if directory has the magic file named $export_ok).



... I set $export_ok = "true" in my /etc/gitweb.conf file. I don't know what "file" needs to be added to a repository in order for it to show up again in gitweb. I have tried several things, like specifying the file name in /etc/gitweb.con:

$export_ok ="magic-file-name"

etc. but that doesn't seem to work.

What am I doing wrong here?

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Removing the trailing "/.git" from gitweb display?
@ 2009-05-15 20:49 Timur Tabi
  2009-05-15 21:17 ` [PATCH] gitweb: Document that gitweb deals with bare repositories Jakub Narebski
  0 siblings, 1 reply; 13+ messages in thread
From: Timur Tabi @ 2009-05-15 20:49 UTC (permalink / raw)
  To: git

I noticed that most gitweb pages show their repositories like this:

bluetooth/bluez-gnome.git 	Bluetooth applications for ... 	Marcel Holtmann
bluetooth/bluez-hcidump.git 	Bluetooth packet analyzer 	Marcel Holtmann
bluetooth/bluez.git 	Bluetooth protocol stack for ... 	Marcel Holtmann

However, mine looks like this:

alsa.1862/.git	8610 audio: fabric driver uses wrong DMA channels for... 	Timur
alsa.2598/.git	8610 audio: migrate ASoC V2 drivers to mainline	Timur
alsa.3313/.git	Introduce spin_event_timeout()	Timur

Notice how my repositories have a trailing "/.git" to them?  How do I
get rid of that?

My gitweb.conf is:

$projectroot = '/home/b04825/git/';
$site_name = "Timur Tabi's git repositories";
$home_link = $my_uri;
@stylesheets = ("gitweb.css");
$favicon = "git-favicon.png";
$logo = "git-logo.png";
$projects_list = '/home/b04825/git/projects_list';
$projects_list_description_width = 50;

And /home/b04825/git/projects_list looks like:

alsa.1862/.git Timur
alsa.2598/.git Timur
alsa.3313/.git Timur

I presume the reason why gitweb shows the trailing "/.git" is because
that's what my projects_list file contains.  However, if I remove the
"/.git" from projects_list, gitweb can't find any repositories.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-05-16  8:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 20:26 gitweb $export_ok question Thomas Amsler
2008-12-30 22:37 ` Jakub Narebski
2008-12-30 23:02   ` Jakub Narebski
     [not found]   ` <6db6bed70812302037w54fe5640of234cd611f5ab45e@mail.gmail.com>
2008-12-31  9:00     ` Jakub Narebski
     [not found]       ` <6db6bed70812311013l3cf575c1y874e71e70d1dde57@mail.gmail.com>
2008-12-31 18:56         ` Thomas Amsler
     [not found]         ` <6db6bed70812311027g3be1cfbei35c014243237fd59@mail.gmail.com>
2009-01-01 22:51           ` Jakub Narebski
2009-01-03 13:23             ` [PATCH] gitweb: Document that gitweb deals with bare repositories Jakub Narebski
  -- strict thread matches above, loose matches on Subject: below --
2009-05-15 20:49 Removing the trailing "/.git" from gitweb display? Timur Tabi
2009-05-15 21:17 ` [PATCH] gitweb: Document that gitweb deals with bare repositories Jakub Narebski
2009-05-15 21:24   ` Timur Tabi
2009-05-15 21:36     ` Jakub Narebski
2009-05-15 22:21       ` Timur Tabi
2009-05-16  2:29         ` Junio C Hamano
2009-05-16  8:14         ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).