Skip to content

CODEOWNERS: updates patterns, remove src/[include]/host/ - #2621

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
marc-hb:CODEOWNERS-cleanup
Apr 3, 2020
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
marc-hb:CODEOWNERS-cleanup

Conversation

@marc-hb

@marc-hb marc-hb commented Mar 24, 2020 •

Copy link
Copy Markdown
Collaborator

... as reported by
https://github.com/zephyrproject-rtos/ci-tools/blob/cf55a47d52d/scripts/check_compliance.py
-m Codeowners

Thanks @jajanusz for the help.

For src/[include]/host, I tried some tig blame and git log to find
potential renames, but I gave up when I found that commits
e20217a and f081a20 (for instance) added or moved some
patterns that already did not match anything at the time.

Signed-off-by: Marc Herbert marc.herbert@intel.com

@marc-hb

marc-hb commented Mar 24, 2020 •

Copy link
Copy Markdown
Collaborator Author

checkpatch is not always right when it checks source code. It's even more often wrong when it tries to parse commit messages. This is what checkpatch is reporting now:

WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
> https://github.com/zephyrproject-rtos/ci-tools/blob/cf55a47d52d/scripts/check_compliance.py

ERROR: Please use git commit description style 'commit <12+ chars of sha1> 
> I gave up when I found that commits e20217abc747 and f081a20de9e5 (for instance

https://www.kernel.org/doc/html/v4.10/process/5.Posting.html#sending-the-patch

Please bear in mind that checkpatch.pl, while being the embodiment of a fair amount of thought about what kernel patches should look like, is not smarter than you. If fixing a checkpatch.pl complaint would make the code^H commit message worse, don’t do it.

@marc-hb

marc-hb commented Mar 24, 2020

Copy link
Copy Markdown
Collaborator Author

Potential orphans: asking the same script to look at the last 1000 commits, here are some of the most "popular" directories that were matched by * and nothing else:

src/include/sof/  audio/,drivers/,...

src/platform/  imx8m/,intel/,...

tools/topology/  m4/,platform/,sof/,...

+ a couple others in tools/*

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, we should get owners for missing parts.

Comment thread CODEOWNERS Resolved
Comment thread CODEOWNERS Resolved
Comment thread CODEOWNERS Resolved
Comment thread CODEOWNERS Resolved
@marc-hb

marc-hb commented Mar 25, 2020

Copy link
Copy Markdown
Collaborator Author

@ranj063 just volunteered for tools/testbench/*

@marc-hb
marc-hb force-pushed the CODEOWNERS-cleanup branch from 4f3c4d0 to 982f250 Compare March 27, 2020 04:43
@marc-hb marc-hb changed the title CODEOWNERS: remove patterns not matching anything CODEOWNERS: updates patterns, remove src/[include]/host/ Mar 27, 2020
@marc-hb

marc-hb commented Mar 27, 2020

Copy link
Copy Markdown
Collaborator Author

Thanks @jajanusz, I tried harder and found new locations for everything except src/host/* and src/include/host/* (I shouldn't have tried these first earlier...)

@ranj063 any idea what these meant at the time and what the new locations are?

@jajanusz

jajanusz commented Mar 27, 2020 •

Copy link
Copy Markdown
Contributor

Thanks @jajanusz, I tried harder and found new locations for everything except src/host/* and src/include/host/* (I shouldn't have tried these first earlier...)

They are just remainings of design flaw, when host logic was mixed with FW logic and the same way includes were also mixed. Now all this stuff is separated, either as library or tools, I think it's safe to just delete all src/host*, src/include/host. Only valid host folder is the one in arch.

@marc-hb
marc-hb marked this pull request as ready for review March 28, 2020 17:50
@marc-hb

marc-hb commented Mar 28, 2020

Copy link
Copy Markdown
Collaborator Author

They are just remainings of design flaw, when host logic was mixed with FW logic and the same way includes were also mixed

Thanks again @jajanusz . If no other comment can you approve?

@marc-hb
marc-hb requested a review from xiulipan March 28, 2020 17:51
@marc-hb
marc-hb requested review from jajanusz, lyakh, mrajwa, ranj063 and singalsu and removed request for lyakh, mrajwa, ranj063 and singalsu April 1, 2020 17:59
@lgirdwood

Copy link
Copy Markdown
Member

Not tested by CI.

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marc-hb can you resolve the final comment before merge. CI can be ignored.

Comment thread CODEOWNERS Resolved
Comment thread CODEOWNERS Resolved
... as reported by
https://github.com/zephyrproject-rtos/ci-tools/blob/cf55a47d52d/scripts/check_compliance.py
-m Codeowners

Thanks @jajanusz for the help.

For src/[include]/host, I tried some tig blame and git log to find
potential renames, but I gave up when I found that commits
e20217a and f081a20 (for instance) added or moved some
patterns that already did not match anything at the time.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb
marc-hb force-pushed the CODEOWNERS-cleanup branch from fd82ac1 to ed486ec Compare April 3, 2020 00:05
@marc-hb
marc-hb requested a review from jajanusz April 3, 2020 00:13
@lgirdwood
lgirdwood merged commit 69d9288 into thesofproject:master Apr 3, 2020
@marc-hb
marc-hb deleted the CODEOWNERS-cleanup branch April 9, 2020 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants