[edk2] Add .gitignore

Message ID 20141014115454.GF22224@bivouac.eciton.net
State New
Headers show

Commit Message

Leif Lindholm Oct. 14, 2014, 11:54 a.m.
On Fri, Oct 10, 2014 at 02:08:19PM -0700, Jordan Justen wrote:
> >> >  .gitignore           |    6 ++++++
> >> >  BaseTools/.gitignore |   11 +++++++++++
> >> >  2 files changed, 17 insertions(+)
> >> >  create mode 100644 .gitignore
> >> >  create mode 100644 BaseTools/.gitignore
> >> >
> >> > diff --git a/.gitignore b/.gitignore
> >> > new file mode 100644
> >> > index 0000000..918478d
> >> > --- /dev/null
> >> > +++ b/.gitignore
> >> > @@ -0,0 +1,6 @@
> >> > +*.d
> >> > +*.o
> >> > +*.pyc
> >>
> >> These should only be needed in BaseTools.
> >
> > Would we want to not ignore these if they appeared elsewhere?
> 
> I can't think of a good reason for them to appear elsewhere in the tree.

Vendor-specific tools?
Anyway, I'll move them.

> >> > +Build/
> >> > +Conf/
> >>
> >> Can you move this to Conf/.gitignore as *?
> >
> > Are these the final comments?
> 
> I did mentioned these previously. :)

Ah, rereading the thread I realise I misread that as some form of
pseudocode, apologies.

Final version?:

>From d94331fe0c40bf1a4ffbbe37edcd84e113afa5c7 Mon Sep 17 00:00:00 2001
From: Ryan Harkin <ryan.harkin@linaro.org>
Date: Wed, 8 May 2013 16:18:34 +0100
Subject: [PATCH] Add .gitignore files

While edk2 is still maintained in SVN, Many edk2 developers use git
for their main workflow, using the official mirrors.
Add a .gitignore and a BaseTools/.gitignore to prevents files
generated as part of the build from cluttering up "git status" output.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
[removed Linaro-specific bits, rework for upstream]
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 .gitignore           |    2 ++
 BaseTools/.gitignore |   14 ++++++++++++++
 Conf/.gitignore      |    1 +
 3 files changed, 17 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 BaseTools/.gitignore
 create mode 100644 Conf/.gitignore

Comments

Jordan Justen Oct. 14, 2014, 4:10 p.m. | #1
On Tue, Oct 14, 2014 at 4:54 AM, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Fri, Oct 10, 2014 at 02:08:19PM -0700, Jordan Justen wrote:
>> >> >  .gitignore           |    6 ++++++
>> >> >  BaseTools/.gitignore |   11 +++++++++++
>> >> >  2 files changed, 17 insertions(+)
>> >> >  create mode 100644 .gitignore
>> >> >  create mode 100644 BaseTools/.gitignore
>> >> >
>> >> > diff --git a/.gitignore b/.gitignore
>> >> > new file mode 100644
>> >> > index 0000000..918478d
>> >> > --- /dev/null
>> >> > +++ b/.gitignore
>> >> > @@ -0,0 +1,6 @@
>> >> > +*.d
>> >> > +*.o
>> >> > +*.pyc
>> >>
>> >> These should only be needed in BaseTools.
>> >
>> > Would we want to not ignore these if they appeared elsewhere?
>>
>> I can't think of a good reason for them to appear elsewhere in the tree.
>
> Vendor-specific tools?
> Anyway, I'll move them.
>
>> >> > +Build/
>> >> > +Conf/
>> >>
>> >> Can you move this to Conf/.gitignore as *?
>> >
>> > Are these the final comments?
>>
>> I did mentioned these previously. :)
>
> Ah, rereading the thread I realise I misread that as some form of
> pseudocode, apologies.
>
> Final version?:

Committed in r16213. Thanks for the contribution!

-Jordan

> >From d94331fe0c40bf1a4ffbbe37edcd84e113afa5c7 Mon Sep 17 00:00:00 2001
> From: Ryan Harkin <ryan.harkin@linaro.org>
> Date: Wed, 8 May 2013 16:18:34 +0100
> Subject: [PATCH] Add .gitignore files
>
> While edk2 is still maintained in SVN, Many edk2 developers use git
> for their main workflow, using the official mirrors.
> Add a .gitignore and a BaseTools/.gitignore to prevents files
> generated as part of the build from cluttering up "git status" output.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
> [removed Linaro-specific bits, rework for upstream]
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
>  .gitignore           |    2 ++
>  BaseTools/.gitignore |   14 ++++++++++++++
>  Conf/.gitignore      |    1 +
>  3 files changed, 17 insertions(+)
>  create mode 100644 .gitignore
>  create mode 100644 BaseTools/.gitignore
>  create mode 100644 Conf/.gitignore
>
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..a9c91d9
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,2 @@
> +Build/
> +tags/
> diff --git a/BaseTools/.gitignore b/BaseTools/.gitignore
> new file mode 100644
> index 0000000..2b6507f
> --- /dev/null
> +++ b/BaseTools/.gitignore
> @@ -0,0 +1,14 @@
> +*.d
> +*.o
> +*.pyc
> +Source/C/VfrCompile/EfiVfrParser.cpp
> +Source/C/VfrCompile/EfiVfrParser.h
> +Source/C/VfrCompile/Pccts/antlr/antlr
> +Source/C/VfrCompile/Pccts/dlg/dlg
> +Source/C/VfrCompile/VfrLexer.cpp
> +Source/C/VfrCompile/VfrLexer.h
> +Source/C/VfrCompile/VfrParser.dlg
> +Source/C/VfrCompile/VfrSyntax.cpp
> +Source/C/VfrCompile/VfrTokens.h
> +Source/C/bin/
> +Source/C/libs/
> diff --git a/Conf/.gitignore b/Conf/.gitignore
> new file mode 100644
> index 0000000..72e8ffc
> --- /dev/null
> +++ b/Conf/.gitignore
> @@ -0,0 +1 @@
> +*
> --
> 1.7.10.4
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho

Patch

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a9c91d9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@ 
+Build/
+tags/
diff --git a/BaseTools/.gitignore b/BaseTools/.gitignore
new file mode 100644
index 0000000..2b6507f
--- /dev/null
+++ b/BaseTools/.gitignore
@@ -0,0 +1,14 @@ 
+*.d
+*.o
+*.pyc
+Source/C/VfrCompile/EfiVfrParser.cpp
+Source/C/VfrCompile/EfiVfrParser.h
+Source/C/VfrCompile/Pccts/antlr/antlr
+Source/C/VfrCompile/Pccts/dlg/dlg
+Source/C/VfrCompile/VfrLexer.cpp
+Source/C/VfrCompile/VfrLexer.h
+Source/C/VfrCompile/VfrParser.dlg
+Source/C/VfrCompile/VfrSyntax.cpp
+Source/C/VfrCompile/VfrTokens.h
+Source/C/bin/
+Source/C/libs/
diff --git a/Conf/.gitignore b/Conf/.gitignore
new file mode 100644
index 0000000..72e8ffc
--- /dev/null
+++ b/Conf/.gitignore
@@ -0,0 +1 @@ 
+*