lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gerlowski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10713) git should ignore common output files (*.pid, *.out)
Date Sat, 03 Jun 2017 12:56:04 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035962#comment-16035962
] 

Jason Gerlowski commented on SOLR-10713:
----------------------------------------

Fair enough, and nice quote haha.

To clarify, are you looking to have **'s removed everywhere in the gitignore, or just on the
lines I've added here (err, out)?  For many of the gitignore entries, I think "match in all
directories" is the intended/correct behavior.  For example, the root .gitignore has an entry
for **/lib, which matches a ton of directories (all of which hold binaries, and should be
ignored)

{code}
[~/c/lucene-solr] $ find . -name "lib" -type d | wc -l
51
{code}



Will update the patch as soon as I hear what you intended.

> git should ignore common output files (*.pid, *.out)
> ----------------------------------------------------
>
>                 Key: SOLR-10713
>                 URL: https://issues.apache.org/jira/browse/SOLR-10713
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>            Reporter: Jason Gerlowski
>            Assignee: Mike Drob
>            Priority: Trivial
>         Attachments: SOLR-10713.patch, SOLR-10713.patch, SOLR-10713.patch, SOLR-10713.patch
>
>
> During the course of experimenting/testing Solr, it's common to accumulate a number of
output files in the source checkout.  Many of these are already ignored via the {{.gitignore}}.
 (For example, {{*.jar}} and {{*.log}} files are untracked currently)
> Some common output files aren't explicitly ignored by git though.  I know this is true
of {{*.pid}} and {{*.out}} files (such as those produced by running a standalone ZK).
> It'd be nice if we could update the {{.gitignore}} to explicitly ignore these filetypes
by default.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message