Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1286

Support tilde as shorthand for HOME.DIRECTORY in snapshotmainView

    Details

    • Story Points:
      2
    • Sprint:
      B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1, Fall 2018 Sprint 2

      Description

      IGB scripting language contains command:

      snapshotmainView

      which accepts a file path and name as a parameter.

      Improve the command syntax:

      • Enable Unix-style relative paths, e.g.:

      ~/foo.png # user's home directory
      ./foo.png # saved in current working directory
      ../foo.png # saved in parent directory
      foo.png # saved in current working directory

      • Detect the OS and handle OS-specific file path designations gracefully

      For example, on Windows, users should be able to use back-slashes in file paths

      • Develop test scripts for each platform testing supported ways a user may indicate file name and path

      The testing procedure is in the following link:
      https://wiki.transvar.org/display/ITD/Command+Socket+Plugin

      /* Problems faced during testing on windows: Sneha */
      To run bash script on windows, we need to follow the instructions in the site below to configure Windows machine.

      https://www.lifewire.com/how-to-run-the-bash-command-line-in-windows-10-4072207
      After configuring Windows to run bash script,

      Change the first line in the Example script found in Test page (CommandSocketExample.sh)
      #Unable to render embedded object: File (/bin/sh -----> #) not found./bin/bash

      Use https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1286-tilde installer for testing!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkorey Kiran Korey (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: