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

Details

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

    Description

      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"
              }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes