Skip to content

Conversation

@pieqq
Copy link
Collaborator

@pieqq pieqq commented Jun 15, 2023

Description

After deciding on the new nomenclature (Testbed and Controller), the documentation needed to be updated.

This PR

  1. introduces the new nomenclature in the Checkbox documentation
  2. upgrades the github workflow to be able to run the woke command as expected
  3. upgrades the glossary in the documentation
  4. revamps the explanation about how the Checkbox Agent works
  5. rewrites the explanation about the interrupt screen provided by Checkbox remote, as done by @Hook25 in Change the menu text to something more clear #540
  6. cleans up bad restructuredtext formatting

Part 4. requires some attention, because I'm not entirely sure about Checkbox internals with regards to snap/daemon/service and how each of these interact with each others. I've removed what I thought was not necessary, but I could be wrong.

Click here to see the changes in action!

I've split my work into different commits for easier review.

Resolved issues

Fixes CHECKBOX-658

Tests

Checked that pages looked OK during rewriting using make run, and checked inclusive language, spelling and links with

make woke && make spelling && make linkcheck

@pieqq pieqq requested review from Hook25, diohe0311, kissiel and yphus June 15, 2023 03:30
@pieqq pieqq changed the title Checkbox 658/docs remote nomenclature Checkbox remote nomenclature documentation upgrade Jun 16, 2023
@pieqq pieqq marked this pull request as draft June 19, 2023 02:50
pieqq added 11 commits June 27, 2023 14:38
Following a discussion with the documentation team that led to the
creation of a PR on their side[1], make sure to be in the docs/
directory before triggering the different commands. This should make
woke work as expected.

Please note that according to woke doc[2], the parameter to set this
is "workdir".

[1] canonical/sphinx-docs-starter-pack#40
[2] https://github.com/marketplace/actions/run-woke
- Update glossary to include terms like DUT, Testbed, as well as
Checkbox Controller and Checkbox Testbed
- Clean up rst markup
- Add links to glossary terms or other sections when it makes sense
Not sure why testbed is marked as an unkown word, it's in the
wiktionary:

https://en.wiktionary.org/wiki/testbed
Following proposal to provide better naming for Checkbox remote[1], it
was decided to use the following terms:

- "controller" for the entity that connects to remote DUT
- "agent" for the entity that runs on DUT or Zapper connected (directly
attached via various interfaces) to DUT to execute tests

Since "testbed" had been originally used for the second term in the
first draft, this commit addresses the "testbed" -> "agent" change.

[1]
https://docs.google.com/document/d/1GuR5xudmxgZ3bRMSRcuy0bZyX3We3UvooP0WT_VcXSA/
This was still useful when Checkbox was published on it, but it's not
anymore.
@pieqq pieqq force-pushed the CHECKBOX-658/docs-remote-nomenclature branch from 7de0406 to 67122b4 Compare June 27, 2023 14:31
@pieqq pieqq marked this pull request as ready for review June 27, 2023 14:32
Copy link
Contributor

@kissiel kissiel left a comment

Choose a reason for hiding this comment

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

one small mistake, some comments and a question below

@pieqq pieqq requested a review from kissiel June 29, 2023 05:25
Copy link

@yphus yphus left a comment

Choose a reason for hiding this comment

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

Very good job with the new nomenclature, +1

Copy link
Contributor

@kissiel kissiel left a comment

Choose a reason for hiding this comment

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

One thing I think needs changing.

@pieqq pieqq requested a review from kissiel July 10, 2023 07:54
Copy link
Contributor

@kissiel kissiel left a comment

Choose a reason for hiding this comment

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

TYVM!
+1

@pieqq pieqq merged commit de13e46 into main Jul 11, 2023
@pieqq pieqq deleted the CHECKBOX-658/docs-remote-nomenclature branch July 11, 2023 00:45
diohe0311 pushed a commit that referenced this pull request Jul 18, 2023
* Run commands from the docs/ directory

Following a discussion with the documentation team that led to the
creation of a PR on their side[1], make sure to be in the docs/
directory before triggering the different commands. This should make
woke work as expected.

Please note that according to woke doc[2], the parameter to set this
is "workdir".

[1] canonical/sphinx-docs-starter-pack#40
[2] https://github.com/marketplace/actions/run-woke

* Update glossary and clean up doc pages

- Update glossary to include terms like DUT, Testbed, as well as
Checkbox Controller and Checkbox Testbed
- Clean up rst markup
- Add links to glossary terms or other sections when it makes sense

* Replace references to master and slave

Fix CHECKBOX-658

* Rework the Checkbox remote interrupt screen explanation

* Rework the page about the Checkbox remote service

* Add words to spelling ignore list

Not sure why testbed is marked as an unkown word, it's in the
wiktionary:

https://en.wiktionary.org/wiki/testbed

* Fix rst reference to the launcher doc

* Replace mentions of "testbed" with "agent"

Following proposal to provide better naming for Checkbox remote[1], it
was decided to use the following terms:

- "controller" for the entity that connects to remote DUT
- "agent" for the entity that runs on DUT or Zapper connected (directly
attached via various interfaces) to DUT to execute tests

Since "testbed" had been originally used for the second term in the
first draft, this commit addresses the "testbed" -> "agent" change.

[1]
https://docs.google.com/document/d/1GuR5xudmxgZ3bRMSRcuy0bZyX3We3UvooP0WT_VcXSA/

* Rename [daemon] section of the launchers into [agent] section

* Remove PyPI from glossary

This was still useful when Checkbox was published on it, but it's not
anymore.

* Use warning instead of note for field deprecation comment

* Address feedback regarding service and configs pages

* Rename reference from DUT to Agent in configs page

* Update remote explanation
diohe0311 pushed a commit that referenced this pull request Jul 31, 2023
* Run commands from the docs/ directory

Following a discussion with the documentation team that led to the
creation of a PR on their side[1], make sure to be in the docs/
directory before triggering the different commands. This should make
woke work as expected.

Please note that according to woke doc[2], the parameter to set this
is "workdir".

[1] canonical/sphinx-docs-starter-pack#40
[2] https://github.com/marketplace/actions/run-woke

* Update glossary and clean up doc pages

- Update glossary to include terms like DUT, Testbed, as well as
Checkbox Controller and Checkbox Testbed
- Clean up rst markup
- Add links to glossary terms or other sections when it makes sense

* Replace references to master and slave

Fix CHECKBOX-658

* Rework the Checkbox remote interrupt screen explanation

* Rework the page about the Checkbox remote service

* Add words to spelling ignore list

Not sure why testbed is marked as an unkown word, it's in the
wiktionary:

https://en.wiktionary.org/wiki/testbed

* Fix rst reference to the launcher doc

* Replace mentions of "testbed" with "agent"

Following proposal to provide better naming for Checkbox remote[1], it
was decided to use the following terms:

- "controller" for the entity that connects to remote DUT
- "agent" for the entity that runs on DUT or Zapper connected (directly
attached via various interfaces) to DUT to execute tests

Since "testbed" had been originally used for the second term in the
first draft, this commit addresses the "testbed" -> "agent" change.

[1]
https://docs.google.com/document/d/1GuR5xudmxgZ3bRMSRcuy0bZyX3We3UvooP0WT_VcXSA/

* Rename [daemon] section of the launchers into [agent] section

* Remove PyPI from glossary

This was still useful when Checkbox was published on it, but it's not
anymore.

* Use warning instead of note for field deprecation comment

* Address feedback regarding service and configs pages

* Rename reference from DUT to Agent in configs page

* Update remote explanation
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.

3 participants