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
Create checks to place violations on missing macros in templates #13682
Comments
For now, it is probably better to get something in place, fix issues, and have manual suppressions. |
I'd say this check needs to target only source tags in the |
I do not know of some simple way to do this, I think we can do #13682 (comment) and be in good shape for now. We can improve in the future. I am approving this issue simple implementation at #13682 (comment) in mind. |
Removing approved label after some research and consideration. |
We currently have no checks on xml template files at all.
|
The cache files Since the xdocs are XML files, I don't see what else we can do besides relying on a bunch of regexps for anything extra which won't be fully reliable. I am fine with whatever regexps to create. |
We can have all such validation, but I would rather focus on this at the end, it will be hard to send PR without macroses usage, so easy to spot, so hard to make because as there will be no examples on how to do this :). |
@romani macros will do no good if we do not update templates. We need to have validation in place for existence of macro placement in template where we expect them. |
I agree, but I would rather focus on migration of all and if any problems happens focus on issues to resolve. And the end catch leftovers by such validation. |
Then we will run into issues in student PRs when we are missing macros in templates, this will not be a good experience for them or maintainers. |
I just say, better to do this after we finish 80-90% migrations. But if somebody can do this earlier it is ok. |
I am on this |
… macros in templates
…macros in templates
…macros in templates
…macros in templates
…macros in templates
…macros in templates
From #13643 (comment)
We need a check to ensure that no examples are shown in templates without being tested. For that, we can place violations on source tags in templates.
The text was updated successfully, but these errors were encountered: