Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1685

Extend JSON API to request the list of profiles

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • 2.1.0
    • None
    • General
    • None
    • All
    • 6acac88c0 (2.1)

    Description

      It would be good to have an additional JSON API to query the all available profiles throught the IPC.

      It is something like that the `qbs config --list` command does.

      For the IPC we can introduce a new request `type`, like `get-profiles`. The request content can contains the `settings-directory` property to specify a concrete settings location.

      This would be useful for the some IDE's integration to request the QBS profiles. Because right now, e.g. the VSCode extension calls the separate `qbs config --list` command and parses its output to show the list of profiles for the user.

      Attachments

        For Gerrit Dashboard: QBS-1685
        # Subject Branch Project Status CR V

        Activity

          People

            arch Ivan Komissarov
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes