[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-08 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: ZOOKEEPER-2557-3.4.patch
ZOOKEEPER-2557.patch

Hi [~phunt], [~cnauroth], 

My previous patches for this issue failed because, even tough {{trunk}} and 
{{branch-3.5}} are in sync wrt {{.gitignore}}, {{branch-3.4}} had some 
additions lacking on {{trunk/branch-3.5}} *and vice-versa*, as we can see below:

{code}
eribeiro@WP0091:~/IdeaProjects/zookeeper(trunk)$ git diff trunk..branch-3.4 -- 
.gitignore
diff --git a/.gitignore b/.gitignore
index 2926274..2428fad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,18 +1,22 @@
 .classpath
 .eclipse/
-.idea/
 .project
 .revision/
 .settings/
 build/
-out/
-*.iml
-src/c/core.*
-src/c/TEST-*.txt
-src/c/*.la
-src/c/*.lo
-src/c/*.o
 src/c/generated/
 src/java/generated/
 src/java/lib/ant-eclipse-*
 src/java/lib/ivy-*
+src/c/Makefile.in
+src/c/aclocal.m4
+src/c/autom4te.cache/
+src/c/compile
+src/c/config.guess
+src/c/config.h.in
+src/c/config.sub
+src/c/configure
+src/c/depcomp
+src/c/install-sh
+src/c/ltmain.sh
+src/c/missing
{code}

A straightforward approach would be to apply the patch to {{branch-3.4}} and 
merge it upward, but I've found *a lot of conflicts with other files* when 
going 3.4->3.5->trunk (mostly pdf files, but some Java sources too). 

So, *I created two patches: one for {{trunk/branch-3.5}} (ZOOKEEPER-2557.patch) 
and other for {{branch-3.4}} (ZOOKEEPER-2557-3.4.patch) *. Once committed, 
.gitignore will be consistent across the branches (we can even do git 
cherry-pick from branch-3.5 to trunk).

Still we may have some headaches with merging upwards with other files, but 
this is a issue for another patch, right?

*Please, take a look to see if the final .gitignore makes sense, particularly 
wrt the C files it ignores.* Thanks in advance.

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2557-3.4.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-08 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: (was: ZOOKEEPER-2557.2.patch)

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-08 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: (was: ZOOKEEPER-2557.patch)

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-08 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: (was: ZOOKEEPER-2557-3.4.patch)

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-08 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: (was: ZOOKEEPER-2557-3.5.patch)

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-07 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: ZOOKEEPER-2557-3.5.patch
ZOOKEEPER-2557-3.4.patch

I am attaching additional patches for 3.4 and 3.5 because they were conflicting 
with trunk (ZOOKEEPER-2557.2.patch) and had additional files that are absent 
from gitignore at trunk.

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2557-3.4.patch, ZOOKEEPER-2557-3.5.patch, 
> ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-07 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-2557:

Fix Version/s: 3.6.0
   3.5.3
   3.4.10

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-07 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: ZOOKEEPER-2557.2.patch

Forgot --no-prefix.

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-07 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: (was: ZOOKEEPER-2557.2.patch)

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-07 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: ZOOKEEPER-2557.2.patch

[~phunt], I have double checked svn ignore file list. Most are already in the 
patch, but I have included a few that are not. Please, let me know if there is 
any absence. I will check again later today.

[~cnauroth], I have included the orig and rej files as requested.

Currently the patch applies to trunk only, but the procedure in this project is 
to apply to the early affected version and merge it to the newer ones? If so, 
which one? Thanks!



> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Attachments: ZOOKEEPER-2557.2.patch, ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-06 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Labels: easyfix  (was: )

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Attachments: ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-06 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Labels: easyfix  (was: )

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
>  Labels: easyfix
> Attachments: ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-06 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Affects Version/s: 3.4.8

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Affects Versions: 3.4.8
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
> Attachments: ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2557) Update gitignore to account for other file extensions

2016-09-06 Thread Edward Ribeiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Ribeiro updated ZOOKEEPER-2557:
--
Attachment: ZOOKEEPER-2557.patch

Besides some well known extensions (.swp, .bak), I have included more files 
extensions from https://github.com/github/gitignore. My only concern here is if 
 .class, .ear, .war and .jar files should be included or not in the gitignore 
file.

> Update gitignore to account for other file extensions
> -
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
>  Issue Type: Improvement
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
> Attachments: ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that 
> the current ZK's {{gitignore}} doesn't account for many spurious types of 
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse, 
> Intellij and NetBeans), among other file extensions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)