Closed victortoso closed 8 months ago
Okay, now the logs are like:
Unknown escape character: 47 at row 6, col 28, pos 184:
5: pip3 install mkdocs mkdocs-awesome-pages-plugin mkdocs-material;
6> sed -i "s/site_url: https:\/\/kubevirt.io\/docs/site_url: https:\/\/kubevirt.io\//" /opt/build/repo/mkdocs.yml;
^
7: sed -i "s/docs_dir: docs/docs_dir:/" /opt/build/repo/mkdocs.yml;
A clear improvement.
/lgtm
Nice one. Thanks @victortoso
While we're at it, do we want to change the delimiter character in those sed commands to something that is not used in the string sub?
Maybe |
? WDYT?
/lgtm Nice one. Thanks @victortoso
@aburdenthehand Thank you. I'm still fixing the sed. Not particularly expert in it so it might take a few tries :)
While we're at it, do we want to change the delimiter character in those sed commands to something that is not used in the string sub? Maybe | ? WDYT?
Sounds fine to me, I'll give a try after lunch!
Unknown escape character: 49 at row 6, col 50, pos 206:
> sed -iE "s/(site_url: https:..kubevirt.io.)docs/\1/" /opt/build/repo/mkdocs.yml;
^
Even when trying to fix the usage of \
I'm using \
. :man_facepalming:
/approve Yes please! Thank you :)
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jean-edouard
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm Muuuch cleaner. Thanks Victor!
What this PR does / why we need it: I was looking at the CI failure at https://github.com/kubevirt/user-guide/pull/751 and it complains about escaping, error is:
Not easy to see the issue with a huge command line. This PR tries to break it down and fix the issue if any.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged): Fixes #Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list.
Release note: