[apache] Update apache/httpd plugin for RHEL10#3990
Conversation
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
| self.add_copy_spec(f"{ldir}/{log}") | ||
|
|
||
| self.add_copy_spec([ | ||
| "/var/lib/httpd/*" |
There was a problem hiding this comment.
minor nit, add comma at the end, if there are new changes afterwards, it would be a one-line change rather than 2
arif-ali
left a comment
There was a problem hiding this comment.
Just a few minor points, otherwise all good
| ]) | ||
|
|
||
| self.add_forbidden_path([ | ||
| "/var/lib/httpd/*.pem" |
| r"\1 ********,") | ||
| self.do_path_regex_sub('/var/lib/httpd/.*json', | ||
| r"(\"e\"\s*:|\"n\"\s*:)(.*[^,]$)", | ||
| r"\1 ********") |
There was a problem hiding this comment.
they style we prefer is below, could we amend the above 2 to go in line please.
self.do_path_regex_sub(
'/var/lib/httpd/.*json',
r"(\"e\"\s*:|\"n\"\s*:)(.*[^,]$)",
r"\1 ********"
)c23b1c5 to
6048fa8
Compare
TurboTurtle
left a comment
There was a problem hiding this comment.
Linting comment below, otherwise looks good overall.
| '/var/lib/httpd/.*json', | ||
| r"(\"e\"\s*:|\"n\"\s*:)(.*[,]$)", | ||
| r"\1 ********," | ||
| ) | ||
| self.do_path_regex_sub( | ||
| '/var/lib/httpd/.*json', | ||
| r"(\"e\"\s*:|\"n\"\s*:)(.*[^,]$)", | ||
| r"\1 ********" |
There was a problem hiding this comment.
CI is failing due to indentation level. Each of these lines should be nested one level inside the method call, e.g.
self.do_path_regex_sub(
'/var/lib/httpd/.*json',
r"(\"e\"\s*:|\"n\"\s*:)(.*[,]$)",
r"\1 ********,"
)|
@dwolstroRH any updates on this one, some minor issues and this would be good. |
Related: SUPDEV-168 Signed-off-by: David Wolstromer <dwolstro@redhat.com>
6048fa8 to
81fb90b
Compare
Related: SUPDEV-168
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines