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

Get cache checksum from server when repository list is fetched

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 4.6.0
    • None
    • General
    • None
    • 9ad554ed2 (master), 1f8aec327 (master), 5cece3657 (master)
    • Qt Installer Sprint 69

      Qt Installer downloads each repository's Updates.xml in startup and in component selection view when new category is fetched. Checksums of each repositorys Updates.xml files are compared to the local cached items to check if the repository in question should download new version of metadata.

      Qt Installer gets its repository list from server. This repository list could contain also checksums of Updates.xml files. We could use this checksum to check if the cached items have changed instead of downloading each Updates.xml separately for checking if the metadata has changed and needs reload.

      Example format of the repository could be:

      "repositories": [        
              {
                  "action": "add",
                  *"checksum-sha1":"12345678890"*,
                  "categories": [
                      "Long Term Support",
                      "Latest releases",
                      "Archive"
                  ],
                  "name": "Qt from my repository",
                  "releasedate": "2022-10-07T11:00:00.000Z",
                  "url": "https://my_repository"
              }
      

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

            iknd Iikka Eklund
            kamartti Katja Marttila
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes