-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
test: Add VM's XML and VM's log into link-patterns #19289
Conversation
test/common/link-patterns.json: Invalid \escape: line 31 column 74 (char 882) |
test/common/link-patterns.json
Outdated
}, | ||
{ | ||
"label": "vm xml", | ||
"pattern": "Wrote ([A-Za-z0-9\\.\\-]+) XML to ([A-Za-z0-9\\.\\-]+\.xml)$", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a raw string here; the other patterns ought to do that as well, to avoid the ugly double \\
.
test/common/link-patterns.json
Outdated
@@ -1,29 +1,29 @@ | |||
[ | |||
{ | |||
"label": "screenshot", | |||
"pattern": "Wrote screenshot to ([A-Za-z0-9\\-\\.]+\\.png)$", | |||
"pattern": `Wrote screenshot to ([A-Za-z0-9\-\.]+\.png)$", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I originally thought that was python -- too hard to pay full attention on the sprint. Of course this is json, there is no such thing as a raw string.
Capturing VM's xml and logs was implemented in [1], now it's time to also include the in our link-patterns. [1] cockpit-project/cockpit-machines#1158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheers!
Capturing VM's xml and logs was implemented in [1], now it's time to also include the in our link-patterns.
[1] cockpit-project/cockpit-machines#1158