You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by graham sanderson <gr...@vast.com> on 2013/12/14 06:28:30 UTC

can test/Test.iml be removed?

This seemed to get introduced (by mistake?) in ef33f9543

Re: Could .gitignore be added?

Posted by Michael Shuler <mi...@pbandjelly.org>.
On 12/19/2013 05:46 PM, Jacob Rhoden wrote:
> Your missing netbeans includes. I also include the following for
> anything java related.
>
> .*.swo
>
> Thumbs.db

Added.

> # Maven and other build system/IDE artifacts
> bin
> build
> out/*
> target/*

We can't exclude bin/, since it's under revision control and build/ is 
already excluded.

> # Netbeans
> nb-configuration.xml
> nbactions.xml
> nbproject

Added with a couple other typical netbeans dirs.

--- snip ---
# C*
build/
src/gen-java/
src/resources/org/apache/cassandra/config/

# gitignore doesn't help with modified files - you may wish to:
#   git update-index --assume-unchanged 
test/data/serialization/2.0/db.RowMutation.bin
# to undo:
#   git update-index --no-assume-unchanged 
test/data/serialization/2.0/db.RowMutation.bin

# IntelliJ
.idea/
*.iml
*.ipr
*.iws

# Eclipse
.classpath
.project
.metadata
.settings/
local.properties

# Cscope
cscope.*

# NetBeans
nbbuild/
nbdist/
nbproject/
nb-configuration.xml
nbactions.xml

# Maven, etc.
out/
target/

# General
*.pyc
*~
*.bak
*.sw[o,p]
*.tmp
.DS_Store
Thumbs.db
--- snip ---

-- 
Kind regards,
Michael

Re: Could .gitignore be added?

Posted by Jacob Rhoden <ja...@me.com>.
Your missing netbeans includes. I also include the following for anything java related.

.*.swo

Thumbs.db

# Maven and other build system/IDE artifacts
bin
build
out/*
target/*

# Netbeans
nb-configuration.xml
nbactions.xml
nbproject

On 20 Dec 2013, at 10:42 am, Michael Shuler <mi...@pbandjelly.org> wrote:

> How about this for a .gitignore? I mixed in Oscar's, CASSANDRA-4899, a few more general ones which are pretty common, along with a comment about ignoring db.RowMutation.bin modification, which I've done locally:
> 
> --- cut here ---
> # C*
> build/
> src/gen-java/
> src/resources/org/apache/cassandra/config/
> 
> # gitignore doesn't help with modified files - you may wish to:
> #   git update-index --assume-unchanged test/data/serialization/2.0/db.RowMutation.bin
> # to undo:
> #   git update-index --no-assume-unchanged test/data/serialization/2.0/db.RowMutation.bin
> 
> # Intellij
> .idea/
> *.iml
> *.ipr
> *.iws
> 
> # Eclipse
> .classpath
> .project
> .metadata
> .settings/
> local.properties
> 
> # Cscope
> cscope.*
> 
> # General
> *.pyc
> *~
> *.bak
> *.swp
> *.tmp
> .DS_Store
> --- cut here ---
> 
> -- 
> Kind regards,
> Michael
> 
> On 12/19/2013 04:23 PM, Oscar Bonilla wrote:
>> The first thing I did when I forked the Cassandra repo was add a .gitignore:
>> 
>> --- cut here ---
>> .classpath
>> .idea/
>> .project
>> build/
>> src/gen-java/
>> cassandra.iml
>> *.pyc
>> cscope.*
>> *.swp
>> *~
>> src/resources/org/apache/cassandra/config/
>> --- cut here ---
>> 
>> 
>> On Dec 19, 2013, at 2:16 PM, Jonathan Ellis <jb...@gmail.com> wrote:
>> 
>>> I can't think of any.
>>> 
>>> On Sat, Dec 14, 2013 at 11:14 AM, Michael Shuler <mi...@pbandjelly.org> wrote:
>>>> On 12/13/2013 11:28 PM, graham sanderson wrote:
>>>>> 
>>>>> This seemed to get introduced (by mistake?) in ef33f9543
>>>> 
>>>> 
>>>> Would there be any issues with adding a .gitignore to the repository?  I
>>>> could work one up.
>>>> 
>>>> --
>>>> Kind regards,
>>>> Michael
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Jonathan Ellis
>>> Project Chair, Apache Cassandra
>>> co-founder, http://www.datastax.com
>>> @spyced
>> 


Re: Could .gitignore be added?

Posted by Michael Shuler <mi...@pbandjelly.org>.
How about this for a .gitignore? I mixed in Oscar's, CASSANDRA-4899, a 
few more general ones which are pretty common, along with a comment 
about ignoring db.RowMutation.bin modification, which I've done locally:

--- cut here ---
# C*
build/
src/gen-java/
src/resources/org/apache/cassandra/config/

# gitignore doesn't help with modified files - you may wish to:
#   git update-index --assume-unchanged 
test/data/serialization/2.0/db.RowMutation.bin
# to undo:
#   git update-index --no-assume-unchanged 
test/data/serialization/2.0/db.RowMutation.bin

# Intellij
.idea/
*.iml
*.ipr
*.iws

# Eclipse
.classpath
.project
.metadata
.settings/
local.properties

# Cscope
cscope.*

# General
*.pyc
*~
*.bak
*.swp
*.tmp
.DS_Store
--- cut here ---

-- 
Kind regards,
Michael

On 12/19/2013 04:23 PM, Oscar Bonilla wrote:
> The first thing I did when I forked the Cassandra repo was add a .gitignore:
>
> --- cut here ---
> .classpath
> .idea/
> .project
> build/
> src/gen-java/
> cassandra.iml
> *.pyc
> cscope.*
> *.swp
> *~
> src/resources/org/apache/cassandra/config/
> --- cut here ---
>
>
> On Dec 19, 2013, at 2:16 PM, Jonathan Ellis <jb...@gmail.com> wrote:
>
>> I can't think of any.
>>
>> On Sat, Dec 14, 2013 at 11:14 AM, Michael Shuler <mi...@pbandjelly.org> wrote:
>>> On 12/13/2013 11:28 PM, graham sanderson wrote:
>>>>
>>>> This seemed to get introduced (by mistake?) in ef33f9543
>>>
>>>
>>> Would there be any issues with adding a .gitignore to the repository?  I
>>> could work one up.
>>>
>>> --
>>> Kind regards,
>>> Michael
>>>
>>>
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder, http://www.datastax.com
>> @spyced
>

Re: Could .gitignore be added? (was: can test/Test.iml be removed?)

Posted by Oscar Bonilla <6f...@gmail.com>.
The first thing I did when I forked the Cassandra repo was add a .gitignore:

--- cut here ---
.classpath
.idea/
.project
build/
src/gen-java/
cassandra.iml
*.pyc
cscope.*
*.swp
*~
src/resources/org/apache/cassandra/config/
--- cut here ---


On Dec 19, 2013, at 2:16 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> I can't think of any.
> 
> On Sat, Dec 14, 2013 at 11:14 AM, Michael Shuler <mi...@pbandjelly.org> wrote:
>> On 12/13/2013 11:28 PM, graham sanderson wrote:
>>> 
>>> This seemed to get introduced (by mistake?) in ef33f9543
>> 
>> 
>> Would there be any issues with adding a .gitignore to the repository?  I
>> could work one up.
>> 
>> --
>> Kind regards,
>> Michael
>> 
>> 
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder, http://www.datastax.com
> @spyced


Re: Could .gitignore be added? (was: can test/Test.iml be removed?)

Posted by Jonathan Ellis <jb...@gmail.com>.
I can't think of any.

On Sat, Dec 14, 2013 at 11:14 AM, Michael Shuler <mi...@pbandjelly.org> wrote:
> On 12/13/2013 11:28 PM, graham sanderson wrote:
>>
>> This seemed to get introduced (by mistake?) in ef33f9543
>
>
> Would there be any issues with adding a .gitignore to the repository?  I
> could work one up.
>
> --
> Kind regards,
> Michael
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder, http://www.datastax.com
@spyced

Could .gitignore be added? (was: can test/Test.iml be removed?)

Posted by Michael Shuler <mi...@pbandjelly.org>.
On 12/13/2013 11:28 PM, graham sanderson wrote:
> This seemed to get introduced (by mistake?) in ef33f9543

Would there be any issues with adding a .gitignore to the repository?  I 
could work one up.

-- 
Kind regards,
Michael



Re: can test/Test.iml be removed?

Posted by graham sanderson <gr...@vast.com>.
Thank you.

On Dec 14, 2013, at 9:57 AM, Jonathan Ellis <jb...@gmail.com> wrote:

> Done
> 
> On Sat, Dec 14, 2013 at 11:28 AM, graham sanderson <gr...@vast.com> wrote:
>> This seemed to get introduced (by mistake?) in ef33f9543
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder, http://www.datastax.com
> @spyced


Re: can test/Test.iml be removed?

Posted by Jonathan Ellis <jb...@gmail.com>.
Done

On Sat, Dec 14, 2013 at 11:28 AM, graham sanderson <gr...@vast.com> wrote:
> This seemed to get introduced (by mistake?) in ef33f9543



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder, http://www.datastax.com
@spyced