Skip to content
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

Remove duplicate task for protobuf docs generation #1387

Merged
merged 1 commit into from
Aug 11, 2021
Merged

Remove duplicate task for protobuf docs generation #1387

merged 1 commit into from
Aug 11, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 11, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Infrastructure clean up

  • What is the current behavior?

The "gRPC reference" section of the documentation website is automatically generated from the repository's protocol
buffer files. In order to make this generation process easy for developers to run, the necessary commands are defined in
a task.

For some reason, there were two tasks for this purpose, with different names and descriptions, but identical commands.
This makes the taskfile more difficult to understand and more difficult to maintain.

  • What is the new behavior?

One of the tasks, protoc:docs is called by the docs:generate task. The other, docs:gen:protobuf, is not used or
referenced anywhere in the repository. So I have removed docs:gen:protobuf from the taskfile.

The removal of the docs:gen:protobuf task will disrupt the workflow of any developer who is accustomed to having it available.

This could be avoided by deprecating the task rather than doing an immediate removal. However, this removal unlikely to have a significant impact.

However, there is no change to the application's API.

@per1234 per1234 added type: enhancement Proposed improvement topic: gRPC topic: infrastructure Related to project infrastructure labels Aug 11, 2021
The "gRPC reference" section of the documentation website is automatically generated from the repository's protocol
buffer files. In order to make this generation process easy for developers to run, the necessary commands are defined in
a task.

For some reason, there were two tasks for this purpose, with different names and descriptions, but identical commands.
This makes the taskfile more difficult to understand and more difficult to maintain.

One of the tasks, `protoc:docs` is called by the `docs:generate` task. The other, `docs:gen:protobuf`, is not used or
referenced anywhere in the repository. So I have removed `docs:gen:protobuf` from the taskfile.
@per1234 per1234 merged commit e4c54ec into arduino:master Aug 11, 2021
@per1234 per1234 deleted the dup-task branch August 11, 2021 11:21
@rsora rsora added the topic: gRPC Related to the gRPC interface label Sep 22, 2021
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: gRPC Related to the gRPC interface topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants