Improve SoATemplate README - #51615
Conversation
|
cms-bot internal usage |
|
@chrishanw does this PR address all problems you had with the README of the SoATemplate? |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51615/50418
|
|
A new Pull Request was created by @Electricks94 for master. It involves the following packages:
@cmsbuild, @fwyzard, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
5ffa1e2 to
d486ba1
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51615/50420
|
| #include <catch2/catch_all.hpp> | ||
|
|
||
| #include "DataFormats/SoATemplate/interface/SoALayout.h" | ||
| #include "DataFormats/SoATemplate/interface/SoABlocks.h" |
There was a problem hiding this comment.
I think you should include both ?
In general I find it god practice to include all usad headers explicitly, without relying on transitive inclusions.
| struct ViewTemplateFreeParams; \ | ||
| \ | ||
| SOA_HOST_ONLY \ | ||
| void soaToStreamInternal(std::ostream & _soa_impl_os) const { \ |
There was a problem hiding this comment.
Is this tested anywhere ?
More in general, can you add an example of using this to the README ?
|
@Electricks94 thanks for the update to the documentation. Could you split the documentation changes and the code changes in two different commits ? Could you reflow the README file to stay within 120 columns, where possible ? Thanks! |
d486ba1 to
1ad3084
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51615/50543
|
1ad3084 to
1142486
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51615/50544
|
Accidently I misread the comment and pushed the code changes to a new PR... I am sorry for that! The code changes are now in #51670 and the changes to the README here. I formatted the README file to stay within the 120 columns limit always |
|
No problem... hopefully the two PRs will not conflict. |
|
+heterogeneous |
|
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
|
please test |
|
@smuzaffar @akritkbehera do you think the bot could be developed so if the only changes in a PR are about documentation, the tests can be skipped? For example if the only changes are in files with an extension of |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
|
+1 |
sure @fwyzard , I will open cms-bot to do that |
done via cms-sw/cms-bot#2824 |
PR description:
This PR improves the README of SoATemplate.
PR validation:
This PR is documentation only and does not change any code
fixes #51522
@felicepantaleo fyi