Issue 466: SkylineRunner scriptability improvements: version number and help info from commandline, and non-zero exit code on error

Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:2
Milestone:19.2
Opened:2016-04-25 08:20 by Brian Pratt
Changed:2022-02-28 15:25 by Brian Pratt
Resolved:2020-03-09 16:12 by Brendan MacLean
Resolution:Fixed
Closed:2022-02-28 15:25 by Brian Pratt
2016-04-25 08:20 Brian Pratt
Title»SkylineRunner scriptability improvements: version number and help info from commandline, and non-zero exit code on error
Assigned To»kaipot@u.washington.edu
Type»Defect
Area»Skyline
Priority»3
Milestone»3.6
This comes from issues
"SkylineRunner: Add Ability to Return Version and Help Information"
https://skyline.gs.washington.edu/labkey/announcements/home/support/thread.view?rowId=26060
and
"SkylineRunner Needs to Return a Non-zero Value For Errors"
https://skyline.gs.washington.edu/labkey/announcements/home/support/thread.view?rowId=26059
and this email thread:

Hi Brian,
Please enter an issue and assign to Kaipo. Version should be easy and help should simply show the current PDF in a browser. That means we probably need to start storing versioned PDF files on the Skyline server, and change the URL every time we change the document. Luckily the documentation is in SVN with the source that will reference it.


--Brendan

On Fri, Apr 22, 2016 at 10:08 AM, Brian Pratt <bspratt@proteinms.net> wrote:
While your recent work is still loaded up in your head, how hard to get this done? I do think it's a pretty fundamental thing for us to have left out.

---------- Forwarded message ----------
From: <skyline@proteinms.net>
Date: Sun, Apr 17, 2016 at 2:28 PM
Subject: SkylineRunner: Add Ability to Return Version and Help Information
To: bspratt@proteinms.net


michael creech created a new request.    2016-04-17 14:28
When SkylineRunner is called with no arguments, it just returns with no message making it unclear on whether it is working properly.
  
I suggest either returning some version information or, more standard, print some help information about using SkylineRunner. This could be by listing SkylineRunner?s options, or specifying to ?use ??help? to see program argument options?.
  
Independent of the no argument issue, I also recommend you add a "?version? and ??help? option.
 
View this request

2016-07-07 10:01 Brendan MacLean
Priority3»2

2017-09-21 14:36 Kaipo Tamura
Milestone3.6»4.1
Nick and Vagisha have taken care of non-zero exit code for SkylineCmd and SkylineRunner respectively.

Just need the version number part now.

2019-09-15 14:36 Brendan MacLean
Assigned ToKaipo»Brendan MacLean

2020-03-09 16:12 Brendan MacLean
resolve as Fixed
Statusopen»resolved
Assigned ToBrendan MacLean»Brian Pratt
Milestone4.1»19.2
All of these have been fixed.

2022-02-28 15:25 Brian Pratt
close
Statusresolved»closed
Assigned ToBrian Pratt»Guest