Skip to content

Deduplicate the report step documentation #3644

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

Merged
merged 11 commits into from
Apr 16, 2025
Merged

Deduplicate the report step documentation #3644

merged 11 commits into from
Apr 16, 2025

Conversation

mcasquer
Copy link
Collaborator

@mcasquer mcasquer commented Apr 3, 2025

Deduplicates the report step documentation, which includes the following:

  • Moving all the information from the specs to the plugins section
  • Updates the header in the plugins section
  • Remove completely (whenever is possible) the references in the specs
  • Fixes some references to the removed documentation
  • Directly refer the reader to the report plugins and add implemented-by link.

Pull Request Checklist

  • update the specification
  • adjust plugin docstring

@mcasquer mcasquer force-pushed the report_deduplication branch from 512e9d0 to 7c117e5 Compare April 3, 2025 11:01
@mcasquer mcasquer changed the title Deduplicates the report documentation Deduplicates the report step documentation Apr 3, 2025
@mcasquer mcasquer force-pushed the report_deduplication branch from 7c117e5 to e65994b Compare April 3, 2025 11:41
@happz happz added this to planning Apr 3, 2025
@github-project-automation github-project-automation bot moved this to backlog in planning Apr 3, 2025
@happz happz moved this from backlog to review in planning Apr 3, 2025
@happz happz removed this from planning Apr 3, 2025
@mcasquer mcasquer force-pushed the report_deduplication branch from 84eda59 to ba03d64 Compare April 4, 2025 09:14
@mcasquer mcasquer marked this pull request as ready for review April 4, 2025 09:30
@mcasquer mcasquer force-pushed the report_deduplication branch from ba03d64 to f6bbde5 Compare April 8, 2025 06:45
@psss psss changed the title Deduplicates the report step documentation Deduplicate the report step documentation Apr 9, 2025
@psss psss added this to planning Apr 9, 2025
@github-project-automation github-project-automation bot moved this to backlog in planning Apr 9, 2025
@psss psss added documentation Improvements or additions to documentation step | report Stuff related to the report step labels Apr 9, 2025
@psss psss added this to the 1.47 milestone Apr 10, 2025
@psss psss moved this from backlog to implement in planning Apr 15, 2025
Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

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

Let's add an introduction header to the report plugin section and completely remove the plugin-specific content from the specification as we've done with the finish steps docs.

@mcasquer
Copy link
Collaborator Author

Hitting some warnings when compiling due to mentions of polarion and html specs in the release notes. @psss let me know if this is harmless so I can push the changes :)

docs/releases.rst:738: WARNING: undefined label: '/spec/plans/report/polarion'
docs/releases.rst:787: WARNING: undefined label: '/spec/plans/report/html'
docs/releases.rst:804: WARNING: undefined label: '/spec/plans/report/html'

The :ref:`/spec/plans/report/polarion` report now supports the

The :ref:`/spec/plans/report/html` report plugin now shows

The :ref:`/spec/plans/report/html` report plugin now shows

@happz
Copy link
Collaborator

happz commented Apr 15, 2025

Hitting some warnings when compiling due to mentions of polarion and html specs in the release notes. @psss let me know if this is harmless so I can push the changes :)

docs/releases.rst:738: WARNING: undefined label: '/spec/plans/report/polarion'
docs/releases.rst:787: WARNING: undefined label: '/spec/plans/report/html'
docs/releases.rst:804: WARNING: undefined label: '/spec/plans/report/html'

The :ref:`/spec/plans/report/polarion` report now supports the

The :ref:`/spec/plans/report/html` report plugin now shows

The :ref:`/spec/plans/report/html` report plugin now shows

Needs to be fixed in this PR: you removed a piece of docs something referred to, so the reference must be either fixed, or removed.

@mcasquer mcasquer force-pushed the report_deduplication branch from f6bbde5 to 8cbbcfa Compare April 16, 2025 08:08
@mcasquer mcasquer requested a review from 4N0body5 as a code owner April 16, 2025 08:08
@psss psss moved this from implement to review in planning Apr 16, 2025
@psss psss force-pushed the report_deduplication branch from 9dce539 to 2bd962c Compare April 16, 2025 13:54
Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

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

Thanks for addressing all comments. One small typo fixed in 2bd962c. Ready for merge.

@psss psss requested a review from happz April 16, 2025 13:55
@psss psss moved this from review to merge in planning Apr 16, 2025
@happz happz added the status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. label Apr 16, 2025
@psss
Copy link
Collaborator

psss commented Apr 16, 2025

Plus one small leftover: db9d018

@psss psss force-pushed the report_deduplication branch from db9d018 to f17d964 Compare April 16, 2025 15:20
@psss psss merged commit 4ea4ae5 into main Apr 16, 2025
5 of 21 checks passed
@psss psss deleted the report_deduplication branch April 16, 2025 15:22
@github-project-automation github-project-automation bot moved this from merge to done in planning Apr 16, 2025
happz added a commit that referenced this pull request Apr 16, 2025
@happz
Copy link
Collaborator

happz commented Apr 16, 2025

@psss we should wait for at least some of the core test jobs to complete. This PR introduces an issue into spec/plans/report.fmf:

A node in tree loaded from ../.. failed validation

* /spec/plans/report/file:link - None is not valid under any of the given schemas

Detailed validation error:

  None is not valid under any of the given schemas

  Failed validating 'oneOf' in schema['properties']['link']:
      {'oneOf': [ordereddict([('$ref', '/schemas/common#/definitions/link')]), ordereddict([('type', 'array'), ('items', ordereddict([('$ref', '/schemas/common#/definitions/link')]))])]}

  On instance['link']:
      None

Reported by tests/unit/test_schema.py, fixing in #3677

happz added a commit that referenced this pull request Apr 16, 2025
@psss
Copy link
Collaborator

psss commented Apr 17, 2025

@psss we should wait for at least some of the core test jobs to complete.

Ah, I see, understood. Thanks for the headsup!

bajertom pushed a commit that referenced this pull request Aug 11, 2025
Signed-off-by: mcasquer <[email protected]>
Co-authored-by: Petr Šplíchal <[email protected]>
bajertom pushed a commit that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. step | report Stuff related to the report step
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

4 participants