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

Do not evaluate component scripts that contain empty implementation

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes