Re: [lang] Ignore more Eclipse cruft.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

Bruno P. Kinoshita
Or you can use a global .gitignore [1] file.

This way we don't have to include other IDE specific entries in the code repository anymore.

Bruno

[1] http://stackoverflow.com/questions/7335420/global-git-ignore

 
      From: "[hidden email]" <[hidden email]>
 To: [hidden email]
 Sent: Wednesday, April 29, 2015 9:34 PM
 Subject: [lang] Ignore more Eclipse cruft.
   
Repository: commons-lang
Updated Branches:
  refs/heads/master 102b75cd9 -> 6965455f8


Ignore more Eclipse cruft.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6965455f
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6965455f
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6965455f

Branch: refs/heads/master
Commit: 6965455f8a90474c656e68031c780e9531cea21f
Parents: 102b75c
Author: joehni <[hidden email]>
Authored: Wed Apr 29 11:25:12 2015 +0200
Committer: joehni <[hidden email]>
Committed: Wed Apr 29 11:25:12 2015 +0200

----------------------------------------------------------------------
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6965455f/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 338a65b..8f8fd6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ site-content
 .settings
 .classpath
 .project
+.externalToolBuilders
\ No newline at end of file



   
Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

Benedikt Ritter-4
2015-04-29 12:27 GMT+02:00 Bruno P. Kinoshita <[hidden email]>:

> Or you can use a global .gitignore [1] file.
>
> This way we don't have to include other IDE specific entries in the code
> repository anymore.
>

+1


>
> Bruno
>
> [1] http://stackoverflow.com/questions/7335420/global-git-ignore
>
>
>       From: "[hidden email]" <[hidden email]>
>  To: [hidden email]
>  Sent: Wednesday, April 29, 2015 9:34 PM
>  Subject: [lang] Ignore more Eclipse cruft.
>
> Repository: commons-lang
> Updated Branches:
>   refs/heads/master 102b75cd9 -> 6965455f8
>
>
> Ignore more Eclipse cruft.
>
> Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6965455f
> Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6965455f
> Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6965455f
>
> Branch: refs/heads/master
> Commit: 6965455f8a90474c656e68031c780e9531cea21f
> Parents: 102b75c
> Author: joehni <[hidden email]>
> Authored: Wed Apr 29 11:25:12 2015 +0200
> Committer: joehni <[hidden email]>
> Committed: Wed Apr 29 11:25:12 2015 +0200
>
> ----------------------------------------------------------------------
>  .gitignore | 1 +
>  1 file changed, 1 insertion(+)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6965455f/.gitignore
> ----------------------------------------------------------------------
> diff --git a/.gitignore b/.gitignore
> index 338a65b..8f8fd6a 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -15,3 +15,4 @@ site-content
>  .settings
>  .classpath
>  .project
> +.externalToolBuilders
> \ No newline at end of file
>
>
>
>
>


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter
Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

Jörg Schaible-4
In reply to this post by Bruno P. Kinoshita
Bruno P. Kinoshita wrote:

> Or you can use a global .gitignore [1] file.
>
> This way we don't have to include other IDE specific entries in the code
> repository anymore.

But then you rely on the fact, that everyone has such a setting. I've
already seen pull requests containing such files. It does not happen if the
.gitignore is local.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

James Carman
On Wed, Apr 29, 2015 at 7:37 AM Jörg Schaible
>
>
> But then you rely on the fact, that everyone has such a setting. I've
> already seen pull requests containing such files. It does not happen if the
> .gitignore is local.
>
>
I'm with Jörg on this one.  Having a .gitignore file in the repo is the
standard way most folks do it.  You can't rely upon (nor should you)
everyone having their global .gitignore file set up properly.  Just include
one in the repo and be done with it.
Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

Peter Ansell
On 29 April 2015 at 22:52, James Carman <[hidden email]> wrote:

> On Wed, Apr 29, 2015 at 7:37 AM Jörg Schaible
>>
>>
>> But then you rely on the fact, that everyone has such a setting. I've
>> already seen pull requests containing such files. It does not happen if the
>> .gitignore is local.
>>
>>
> I'm with Jörg on this one.  Having a .gitignore file in the repo is the
> standard way most folks do it.  You can't rely upon (nor should you)
> everyone having their global .gitignore file set up properly.  Just include
> one in the repo and be done with it.

+1 for a local .gitignore file. The list very rarely grows, and there
are templates available to copy and paste out of if you want to build
up a decent coverage straight up. For example, the following can be
combined to get Maven, Eclipse and IntelliJ coverage:

https://github.com/github/gitignore/blob/master/Maven.gitignore

https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore

https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

Benedikt Ritter-4
2015-04-29 15:09 GMT+02:00 Peter Ansell <[hidden email]>:

> On 29 April 2015 at 22:52, James Carman <[hidden email]>
> wrote:
> > On Wed, Apr 29, 2015 at 7:37 AM Jörg Schaible
> >>
> >>
> >> But then you rely on the fact, that everyone has such a setting. I've
> >> already seen pull requests containing such files. It does not happen if
> the
> >> .gitignore is local.
> >>
> >>
> > I'm with Jörg on this one.  Having a .gitignore file in the repo is the
> > standard way most folks do it.  You can't rely upon (nor should you)
> > everyone having their global .gitignore file set up properly.  Just
> include
> > one in the repo and be done with it.
>
> +1 for a local .gitignore file. The list very rarely grows, and there
> are templates available to copy and paste out of if you want to build
> up a decent coverage straight up. For example, the following can be
> combined to get Maven, Eclipse and IntelliJ coverage:
>

I'm not saying we should remove the file. :-)

BTW: A nice tool for generating gitignore is gibo [1]

Benedikt

[1] https://github.com/simonwhitaker/gibo


>
> https://github.com/github/gitignore/blob/master/Maven.gitignore
>
> https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
>
> https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
>
> Cheers,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter
Reply | Threaded
Open this post in threaded view
|

Re: [lang] Ignore more Eclipse cruft.

James Carman
On Wed, Apr 29, 2015 at 9:14 AM Benedikt Ritter <[hidden email]> wrote:
>
>
> I'm not saying we should remove the file. :-)
>
>
I think we're mainly responding to Bruno's comment:

"This way we don't have to include other IDE specific entries in the code
repository anymore."