From: Jakub Narebski <jnareb@gmail.com>
To: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Cc: Christian Couder <chriscool@tuxfamily.org>,
Petr Baudis <pasky@ucw.cz>,
git@vger.kernel.org
Subject: Re: About [PATCH] gitweb: Create a perl module to store gitweb configuration
Date: Thu, 3 Jun 2010 12:23:31 +0200 [thread overview]
Message-ID: <201006031223.31675.jnareb@gmail.com> (raw)
In-Reply-To: <AANLkTin9ZHij7ldIlSHyCqOd8NmU9DQA5q-tyvIImtdD@mail.gmail.com>
On Thu, 3 Jun 2010, Pavan Kumar Sunkarawrote:
> 2010/6/3 Jakub Narebski <jnareb@gmail.com>:
>>
>> This comment is about commit 9526ab8 (gitweb: Create a perl module to
>> store gitweb configuration, 2010-06-01) on 'master' branch of
>> repository shown at http://repo.or.cz/w/git/gsoc2010-gitweb.git
>>> diff --git a/gitweb/Makefile b/gitweb/Makefile
>>> index d2584fe..45e176e 100644
>>> --- a/gitweb/Makefile
>>> +++ b/gitweb/Makefile
>>> @@ -55,6 +55,7 @@ PERL_PATH ?= /usr/bin/perl
>>> bindir_SQ = $(subst ','\'',$(bindir))#'
>>> gitwebdir_SQ = $(subst ','\'',$(gitwebdir))#'
>>> gitwebstaticdir_SQ = $(subst ','\'',$(gitwebdir)/static)#'
>>> +gitweblibdir_SQ = $(subst ','\'',$(gitwebdir)/lib)#'
>>
>> I think it would be good idea to have 'gitweblibdir' as a separate
>> variable, alongside 'gitwebdir', and which would default to
>>
>> gitweblibdir = $(gitwebdir)/lib
>>
>> to make it possible to install gitweb modules not alongside gitweb,
>> but somewhere else, for example together with other Perl modules.
>>
>> Then you would have:
>>
>> +gitweblibdir_SQ = $(subst ','\'',$(gitweblibdir))#'
>
> It's great.
>
>> But I think this change can be left for a separate commit. It is not
>> something terribly important, something blocking accepting the patch.
Actually to really be able to put gitweb packages somewhere else,
gitweb.perl should *probably* contain
use lib '++GITWEBLIBDIR++';
Otherwise 'gitweblibdir' would have to be either left default to
install packages alingside gitweb.cgi script, or be directory that is
in PERL5LIB for web server.
So let's leave it for a later commit.
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2010-06-03 10:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 20:29 About [PATCH] gitweb: Create a perl module to store gitweb configuration Jakub Narebski
2010-06-03 5:07 ` Pavan Kumar Sunkara
2010-06-03 10:23 ` Jakub Narebski [this message]
2010-06-03 8:55 ` About [PATCH 2/2] gitweb: Create a perl module to handle gitweb cgi params and vars Jakub Narebski
2010-06-03 9:52 ` Pavan Kumar Sunkara
2010-06-03 10:17 ` Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006031223.31675.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=pasky@ucw.cz \
--cc=pavan.sss1991@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).