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

Qt Online Installer metadata cache



    • Type: Task
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Component/s: General
    • Sprint:
      Qt Installer Sprint 62, Qt Installer Sprint 63, Qt Installer Sprint 64, Qt Installer Sprint 65


      Idea proposal:

      Support local machine cache for metadata to speed up consequent launches of the online installer.


      For initial implementation:

      1. installer stores the temporary local repository structures ("/tmp/remoterepo-XXXXXX" directories) in a defined cache location
      2. checksums of new downloaded Updates.xml files are compared to checksums in cache
      3. matching cache entries need to be checked for validity (i.e. meta.7z:s not deleted and their checksum matches)
      4. download only metadata for missing repositories (Updates.xml sha not in cache) or broken metadata archives
      • metadata archives could probably be uncompressed only once, but we would need to calculate a new checksum for the uncompressed content
      • could we use a similar cache for the data archives?


      For next steps:

      1. releasing to incrementally update metadata checksum table per repository
      2. this checksum table is updated to Qt back-end (steps 1-2 automated)
      3. Qt Online Installer: after login, the Qt backend returns the checksum table
      4. Those repositories that are located in the local cache do not need to be updated from online
      5. When downloading new metadata from online these are stored into local IFW cache



        For Gerrit Dashboard: QTIFW-2621
        # Subject Branch Project Status CR V



            arttu.tarkiainen Arttu Tarkiainen
            iknd Iikka Eklund
            0 Vote for this issue
            1 Start watching this issue



                Gerrit Reviews

                There is 1 open Gerrit change