You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2014/01/17 02:35:27 UTC

[jira] [Comment Edited] (MESOS-916) add .gitignore-template file for ./bootstrap generated files

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

Vinod Kone edited comment on MESOS-916 at 1/17/14 1:35 AM:
-----------------------------------------------------------

gitignore works recursively so you don't need 9 different .gitignore files.

For example this is how my .gitignore looks

{code}
➜  mesos git:(vinod/0.16.0) ✗ cat .gitignore 
# eclipse
.cproject
.project
.pydevproject

# reviewboard
.reviewboardrc

# git
.gitignore

# build dir
build

# automake junk
autom4te.cache
Makefile.in
configure
config.guess
config.sub
depcomp
ar-lib
ltmain.sh
install-sh
missing
aclocal.m4
libtool.m4
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
{code}


was (Author: vinodkone):
gitignore works recursively so you don't need 9 different .gitignore files.

For example this is how my .gitignore looks

➜  mesos git:(vinod/0.16.0) ✗ cat .gitignore 
# eclipse
.cproject
.project
.pydevproject

# reviewboard
.reviewboardrc

# git
.gitignore

# build dir
build

# automake junk
autom4te.cache
Makefile.in
configure
config.guess
config.sub
depcomp
ar-lib
ltmain.sh
install-sh
missing
aclocal.m4
libtool.m4
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4


> add .gitignore-template file for ./bootstrap generated files
> ------------------------------------------------------------
>
>                 Key: MESOS-916
>                 URL: https://issues.apache.org/jira/browse/MESOS-916
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Charlie Carson
>            Assignee: Charlie Carson
>            Priority: Minor
>
> Running the ./bootstrap command to set up the enlistment for building generates 35 files and 3 directories (which contain another 19 files) which are not tracked by git in 9 directories.  
> In addition, the Developers Guide page recommends creating a build directory to do builds from within.
> The plan is to add a top level .gitignore-template file which will mask out the build directory and the files / directories generated by ./bootstrap



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)