Skip to content

Conversation

leifmadsen
Copy link
Member

  • Fix syntax error in certificate renewal module

Fix a syntax error in the certificate renewal module. Fixing this
results in another issue that was hidden, whereby extra source lines are
shown when building for version 17.0 due to loose version ranges.
Unfortunately asciidoc doesn't provide an AND function in an ifeval or
ifdef so we need separate parameters defined and nested to perform what
is effectively a greater-than AND less-than evaluation.

This was caught by QE when identifying a link that didn't have a
corresponding section being built. The syntax error on the endif
resulted in everything after that not being built, but did not result in
a build error oddly enough. With this fix, everything is working as
intended and included assemblies after this one are now visible.

  • Update ifdef to use AND syntax

Update ifdef to use AND syntax per https://docs.asciidoctor.org/asciidoc/latest/directives/ifdef-ifndef/#checking-multiple-attributes

(cherry picked from commit 1a6cecf)

* Fix syntax error in certificate renewal module

Fix a syntax error in the certificate renewal module. Fixing this
results in another issue that was hidden, whereby extra source lines are
shown when building for version 17.0 due to loose version ranges.
Unfortunately asciidoc doesn't provide an AND function in an ifeval or
ifdef so we need separate parameters defined and nested to perform what
is effectively a greater-than AND less-than evaluation.

This was caught by QE when identifying a link that didn't have a
corresponding section being built. The syntax error on the endif
resulted in everything after that not being built, but did not result in
a build error oddly enough. With this fix, everything is working as
intended and included assemblies after this one are now visible.

* Update ifdef to use AND syntax

Update ifdef to use AND syntax per https://docs.asciidoctor.org/asciidoc/latest/directives/ifdef-ifndef/#checking-multiple-attributes

(cherry picked from commit 1a6cecf)
@leifmadsen leifmadsen added cherry-pick Needs cherry-pick to stable branches 1.5 labels Dec 7, 2022
@leifmadsen leifmadsen enabled auto-merge (squash) December 7, 2022 19:34
@leifmadsen leifmadsen merged commit fb33ce2 into stable-1.5 Dec 7, 2022
@leifmadsen leifmadsen deleted the stf15/cp-1a6cecf44316f9a944c654b28f78101a75b08370 branch December 7, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.5 cherry-pick Needs cherry-pick to stable branches

Development

Successfully merging this pull request may close these issues.

2 participants