File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
1717singularity on pypi), and the versions here will coincide with these releases.
1818
1919## [ master] ( https://github.com/singularityhub/singularity-cli/tree/master )
20+ - do not modify user provided instance name when generating new instance (0.3.13)
2021 - bug with instance.run_command (0.3.12)
2122 - added check to enbsure stderr exists upon a non-zero return code when streaming (0.3.11)
2223 - exposed the stream type option, and ability to capture both stdout and stderr when stream=True (0.3.1)
Original file line number Diff line number Diff line change @@ -47,7 +47,10 @@ def generate_name(self, name=None):
4747 # If no name provided, use robot name
4848 if name is None :
4949 name = self .RobotNamer .generate ()
50- self .name = name .replace ("-" , "_" )
50+ # dash allowed in instance name.
51+ # authorizedChars = `^[a-zA-Z0-9._-]+$` from instance_linux.go
52+ # self.name = name.replace("-", "_")
53+ self .name = name
5154
5255 def parse_image_name (self , image ):
5356 """
Original file line number Diff line number Diff line change 55# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
77
8- __version__ = "0.3.12 "
8+ __version__ = "0.3.13 "
99AUTHOR = "Vanessa Sochat"
1010AUTHOR_EMAIL = "vsoch@users.noreply.github.com"
1111NAME = "spython"
You can’t perform that action at this time.
0 commit comments