Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2753

Do not evaluate component scripts that contain empty implementation

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • P2: Important
    • None
    • None
    • Scripting
    • Qt Installer Sprint 64

    Description

      To speed up the evaluation phase in the installer one can optimize it to skip those components scripts that contain empty implementation. E.g.:

      function Component()
      {
      }

      function resolveQt6EssentialsDependency()
      {
      }

      Component.prototype.createOperations = function()
      {
      }

       

      These component scripts serve no purpose.
      The IFW can quickly check the script contents (regexp) and skip evaluating it if seen "empty".

      This should speed up evaluating legacy online repositories containing hundreds of potentially empty control scripts.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            iknd Iikka Eklund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes