Closed purelind closed 2 months ago
[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Key changes in this pull request include updating the
build pdf
script in thedocs-tidb-operator
pipeline by changing thefind
command to agrep
command and updating thepython3
script call.A potential problem with this change is that the
grep
command may not work as expected since the pipeline is looking for tabs (\t
) in the files, and thegrep
command is using the-P
flag, which enables Perl-compatible regular expressions, to match the tabs. This may not be supported on all systems.As a suggestion, it may be better to use a more standard regular expression to match tabs, such as
grep -R $'\t' *
. Additionally, it may be good to add comments explaining why the change was made and what the expected behavior is.Overall, this seems like a simple change that should not cause any major issues, but it is important to ensure that the command works as expected on all systems before merging the pull request.