-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpp: Add documentation about Pigweed as a solution #62371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This goes against what was discussed in the TSC meeting on 2023-08-30 regarding recommending using pigweed to make up for currently unimplemented C++ features in the main Zephyr code (see MoM https://docs.google.com/document/d/1cMkXkFN-Yje-7zIGZmWMfkrVCju85UNnKDfjng9vEv0/edit#heading=h.8cm9xcy7g2ul).
Adding pigweed references to the "Language Support" section of the main Zephyr documentation leads users to believe that this is the approach recommended by the Zephyr project, which the TSC discussion did not conclude.
a2ec33e
to
34d7ed3
Compare
I read through all the notes before putting this PR together. I'm happy to discuss further, but we never excluded this from going into documentation. The discussion went around the use of it as a module and the delegation of saying "we're going to make this official". Unfortunately the meetings notes seem to be missing a key detail that I'm recalling which is that we did discuss having documentation for modules that we want to advertise but aren't in the manifest yet. Putting this in the C++ documentation is the most natural place IMO. Happy to discuss further. |
@henrikbrixandersen @yperess @nashif
But for that we would need |
that is not correct, see https://github.com/zephyrproject-rtos/zephyr/pull/61505/files#diff-c22a8fff0128e724a948e334206112f304cb2c0a00e4429abade35390dd7d890R130 |
Sure, seems easy enough to just relocate the pigweed.rst. I just put it where people would most naturally look for it. We can either:
Personally I would prefer to land and move later just to have less things up in the air at the same time. The current layout (without the optional modules) makes sense to me and even with optional modules I would put a |
OK, sorry I misunderstood this. Then I suggest we merge #61505 first and then add the link to it from the C++ language page. |
@yperess did you want to revisit this one? |
Yes please, I'll rebase |
Include documentation about: - some C++ features via Pigweed - instructions how to setup Pigweed This PR addresses some aspects of zephyrproject-rtos#53851 by giving guidance but not making Pigweed the 'selected' approach to C++. Signed-off-by: Yuval Peress <peress@google.com> Signed-off-by: Keith Short <keithshort@google.com>
34d7ed3
to
4471ace
Compare
No code/doc changes, just a raw rebase. @kartben @nashif , what's the process for this now? Do I need to propose Pigweed as an addition to |
@nashif can you help here? I don't think we have a requirement for optional modules to live as a fork under the |
Well they are fetched in CI, worth having the conversation but it may not be a bad idea to keep doing so. |
there is a requirement, ?"optional modules" are not enabled/active by default, but otherwise follow the same requirement as enabled and active modules, external projects are those which do not exist in the manifest and do not need to be in the zephyr project org: https://docs.zephyrproject.org/latest/contribute/external.html#integration-as-external-modules |
just submitted a PR for the template, meaning the pigweed rst file needs to be added to this structure and rederenced from elsewhere in the docs. |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
Include documentation about:
This PR addresses some aspects of #53851 by giving guidance but not making Pigweed the 'selected' approach to C++.