Skip to content

Conversation

@alexandraBara
Copy link
Collaborator

Adding details on err message when regex_match=true in plugin config.
Before:

Analysis error: Packages not found: [] (6 errors)

After:

+---------------+--------+--------------------------------------------------------------------------------+
| Plugin        | Status | Message                                                                        |
+---------------+--------+--------------------------------------------------------------------------------+
| PackagePlugin | ERROR  | Analysis error: Version mismatches: 'gcc.x86_64' (expected: 11.4.0, found:     |
|               |        | 8.5.0-21.el8), 'gcc-c++.x86_64' (expected: 11.4.0, found: 8.5.0-21.el8), 'gcc- |
|               |        | gdb-plugin.x86_64' (expected: 11.4.0, found: 8.5.0-21.el8), 'gcc-              |
|               |        | gfortran.x86_64' (expected: 11.4.0, found: 8.5.0-21.el8), 'gcc-plugin-         |
|               |        | annobin.x86_64' (expected: 11.4.0, found: 8.5.0-21.el8), 'libgcc.x86_64'       |
|               |        | (expected: 11.4.0, found: 8.5.0-21.el8) (6 errors)                             |
+---------------+--------+--------------------------------------------------------------------------------+

Test with the plugin_config.json:

{
  "global_args": {},
  "plugins": {
    "PackagePlugin": {
          "analysis_args": {
            "exp_package_ver": {
              "gcc": "11.4.0"
            },
            "regex_match": true
          }
    }
  },
  "result_collators": {},
  "name": "plugin_config",
  "desc": "Auto generated config"
}

Run:

node-scraper --plugin-config plugin_config.json

@alexandraBara alexandraBara merged commit a3b9a20 into development Dec 8, 2025
6 checks passed
@alexandraBara alexandraBara deleted the alex_package_fix branch December 8, 2025 22:03
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.

2 participants