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

Argument parsing is foolish when using spaces in include / exclude list.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • Some future release
    • 1.2, 1.3.0, 1.4.0
    • General
    • None
    • Windows XP Pro, Qt 4.8.1 statically built.

    Description

      i use and maintain scripts to dynamically build multiple installers. One of them could look like this:
      repogen \
      [spaces] --update \
      [spaces] --config config/Something.xml \
      [spaces] --packages packages \
      [spaces] --include fr.company.pkg1,\
      [spaces] fr.company.pkg2 \
      [spaces] somePath
      This would not work (Same thing for binary creator). This seems to be related to the spaces of my indentation before including pkg2.

      To make it work, i have to:
      repogen \
      --update \
      --config config/Something.xml \
      --packages packages \
      --include fr.company.pkg1,fr.company.pkg2 \
      somePath
      And it works, but maintaining script with long include / exclude lines can become a headache.

      Attachments

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

        Activity

          People

            kamartti Katja Marttila
            hickscorp MARTIN Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes