Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22815

The Create tarball deploy step does not correctly tar files that have a target path longer than 100 characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.10.0
    • Qt Creator 4.9.2, Qt Creator 4.10.0-rc1
    • Remote Linux
    • None
    • Mint Linux 19.1
    • Linux/X11
    • 1f4176275ebf05de8024ff38cde781f22d135faf (qt-creator/qt-creator/4.10)

    Description

      While creating the tarball, if the target path is longer than 100 characters, it is broken up into two fileds of the tar header: fileName and fileNamePrefix.

      Unfortunately it is broken up incorrectly and the effect is that a file with the target path

      "opt/RTTS/backend/RTTSServiceApplication/tracks/Zandvoort_overlayTrack-hd_3C0A7364-5429-41D3-A3B9-A51E78CDC703.png"

      will be tared as

      "opt/RTTS/back/end/RTTSServiceApplication/tracks/Zandvoort_overlayTrack-hd_3C0A7364-5429-41D3-A3B9-A51E78CDC703.png"

      Note the additional '/' between "back" and "end"

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            mr_wilk Bartosz Juja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes