* [PATCH v1 1/1] .gitignore: Unignore .kunitconfig @ 2023-01-27 14:57 Andy Shevchenko 2023-01-28 6:55 ` David Gow 2023-03-10 15:30 ` Andy Shevchenko 0 siblings, 2 replies; 8+ messages in thread From: Andy Shevchenko @ 2023-01-27 14:57 UTC (permalink / raw) To: Masahiro Yamada, linux-kernel, linux-kselftest Cc: Brendan Higgins, David Gow, Andy Shevchenko There are almost dozen of .kunitconfig files that are ignored but tracked. Unignore them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 22984d22d29e..e4f2ba0be516 100644 --- a/.gitignore +++ b/.gitignore @@ -100,6 +100,7 @@ modules.order !.get_maintainer.ignore !.gitattributes !.gitignore +!.kunitconfig !.mailmap !.rustfmt.toml -- 2.39.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-27 14:57 [PATCH v1 1/1] .gitignore: Unignore .kunitconfig Andy Shevchenko @ 2023-01-28 6:55 ` David Gow 2023-01-28 14:37 ` Masahiro Yamada 2023-03-10 15:30 ` Andy Shevchenko 1 sibling, 1 reply; 8+ messages in thread From: David Gow @ 2023-01-28 6:55 UTC (permalink / raw) To: Andy Shevchenko Cc: Masahiro Yamada, linux-kernel, linux-kselftest, Brendan Higgins [-- Attachment #1: Type: text/plain, Size: 824 bytes --] On Fri, 27 Jan 2023 at 22:56, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > There are almost dozen of .kunitconfig files that are ignored but > tracked. Unignore them. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- Thanks! Only the original root-directory .kunitignore file was intended to be ignored, and that's no longer as important, and is now in the build dir anyway. Reviewed-by: David Gow <davidgow@google.com> Cheers, -- David > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 22984d22d29e..e4f2ba0be516 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -100,6 +100,7 @@ modules.order > !.get_maintainer.ignore > !.gitattributes > !.gitignore > +!.kunitconfig > !.mailmap > !.rustfmt.toml > > -- > 2.39.0 > [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4003 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-28 6:55 ` David Gow @ 2023-01-28 14:37 ` Masahiro Yamada 2023-01-31 0:00 ` David Gow 0 siblings, 1 reply; 8+ messages in thread From: Masahiro Yamada @ 2023-01-28 14:37 UTC (permalink / raw) To: David Gow; +Cc: Andy Shevchenko, linux-kernel, linux-kselftest, Brendan Higgins On Sat, Jan 28, 2023 at 3:56 PM David Gow <davidgow@google.com> wrote: > > On Fri, 27 Jan 2023 at 22:56, Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > > > There are almost dozen of .kunitconfig files that are ignored but > > tracked. Unignore them. > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > --- > > Thanks! Only the original root-directory .kunitignore file was > intended to be ignored, and that's no longer as important, and is now > in the build dir anyway. > > Reviewed-by: David Gow <davidgow@google.com> > > Cheers, > -- David > > > .gitignore | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/.gitignore b/.gitignore > > index 22984d22d29e..e4f2ba0be516 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -100,6 +100,7 @@ modules.order > > !.get_maintainer.ignore > > !.gitattributes > > !.gitignore > > +!.kunitconfig > > !.mailmap > > !.rustfmt.toml > > > > -- > > 2.39.0 > > Why is this a dot file in the first place? -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-28 14:37 ` Masahiro Yamada @ 2023-01-31 0:00 ` David Gow 2023-01-31 2:11 ` Masahiro Yamada 0 siblings, 1 reply; 8+ messages in thread From: David Gow @ 2023-01-31 0:00 UTC (permalink / raw) To: Masahiro Yamada Cc: Andy Shevchenko, linux-kernel, linux-kselftest, Brendan Higgins [-- Attachment #1: Type: text/plain, Size: 2014 bytes --] On Sat, 28 Jan 2023 at 22:37, Masahiro Yamada <masahiroy@kernel.org> wrote: > > On Sat, Jan 28, 2023 at 3:56 PM David Gow <davidgow@google.com> wrote: > > > > On Fri, 27 Jan 2023 at 22:56, Andy Shevchenko > > <andriy.shevchenko@linux.intel.com> wrote: > > > > > > There are almost dozen of .kunitconfig files that are ignored but > > > tracked. Unignore them. > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > --- > > > > Thanks! Only the original root-directory .kunitignore file was > > intended to be ignored, and that's no longer as important, and is now > > in the build dir anyway. > > > > Reviewed-by: David Gow <davidgow@google.com> > > > > Cheers, > > -- David > > > > > .gitignore | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/.gitignore b/.gitignore > > > index 22984d22d29e..e4f2ba0be516 100644 > > > --- a/.gitignore > > > +++ b/.gitignore > > > @@ -100,6 +100,7 @@ modules.order > > > !.get_maintainer.ignore > > > !.gitattributes > > > !.gitignore > > > +!.kunitconfig > > > !.mailmap > > > !.rustfmt.toml > > > > > > -- > > > 2.39.0 > > > > > > Why is this a dot file in the first place? > In short, historical reasons. The long answer is that there are two places "kunitconfig" files are used: as a user-provided file with their preferred test config (which is kept local), and as a recommended test config for a given subsystem (which is checked in). Originally, no .kunitconfig files were checked in: one was either autogenerated or manually modified and left in the root source directory. This eventually moved into the build directory, and a number of features which de-emphasized it in favour of command-line arguments and the (new) checked-in per-subsystem configs, which probably shouldn't be hidden. There's no fundamental reason (other than it being a bit annoying to rename everything and update the code) we can't change it, either for all kunitconfig files, or just the checked-in ones, if that's preferred. -- David [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4003 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-31 0:00 ` David Gow @ 2023-01-31 2:11 ` Masahiro Yamada 2023-01-31 2:38 ` David Gow 0 siblings, 1 reply; 8+ messages in thread From: Masahiro Yamada @ 2023-01-31 2:11 UTC (permalink / raw) To: David Gow; +Cc: Andy Shevchenko, linux-kernel, linux-kselftest, Brendan Higgins On Tue, Jan 31, 2023 at 9:01 AM David Gow <davidgow@google.com> wrote: > > On Sat, 28 Jan 2023 at 22:37, Masahiro Yamada <masahiroy@kernel.org> wrote: > > > > On Sat, Jan 28, 2023 at 3:56 PM David Gow <davidgow@google.com> wrote: > > > > > > On Fri, 27 Jan 2023 at 22:56, Andy Shevchenko > > > <andriy.shevchenko@linux.intel.com> wrote: > > > > > > > > There are almost dozen of .kunitconfig files that are ignored but > > > > tracked. Unignore them. > > > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > > --- > > > > > > Thanks! Only the original root-directory .kunitignore file was > > > intended to be ignored, and that's no longer as important, and is now > > > in the build dir anyway. > > > > > > Reviewed-by: David Gow <davidgow@google.com> > > > > > > Cheers, > > > -- David > > > > > > > .gitignore | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/.gitignore b/.gitignore > > > > index 22984d22d29e..e4f2ba0be516 100644 > > > > --- a/.gitignore > > > > +++ b/.gitignore > > > > @@ -100,6 +100,7 @@ modules.order > > > > !.get_maintainer.ignore > > > > !.gitattributes > > > > !.gitignore > > > > +!.kunitconfig > > > > !.mailmap > > > > !.rustfmt.toml > > > > > > > > -- > > > > 2.39.0 > > > > > > > > > > Why is this a dot file in the first place? > > > > In short, historical reasons. > > The long answer is that there are two places "kunitconfig" files are > used: as a user-provided file with their preferred test config (which > is kept local), and as a recommended test config for a given subsystem > (which is checked in). > Originally, no .kunitconfig files were checked in: one was either > autogenerated or manually modified and left in the root source > directory. This eventually moved into the build directory, and a > number of features which de-emphasized it in favour of command-line > arguments and the (new) checked-in per-subsystem configs, which > probably shouldn't be hidden. Do you mean there are two types for .kunitconfig - auto-generated ones and check-in ones? If this patch is applied, is there a possibility where auto-generated .kunitconfig files would be accidentally added to the repository? > There's no fundamental reason (other than it being a bit annoying to > rename everything and update the code) we can't change it, either for > all kunitconfig files, or just the checked-in ones, if that's > preferred. > > -- David -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-31 2:11 ` Masahiro Yamada @ 2023-01-31 2:38 ` David Gow 0 siblings, 0 replies; 8+ messages in thread From: David Gow @ 2023-01-31 2:38 UTC (permalink / raw) To: Masahiro Yamada Cc: Andy Shevchenko, linux-kernel, linux-kselftest, Brendan Higgins [-- Attachment #1: Type: text/plain, Size: 2630 bytes --] On Tue, 31 Jan 2023 at 10:11, Masahiro Yamada <masahiroy@kernel.org> wrote: > > On Tue, Jan 31, 2023 at 9:01 AM David Gow <davidgow@google.com> wrote: > > > > On Sat, 28 Jan 2023 at 22:37, Masahiro Yamada <masahiroy@kernel.org> wrote: > > > > > > On Sat, Jan 28, 2023 at 3:56 PM David Gow <davidgow@google.com> wrote: > > > > > > > > On Fri, 27 Jan 2023 at 22:56, Andy Shevchenko > > > > <andriy.shevchenko@linux.intel.com> wrote: > > > > > > > > > > There are almost dozen of .kunitconfig files that are ignored but > > > > > tracked. Unignore them. > > > > > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > > > --- > > > > > > > > Thanks! Only the original root-directory .kunitignore file was > > > > intended to be ignored, and that's no longer as important, and is now > > > > in the build dir anyway. > > > > > > > > Reviewed-by: David Gow <davidgow@google.com> > > > > > > > > Cheers, > > > > -- David > > > > > > > > > .gitignore | 1 + > > > > > 1 file changed, 1 insertion(+) > > > > > > > > > > diff --git a/.gitignore b/.gitignore > > > > > index 22984d22d29e..e4f2ba0be516 100644 > > > > > --- a/.gitignore > > > > > +++ b/.gitignore > > > > > @@ -100,6 +100,7 @@ modules.order > > > > > !.get_maintainer.ignore > > > > > !.gitattributes > > > > > !.gitignore > > > > > +!.kunitconfig > > > > > !.mailmap > > > > > !.rustfmt.toml > > > > > > > > > > -- > > > > > 2.39.0 > > > > > > > > > > > > > > Why is this a dot file in the first place? > > > > > > > In short, historical reasons. > > > > The long answer is that there are two places "kunitconfig" files are > > used: as a user-provided file with their preferred test config (which > > is kept local), and as a recommended test config for a given subsystem > > (which is checked in). > > Originally, no .kunitconfig files were checked in: one was either > > autogenerated or manually modified and left in the root source > > directory. This eventually moved into the build directory, and a > > number of features which de-emphasized it in favour of command-line > > arguments and the (new) checked-in per-subsystem configs, which > > probably shouldn't be hidden. > > > Do you mean there are two types for .kunitconfig - auto-generated ones > and check-in ones? > > If this patch is applied, is there a possibility where > auto-generated .kunitconfig files would be accidentally > added to the repository? > > I wouldn't think so -- the auto-generated ones live in the build directory (which is itself '.kunit' by default). You'd have to go out of your way to do an in-tree build, and then add generated files. -- David [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4003 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-01-27 14:57 [PATCH v1 1/1] .gitignore: Unignore .kunitconfig Andy Shevchenko 2023-01-28 6:55 ` David Gow @ 2023-03-10 15:30 ` Andy Shevchenko 2023-03-31 8:18 ` David Gow 1 sibling, 1 reply; 8+ messages in thread From: Andy Shevchenko @ 2023-03-10 15:30 UTC (permalink / raw) To: Masahiro Yamada, linux-kernel, linux-kselftest; +Cc: Brendan Higgins, David Gow On Fri, Jan 27, 2023 at 04:57:08PM +0200, Andy Shevchenko wrote: > There are almost dozen of .kunitconfig files that are ignored but > tracked. Unignore them. It's still an issue, can we apply this patch or can somebody to propose the better sooner than later, please? -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v1 1/1] .gitignore: Unignore .kunitconfig 2023-03-10 15:30 ` Andy Shevchenko @ 2023-03-31 8:18 ` David Gow 0 siblings, 0 replies; 8+ messages in thread From: David Gow @ 2023-03-31 8:18 UTC (permalink / raw) To: Andy Shevchenko, Shuah Khan Cc: Masahiro Yamada, linux-kernel, linux-kselftest, Brendan Higgins [-- Attachment #1: Type: text/plain, Size: 468 bytes --] On Fri, 10 Mar 2023 at 23:31, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Fri, Jan 27, 2023 at 04:57:08PM +0200, Andy Shevchenko wrote: > > There are almost dozen of .kunitconfig files that are ignored but > > tracked. Unignore them. > > It's still an issue, can we apply this patch or can somebody to propose > the better sooner than later, please? > Agreed. Masahiro, Shuah: who wants to pick this up? I'm happy either way. Cheers, -- David [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4003 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-03-31 8:18 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-01-27 14:57 [PATCH v1 1/1] .gitignore: Unignore .kunitconfig Andy Shevchenko 2023-01-28 6:55 ` David Gow 2023-01-28 14:37 ` Masahiro Yamada 2023-01-31 0:00 ` David Gow 2023-01-31 2:11 ` Masahiro Yamada 2023-01-31 2:38 ` David Gow 2023-03-10 15:30 ` Andy Shevchenko 2023-03-31 8:18 ` David Gow
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).