Skip to content

Temporarily disable platform documentation rules #166

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 1 commit into from
Mar 9, 2021
Merged

Temporarily disable platform documentation rules #166

merged 1 commit into from
Mar 9, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Mar 9, 2021

Although the official boards platforms are located in the root of the repository, some 3rd party platforms have the platform under the architecture subfolder of the repository in order to be friendly to manual installation (Boards Manager installation automatically generates this folder).

The problem is that the license and readme should be in the repo root, but the project path is not the repository root when this alternative repository structure is in use. So this results in a false positive from the readme and license checks.

It's only a warning when not in strict mode, but having a spurious warning is annoying and also blocks people from being able to use strict mode.

These are important rules and I plan to find a solution to allow this rule to be applied to platforms of both structures once the development resources are available to make this happen. But since the rule is currently not compatible with all valid use cases, the best immediate action is to disable it.

Although the official boards platforms are located in the root of the repository, some 3rd party platforms have the platform under the architecture subfolder of the repository in order to be friendly to manual installation (Boards Manager installation automatically generates this folder).

The problem is that the license and readme should be in the repo root, but the project path is not the repository root when this alternative repository structure is in use. So this results in a false positive from the readme and license checks.

It's only a warning when not in strict mode, but having a spurious warning is annoying and also blocks people from being able to use strict mode.

These are important rules and I plan to find a solution to allow this rule to be applied to platforms of both structures once the development resources are available to make this happen. But since the rule is currently not compatible with all valid use cases, the best immediate action is to disable it.
@per1234 per1234 added priority: medium Resolution is a medium priority topic: code Related to content of the project itself type: enhancement Proposed improvement type: bug and removed type: enhancement Proposed improvement labels Mar 9, 2021
@per1234 per1234 requested a review from silvanocerza March 9, 2021 08:52
@per1234 per1234 merged commit 37a8a38 into arduino:main Mar 9, 2021
@per1234 per1234 deleted the disable-platform-documentation-rules branch March 9, 2021 15:54
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@rsora rsora added criticality: medium Of moderate impact and removed priority: medium Resolution is a medium priority labels Nov 2, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: medium Of moderate impact topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants