lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: GIT does not support empty directories
Date Fri, 16 Apr 2010 15:40:02 GMT
I don't like the idea of complicating lucene/solr's build system any more
than it already is, unless its absolutely necessary. its already too
complicated.

Instead of adding more hacks, what is actually broken (git) is what should
be fixed, as the link states:

Currently the design of the git index (staging area) only permits *files* to
be listed, and nobody competent enough to make the change to allow empty
directories has cared enough about this situation to remedy it.

On Fri, Apr 16, 2010 at 11:14 AM, Smiley, David W. <dsmiley@mitre.org>wrote:

> Seriously.
> I sympathize with your point that git should support empty directories.
>  But as a practical matter, it's easy to make the ant build tolerant of
> them.
>
> ~ David Smiley
> ________________________________________
> From: Robert Muir [rcmuir@gmail.com]
> Sent: Friday, April 16, 2010 6:53 AM
> To: solr-dev@lucene.apache.org
> Subject: Re: GIT does not support empty directories
>
> Seriously? We should hack our ant files around the bugs in every crappy
> source control system that comes out?
>
> Fix Git.
>
> On Thu, Apr 15, 2010 at 10:55 PM, Smiley, David W. <dsmiley@mitre.org
> >wrote:
>
> > I've run into this too.  I don't think this needs to be documented, I
> think
> > it needs to be *fixed* -- that is, the relevant ant tasks need to not
> assume
> > these directories exist and create them if not.
> >
> > ~ David Smiley
> >
> > -----Original Message-----
> > From: Lance Norskog [mailto:goksron@gmail.com]
> > Sent: Wednesday, April 14, 2010 11:14 PM
> > To: solr-dev
> > Subject: GIT does not support empty directories
> >
> > There are some empty directories in the Solr source tree, both in 1.4
> > and the trunk.
> >
> > example/work
> > example/webapp
> > example/logs
> >
> > Git does not support empty directories:
> >
> >
> https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F
> >
> > And so, when you check out from the Apache GIT repository, these empty
> > directories do not appear and 'ant example' and 'ant run-example'
> > fail. There is no 'how to use the solr git stuff' wiki page; that
> > seems like the right place to document this. I'm not git-smart enough
> > to write that page.
> > --
> > Lance Norskog
> > goksron@gmail.com
> >
>
>
>
> --
> Robert Muir
> rcmuir@gmail.com
>



-- 
Robert Muir
rcmuir@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message