From: A Large Angry SCM <gitzilla@gmail.com>
To: Junio C Hamano <junkio@cox.net>
Cc: Petr Baudis <pasky@ucw.cz>, Chris Wright <chrisw@osdl.org>,
Linus Torvalds <torvalds@osdl.org>,
git@vger.kernel.org
Subject: Re: Template files location
Date: Fri, 05 Aug 2005 13:50:29 -0400 [thread overview]
Message-ID: <42F3A6E5.2070502@gmail.com> (raw)
In-Reply-To: <7vpsssjnld.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
...
> If the template files are to become something that always have
> to exist, /etc first and then falling back on /usr/share would
> make a lot of sense. But as Johannes Schindelin correctly
> argued against the "Use the template mechanism to set up refs/
> hierarchy as well." patch [*2*], I think git-init-db should work
> when there is no template directory. In other words, its
> primary purpose is to help local project administrators ensure
> newly created repositories have hooks and probably info/exclude
> that they recommend to the project members.
So templates are project specific.
> The reason to have a sample one shipped as part of the core
> package is just to help newbies --- they would get a boilerplate
> hooks/update that explains how they can set it up when they do
> git-init-db even when they do not have their own customized set
> of templates yet. For this kind of use, I do not think one
> default falling back to another is needed.
Shipping samples with the plumbing makes sense, especially when the
documentation in is insufficient. But installing the samples as part of
the default install process seems less than desirable. Or, alternately,
install the samples in with the documentation as (non-executable) examples.
...
> *1* This would probably break Linus, myself and others ---
> everybody has to say "make prefix=$HOME", so I do not think I am
> actually going to do it any time soon, if ever.
>
> Having prefix=/usr/local as default only helps people who are
> installing system-wide from the source, and nobody else. People
> who are writing spec.in and/or debian/rules need to override it
> to prefix=/usr anyway, and it forces people who are installing
> to their home to say prefix=$HOME/. I suspect it is an inertia
> from the good old days when nobody used binary distributions.
Rather than changing the default install location in such a way as to
make half the user unhappy, make everybody (un)happy by removing the
default and forcing it to be specified when make is executed.
next prev parent reply other threads:[~2005-08-05 17:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42DC4537.2080103@orionmulti.com>
[not found] ` <20050805024222.GE7762@shell0.pdx.osdl.net>
[not found] ` <42F2E571.6040207@orionmulti.com>
[not found] ` <7voe8dow4w.fsf@assigned-by-dhcp.cox.net>
[not found] ` <20050805042332.GG7762@shell0.pdx.osdl.net>
[not found] ` <7vd5otov7s.fsf@assigned-by-dhcp.cox.net>
2005-08-05 9:43 ` Template files location Petr Baudis
2005-08-05 17:33 ` Junio C Hamano
2005-08-05 17:50 ` A Large Angry SCM [this message]
2005-08-10 22:03 ` Matthias Urlichs
2005-08-09 20:42 ` Petr Baudis
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=42F3A6E5.2070502@gmail.com \
--to=gitzilla@gmail.com \
--cc=chrisw@osdl.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=pasky@ucw.cz \
--cc=torvalds@osdl.org \
/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).