Bug 1011 - Extension Version should be in sync with release version in AMP UI

Review Request #370 — Created July 25, 2024 and submitted

pmurugaiyan
AMP
amp_3_7_0
1011
apoorva.sn, prajesh, shuinvy

Bug 1011 - Extension Version should be in sync with release version in AMP UI

All the extension versions are streamlined with the AMP main version.

Added an script to uninstall the existing extensions.

The changes are tested locally.

Copy the all_in_one.tgz
Unzip the all_in_one.tgz
Execute the uninstall_extensions.tgz to uninstall the existing extensions
Execute the install.sh to install the latest AMP and its extensions

Description From Last Updated

what is the intent behind read -r? Can we not just do yum remove ?

prajeshprajesh
apoorva.sn
  1. Ship It!
  2. 
      
prajesh
  1. 
      
  2. what is the intent behind read -r?

    Can we not just do yum remove ?

    1. The extesion name we are sharing as part of the loop ($extensionName) are like 'auditing' but the actual installed extension name would be 'auditing-3.7.0-1.el7.centos.x86_64', so while removing we are passing the full extension name with exact version match, so with approach even if multiple version versions installed (if by mistake) also would be cleaned up.

    2. Will this work rpm -qa | grep $extensionName | xargs yum remove -y

    3. yes, this also works.

  3. 
      
prajesh
  1. 
      
  2. 
      
pmurugaiyan
Review request changed

Status: Closed (submitted)

Loading...