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

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Assignee Ann Loraine [ aloraine ] Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Summary change snapshotmainView to save image in user HOME directory support relative paths in snapshotmainView
            ann.loraine Ann Loraine made changes -
            Description IGB scripting language contains command:

            snapshotmainView

            which accepts a file path and name as a parameter.

            Improve the command syntax as follows:

            * 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



            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



            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] Ready for Pull Request [ 10304 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ] Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Fix Version/s 9.0.2 [ 10600 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018 [ 48 ] B - Summer 2018, Summer 2018 Part 2 [ 48, 49 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Testing In Progress [ 10003 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ann Loraine [ aloraine ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Summary support relative paths in snapshotmainView Support tilde as shorthand for HOME.DIRECTORY in snapshotmainView
            ann.loraine Ann Loraine made changes -
            Status Needs Testing [ 10002 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2 [ 48, 49 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3 [ 48, 49, 50 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ] Sneha Ramesh Watharkar [ jdaly ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] In Progress [ 3 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3 [ 48, 49, 50 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1 [ 48, 49, 50, 51 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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



            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



            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Sneha Ramesh Watharkar [ jdaly ] Kiran Korey [ kkorey ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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



            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


            Use installer of this branch
            https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1286-tilde
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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


            Use installer of this branch
            https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1286-tilde
            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

            Also change the first line in the Example script found in Test page (CommandSocketExample.sh)
            #!/bin/sh -----> #!/bin/bash



            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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

            Also change the first line in the Example script found in Test page (CommandSocketExample.sh)
            #!/bin/sh -----> #!/bin/bash



            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)
            #!/bin/sh -----> #!/bin/bash



            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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)
            #!/bin/sh -----> #!/bin/bash



            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)
            #!/bin/sh -----> #!/bin/bash

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



            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] Ready for Pull Request [ 10304 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ] Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1 [ 48, 49, 50, 51 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1, Fall 2018 Sprint 2 [ 48, 49, 50, 51, 52 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            mason Mason Meyer (Inactive) made changes -
            Assignee Mason Meyer [ mason ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Mason Meyer [ mason ] Ivory Blakley [ ieclabau ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ] Kiran Korey [ kkorey ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Link This issue relates to IGBF-1405 [ IGBF-1405 ]
            ann.loraine Ann Loraine made changes -
            Labels Beginner Intermediate
            ann.loraine Ann Loraine made changes -
            Labels Beginner Intermediate Intermediate
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17977 ] Fall 2019 Workflow Update [ 19877 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19877 ] Revised Fall 2019 Workflow Update [ 21996 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-3597 [ IGBF-3597 ]

              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: