Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-3330

Custom target doesn't use configured rules when specified via git repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.1.1
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem: I am setting up a custom target and trying to associate a remote git repository to it. I am able to associate in the UI but the actual analysis doesn't use my custom rules. A workaround exists, I just uploaded the individual rule files to the target.

       

      Version-Release number of selected component (if applicable):

      OCP 4.15.17

      MTA 7.0.3

       

      Steps to Reproduce:
      1. Install OCP and MTA 7
      2. Create a custom migration target and configure the source to use the `customrules` folder in the `mta-bug` branch of `https://github.com/selrahal/mta-bug`.
      3. Run an analysis of an application and choose the custom target, leaving all other options blank.

      4. Run an analysis of an application without any target, instead specifying the same options as in step 2.

      Actual results:

      The command that runs for step 3 and step 4 are different:

      Step 3: ``

      Step 4: ``

        1. image-2024-08-07-11-27-51-770.png
          135 kB
          Shveta Sachdeva
        2. image-2024-08-07-11-27-55-679.png
          135 kB
          Shveta Sachdeva
        3. image-2024-08-26-16-52-48-031.png
          23 kB
          Alejandro Brugarolas
        4. image-2024-08-26-16-53-13-402.png
          60 kB
          Alejandro Brugarolas
        5. image-2024-08-30-09-59-26-959.png
          25 kB
          Alejandro Brugarolas
        6. Screenshot from 2024-08-07 11-07-26.png
          129 kB
          Shveta Sachdeva

              jortel Jeff Ortel
              selrahal@redhat.com Sal Elrahal
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: