Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Update Udp identifiers, rename hardware and mock filenames/classes, remove filename from @file and add script for it #194

Merged
merged 10 commits into from
Mar 5, 2019

Conversation

rfairley
Copy link
Member

@rfairley rfairley commented Mar 3, 2019

Script ran with python clear_doxygen_file_tags.py C:\Users\rob\soccer-embedded\Common.

The script is quite primitive in that it is only checking for one regex and replacing with * @file. In some cases a manual edit to remove the extra space was needed as some files indent the top doxygen comment with 2 spaces, others with 1 (e.g. I2CInterface.h vs OsInterface.h). Hopefully scripts like this, once tested enough, can become useful in our tooling for automatic format checking.

Resolves: #159

@rfairley
Copy link
Member Author

rfairley commented Mar 3, 2019

This does work for #159 and #161 .

Copy link
Member

@tygamvrelis tygamvrelis left a comment

Choose a reason for hiding this comment

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

Looks good overall. Do you think we can close #159 after this?
Edit: I think #161 will need a bit more work because ideally we should have all groups defined in their headers (no more awkward group names like HeaderXXX or XXXHeader). I think those changes would be good to do after we pull in the current PR, since this is the last of the code changes

@rfairley
Copy link
Member Author

rfairley commented Mar 4, 2019

Fixed, and did one more change to rename the test files after a final scan of https://github.com/utra-robosoccer/soccer-embedded/blob/master/CONTRIBUTING.md#naming-scheme-summary. Think we got the most prominent identifiers fixed - I'm 👍 with closing #159 after this.

@rfairley
Copy link
Member Author

rfairley commented Mar 4, 2019

Edit: I think #161 will need a bit more work because ideally we should have all groups defined in their headers (no more awkward group names like HeaderXXX or XXXHeader). I think those changes would be good to do after we pull in the current PR, since this is the last of the code changes

Agreed

@tygamvrelis
Copy link
Member

Fixed, and did one more change to rename the test files after a final scan of https://github.com/utra-robosoccer/soccer-embedded/blob/master/CONTRIBUTING.md#naming-scheme-summary. Think we got the most prominent identifiers fixed - I'm 👍 with closing #159 after this.

Okay, you verified that the tests still build after doing this, right?

@rfairley
Copy link
Member Author

rfairley commented Mar 5, 2019

Yep - verified they build! (and that they pass)

@rfairley rfairley merged commit 5b0b715 into master Mar 5, 2019
@rfairley rfairley deleted the rfairley-filename-class-renames branch March 5, 2019 03:06
@tygamvrelis tygamvrelis mentioned this pull request Apr 27, 2019
11 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants