Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-1878

install-dynamic-plugins.py doesn't update local plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.7.1, 1.8.0
    • 1.5.0, 1.6.0, 1.7.1
    • Dynamic Plugins
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      = Fixed incorrect version detection for local plugin updates

      Before this update, local plugins within the image were incorrectly detected for updates due to version misidentification. This led to users being unable to update local plugins from wrappers, resulting in outdated functionality. With this release, local plugin updates are now automatically detected, eliminating the need for manual adjustments and ensuring seamless plugin version updates for end users.
      Show
      = Fixed incorrect version detection for local plugin updates Before this update, local plugins within the image were incorrectly detected for updates due to version misidentification. This led to users being unable to update local plugins from wrappers, resulting in outdated functionality. With this release, local plugin updates are now automatically detected, eliminating the need for manual adjustments and ensuring seamless plugin version updates for end users.
    • Bug Fix
    • Done
    • RHDH Dynamic Plugins 3277, RHDH Dynamic Plugins 3278, RHDH Plugins 3279, RHDH Plugins 3280

      Description of problem:

      The dynamic plugin installation script (`install-dynamic-plugins.py`) does not update a local plugin (wrapper) if its configuration in `dynamic-plugins.yaml` remains unchanged.

      The script calculates a hash based on the plugin's configuration block in the YAML file, not the content of the plugin's source directory.

      This is especially problematic for RHDH version updates. The plugins won't be updated if RHDH deployment is configured with persistent storage under `dynamic-plugins-root`

       

      Proposed solution:

      Use the version from package.json in the hash to detect plugin updates. (or maybe the whole package.json content)

              stlewis_2 Stan Lewis
              tkral@redhat.com Tomas Kral
              RHIDP - Plugins
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: