Skip to content
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

remove synopsis editing hack for RHSAs #198

Open
ktdreyer opened this issue Sep 15, 2020 · 0 comments
Open

remove synopsis editing hack for RHSAs #198

ktdreyer opened this issue Sep 15, 2020 · 0 comments

Comments

@ktdreyer
Copy link
Contributor

In erratum.py we have the following workaround:

# ET automagically handles the severity for the synopsis in RHSA's
# but will still see it as a docs change if we write the same one
# back again, so remove it.
if self.errata_type == 'RHSA':
    severity = r'^(Low|Moderate|Important|Critical): '
    self.synopsis = re.sub(severity, "", self.synopsis)

This ET server behavior might be changing in RHELWF-181. Need to confirm with the latest ET version that this is still an issue. If it's truly resolved, we can drop this workaround code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant