From: Jakub Narebski <jnareb@gmail.com>
To: Tatsuhiko Miyagawa <miyagawa@bulknews.net>
Cc: git@vger.kernel.org, Sam Vilain <sam@vilain.net>,
Petr Baudis <pasky@ucw.cz>, John Hawley <warthog9@eaglescrag.net>
Subject: Re: [spf:guess,iffy] Re: "Integrated Web Client for git" GSoC proposal
Date: Sat, 17 Apr 2010 05:50:57 -0700 (PDT) [thread overview]
Message-ID: <m3vdbqdz1b.fsf@localhost.localdomain> (raw)
In-Reply-To: <loom.20100417T081957-371@post.gmane.org>
Restored some of Cc list...
Tatsuhiko Miyagawa <miyagawa@bulknews.net> writes:
> Sam Vilain <sam <at> vilain.net> writes:
> > It should be possible for the script to figure out what filesystem path it
> > is being run from, perhaps find a local lib/ dir and then add that to @INC.
FindBin, Dir::Self (or just relevant code from it), and then "use lib <dir>".
> > In shell scripts you just use FindBin, I don't know whether that is still
> > expected to work from eg mod_perl but there's bound to be a solution for
> > that. So yeah I'd say just aim to ship lots of .pm files in a nearby dir
> > alongside the script...
>
> Or use App::FatPacker.
But try to make this build-time dependency optional. I wonder also
what is performance cost of using App::FatPacker trick.
It is a bit pity that PAR is not in core. We could use
$ git archive --format=zip --output=gitweb.par --prefix=lib/ \
HEAD -- gitweb/lib
to generate packfile, and then
use PAR 'gitweb.par';
in gitweb.
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2010-04-17 12:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201004130403.42179.chriscool@tuxfamily.org>
[not found] ` <201004150204.42813.jnareb@gmail.com>
[not found] ` <1271293123.6248.147.camel@denix>
2010-04-16 9:18 ` [spf:guess,iffy] Re: "Integrated Web Client for git" GSoC proposal Jakub Narebski
2010-04-17 3:09 ` Sam Vilain
2010-04-17 6:27 ` Tatsuhiko Miyagawa
[not found] ` <r2we72faaa81004170021z9920e6e9k4c3aa06fe46431b0@mail.gmail.com>
2010-04-17 7:22 ` Fwd: " Pavan Kumar Sunkara
2010-04-17 12:53 ` Jakub Narebski
2010-04-17 12:50 ` Jakub Narebski [this message]
2010-04-17 9:54 ` [spf:guess,iffy] " Jakub Narebski
[not found] ` <20100414110242.GZ3533@machine.or.cz>
[not found] ` <7vvdbuqh2c.fsf@alter.siamese.dyndns.org>
2010-04-16 13:03 ` 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=m3vdbqdz1b.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=miyagawa@bulknews.net \
--cc=pasky@ucw.cz \
--cc=sam@vilain.net \
--cc=warthog9@eaglescrag.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.