Skip to content

Conversation

@tomschr
Copy link
Collaborator

@tomschr tomschr commented Oct 14, 2025

The algorithm only detected the first productname. Now it can detect more than one. The delimiters in the version attribute can be space, comma, or semicolon:

<meta name="productname" its:translate="no">
   <productname version="16.0,16.1 16.2;16.3">&sles;</productname>
   <productname version="6.1">&slm;</productname>
</meta>

creates:

"products": [
  {
      "name": "SUSE Linux Enterprise Server",
      "versions": [
        "16.0", "16.1", "16.2", "16.3"
      ]
  },
  {
      "name": "SUSE Linux Micro",
      "versions": [
        "6.1"
      ]
  }
]

The algorithm only detected the first productname. Now it can detect
more than one. The delimiters in the "version" attribute can be space,
comma, or semicolon:

  <meta name="productname" its:translate="no">
     <productname version="16.0,16.1 16.2;16.3">&sles;</productname>
  </meta>

creates:

  "products": [
    {
      "name": "SUSE Linux Enterprise Server",
      "versions": [
        "16.0", "16.1", "16.2", "16.3"
      ]
    }
  ]
@tomschr tomschr requested a review from fsundermeyer October 14, 2025 11:37
Copy link
Member

@fsundermeyer fsundermeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@fsundermeyer fsundermeyer marked this pull request as ready for review October 21, 2025 14:04
@fsundermeyer fsundermeyer merged commit 17156a2 into 4.0.beta13 Oct 21, 2025
0 of 2 checks passed
@fsundermeyer fsundermeyer deleted the fix-extract-metadata branch October 21, 2025 14:04
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

Successfully merging this pull request may close these issues.

3 participants