* [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory @ 2016-12-13 11:48 Baruch Siach 2016-12-13 12:02 ` Ferruh Yigit 0 siblings, 1 reply; 9+ messages in thread From: Baruch Siach @ 2016-12-13 11:48 UTC (permalink / raw) To: dev; +Cc: Thomas Monjalon, Baruch Siach RTE_OUTPUT defaults to build/. Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a722abea21fe..7b462d3a0455 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ doc/guides/nics/overview_table.txt +/build/ -- 2.10.2 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-13 11:48 [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory Baruch Siach @ 2016-12-13 12:02 ` Ferruh Yigit 2016-12-19 14:05 ` Thomas Monjalon 0 siblings, 1 reply; 9+ messages in thread From: Ferruh Yigit @ 2016-12-13 12:02 UTC (permalink / raw) To: Baruch Siach, dev; +Cc: Thomas Monjalon On 12/13/2016 11:48 AM, Baruch Siach wrote: > RTE_OUTPUT defaults to build/. > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> There is a similar patch: http://dpdk.org/dev/patchwork/patch/11637/ If you want you can review/comment that one too. > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index a722abea21fe..7b462d3a0455 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -1 +1,2 @@ > doc/guides/nics/overview_table.txt > +/build/ > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-13 12:02 ` Ferruh Yigit @ 2016-12-19 14:05 ` Thomas Monjalon 2016-12-19 16:14 ` Bruce Richardson 0 siblings, 1 reply; 9+ messages in thread From: Thomas Monjalon @ 2016-12-19 14:05 UTC (permalink / raw) To: Baruch Siach; +Cc: Ferruh Yigit, dev 2016-12-13 12:02, Ferruh Yigit: > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > RTE_OUTPUT defaults to build/. > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > There is a similar patch: > http://dpdk.org/dev/patchwork/patch/11637/ > > If you want you can review/comment that one too. Yes, sorry I've never commented above patch. I do not like filling .gitignore because I prefer seeing what is built or copied or whatever with "git status". What is really the benefit of .gitignore? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-19 14:05 ` Thomas Monjalon @ 2016-12-19 16:14 ` Bruce Richardson 2016-12-19 16:38 ` Thomas Monjalon 2016-12-19 16:50 ` Mcnamara, John 0 siblings, 2 replies; 9+ messages in thread From: Bruce Richardson @ 2016-12-19 16:14 UTC (permalink / raw) To: Thomas Monjalon; +Cc: Baruch Siach, Ferruh Yigit, dev On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > 2016-12-13 12:02, Ferruh Yigit: > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > RTE_OUTPUT defaults to build/. > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > There is a similar patch: > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > If you want you can review/comment that one too. > > Yes, sorry I've never commented above patch. > > I do not like filling .gitignore because I prefer > seeing what is built or copied or whatever with "git status". > What is really the benefit of .gitignore? I take the opposite view. I only like to see files that I actually care about in the git status. Any build artifacts should be ignored by git as they are not files that it ever should track. That way doing a build does not change the status of the repo as git sees it. /Bruce ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-19 16:14 ` Bruce Richardson @ 2016-12-19 16:38 ` Thomas Monjalon 2016-12-19 16:50 ` Mcnamara, John 1 sibling, 0 replies; 9+ messages in thread From: Thomas Monjalon @ 2016-12-19 16:38 UTC (permalink / raw) To: Bruce Richardson; +Cc: Baruch Siach, Ferruh Yigit, dev 2016-12-19 16:14, Bruce Richardson: > On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > > 2016-12-13 12:02, Ferruh Yigit: > > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > > RTE_OUTPUT defaults to build/. > > > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > > > There is a similar patch: > > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > > > If you want you can review/comment that one too. > > > > Yes, sorry I've never commented above patch. > > > > I do not like filling .gitignore because I prefer > > seeing what is built or copied or whatever with "git status". > > What is really the benefit of .gitignore? > > I take the opposite view. I only like to see files that I actually care > about in the git status. Any build artifacts should be ignored by git as > they are not files that it ever should track. That way doing a build > does not change the status of the repo as git sees it. I use git status to see also the untracked files. And build/ is just the default build directory. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-19 16:14 ` Bruce Richardson 2016-12-19 16:38 ` Thomas Monjalon @ 2016-12-19 16:50 ` Mcnamara, John 2016-12-19 17:14 ` Bruce Richardson 1 sibling, 1 reply; 9+ messages in thread From: Mcnamara, John @ 2016-12-19 16:50 UTC (permalink / raw) To: Richardson, Bruce, Thomas Monjalon; +Cc: Baruch Siach, Yigit, Ferruh, dev > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Monday, December 19, 2016 4:14 PM > To: Thomas Monjalon <thomas.monjalon@6wind.com> > Cc: Baruch Siach <baruch@tkos.co.il>; Yigit, Ferruh > <ferruh.yigit@intel.com>; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ > directory > > On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > > 2016-12-13 12:02, Ferruh Yigit: > > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > > RTE_OUTPUT defaults to build/. > > > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > > > There is a similar patch: > > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > > > If you want you can review/comment that one too. > > > > Yes, sorry I've never commented above patch. > > > > I do not like filling .gitignore because I prefer seeing what is built > > or copied or whatever with "git status". > > What is really the benefit of .gitignore? > > I take the opposite view. I only like to see files that I actually care > about in the git status. Any build artifacts should be ignored by git as > they are not files that it ever should track. That way doing a build does > not change the status of the repo as git sees it. As a workaround I have the following in my .gitconfig: [core] excludesfile = ~/.gitignore Then I put the ignore rules in ~/.gitignore. John ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-19 16:50 ` Mcnamara, John @ 2016-12-19 17:14 ` Bruce Richardson 2018-05-22 21:45 ` Thomas Monjalon 0 siblings, 1 reply; 9+ messages in thread From: Bruce Richardson @ 2016-12-19 17:14 UTC (permalink / raw) To: Mcnamara, John; +Cc: Thomas Monjalon, Baruch Siach, Yigit, Ferruh, dev On Mon, Dec 19, 2016 at 04:50:57PM +0000, Mcnamara, John wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > > Sent: Monday, December 19, 2016 4:14 PM > > To: Thomas Monjalon <thomas.monjalon@6wind.com> > > Cc: Baruch Siach <baruch@tkos.co.il>; Yigit, Ferruh > > <ferruh.yigit@intel.com>; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ > > directory > > > > On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > > > 2016-12-13 12:02, Ferruh Yigit: > > > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > > > RTE_OUTPUT defaults to build/. > > > > > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > > > > > There is a similar patch: > > > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > > > > > If you want you can review/comment that one too. > > > > > > Yes, sorry I've never commented above patch. > > > > > > I do not like filling .gitignore because I prefer seeing what is built > > > or copied or whatever with "git status". > > > What is really the benefit of .gitignore? > > > > I take the opposite view. I only like to see files that I actually care > > about in the git status. Any build artifacts should be ignored by git as > > they are not files that it ever should track. That way doing a build does > > not change the status of the repo as git sees it. > > As a workaround I have the following in my .gitconfig: > > [core] > excludesfile = ~/.gitignore > > Then I put the ignore rules in ~/.gitignore. > > John > Yes, I have something similar done, so this is not a problem for me personally. I just find it strange that we don't make more use of gitignore in DPDK. The file's name itself seems to imply that it should be used to list out files that git should not track, and build output is definitely one of those. /Bruce ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2016-12-19 17:14 ` Bruce Richardson @ 2018-05-22 21:45 ` Thomas Monjalon 2018-05-24 21:08 ` Stephen Hemminger 0 siblings, 1 reply; 9+ messages in thread From: Thomas Monjalon @ 2018-05-22 21:45 UTC (permalink / raw) To: Bruce Richardson, Baruch Siach; +Cc: Mcnamara, John, Yigit, Ferruh, dev 19/12/2016 18:14, Bruce Richardson: > On Mon, Dec 19, 2016 at 04:50:57PM +0000, Mcnamara, John wrote: > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > > > On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > > > > 2016-12-13 12:02, Ferruh Yigit: > > > > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > > > > RTE_OUTPUT defaults to build/. > > > > > > > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > > > > > > > There is a similar patch: > > > > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > > > > > > > If you want you can review/comment that one too. > > > > > > > > Yes, sorry I've never commented above patch. > > > > > > > > I do not like filling .gitignore because I prefer seeing what is built > > > > or copied or whatever with "git status". > > > > What is really the benefit of .gitignore? > > > > > > I take the opposite view. I only like to see files that I actually care > > > about in the git status. Any build artifacts should be ignored by git as > > > they are not files that it ever should track. That way doing a build does > > > not change the status of the repo as git sees it. > > > > As a workaround I have the following in my .gitconfig: > > > > [core] > > excludesfile = ~/.gitignore > > > > Then I put the ignore rules in ~/.gitignore. > > > > John > > > Yes, I have something similar done, so this is not a problem for me > personally. I just find it strange that we don't make more use of > gitignore in DPDK. The file's name itself seems to imply that it should > be used to list out files that git should not track, and build output is > definitely one of those. I don't understand why we should hide the default build directory and not the other ones with different names. It would be perceived as inconsistent and confusing. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory 2018-05-22 21:45 ` Thomas Monjalon @ 2018-05-24 21:08 ` Stephen Hemminger 0 siblings, 0 replies; 9+ messages in thread From: Stephen Hemminger @ 2018-05-24 21:08 UTC (permalink / raw) To: Thomas Monjalon Cc: Bruce Richardson, Baruch Siach, Mcnamara, John, Yigit, Ferruh, dev On Tue, 22 May 2018 23:45:31 +0200 Thomas Monjalon <thomas@monjalon.net> wrote: > 19/12/2016 18:14, Bruce Richardson: > > On Mon, Dec 19, 2016 at 04:50:57PM +0000, Mcnamara, John wrote: > > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > > > > On Mon, Dec 19, 2016 at 03:05:20PM +0100, Thomas Monjalon wrote: > > > > > 2016-12-13 12:02, Ferruh Yigit: > > > > > > On 12/13/2016 11:48 AM, Baruch Siach wrote: > > > > > > > RTE_OUTPUT defaults to build/. > > > > > > > > > > > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > > > > > > > > > > > There is a similar patch: > > > > > > http://dpdk.org/dev/patchwork/patch/11637/ > > > > > > > > > > > > If you want you can review/comment that one too. > > > > > > > > > > Yes, sorry I've never commented above patch. > > > > > > > > > > I do not like filling .gitignore because I prefer seeing what is built > > > > > or copied or whatever with "git status". > > > > > What is really the benefit of .gitignore? > > > > > > > > I take the opposite view. I only like to see files that I actually care > > > > about in the git status. Any build artifacts should be ignored by git as > > > > they are not files that it ever should track. That way doing a build does > > > > not change the status of the repo as git sees it. > > > > > > As a workaround I have the following in my .gitconfig: > > > > > > [core] > > > excludesfile = ~/.gitignore > > > > > > Then I put the ignore rules in ~/.gitignore. > > > > > > John > > > > > Yes, I have something similar done, so this is not a problem for me > > personally. I just find it strange that we don't make more use of > > gitignore in DPDK. The file's name itself seems to imply that it should > > be used to list out files that git should not track, and build output is > > definitely one of those. > > I don't understand why we should hide the default build directory and not > the other ones with different names. > It would be perceived as inconsistent and confusing. Almost all users will use the standard build/ directory. The idea of gitignore is to allow git status to work correctly. Looking at systemd, which also uses meson, the .gitignore file is: *.a *.cache *.gch *.log *.o *.plist *.py[co] *.stamp *.swp *.trs *~ .config.args .deps/ /*.gcda /*.gcno /*.tar.bz2 /*.tar.gz /*.tar.xz /GPATH /GRTAGS /GSYMS /GTAGS /TAGS /ID /build* /coverage/ /image.raw /image.raw.cache-pre-dev /image.raw.cache-pre-inst /install-tree /mkosi.builddir/ /mkosi.output/ /tags __pycache__/ ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-05-24 21:09 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-12-13 11:48 [dpdk-dev] [PATCH] gitignore: ignore top level build/ directory Baruch Siach 2016-12-13 12:02 ` Ferruh Yigit 2016-12-19 14:05 ` Thomas Monjalon 2016-12-19 16:14 ` Bruce Richardson 2016-12-19 16:38 ` Thomas Monjalon 2016-12-19 16:50 ` Mcnamara, John 2016-12-19 17:14 ` Bruce Richardson 2018-05-22 21:45 ` Thomas Monjalon 2018-05-24 21:08 ` Stephen Hemminger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).