Changelog: slk_helpers v1.8.10#
Update from slk_helpers v1.8.2 to v1.8.10
see here for changes from slk_helpers v1.7.4 to v1.8.2
see here for changes from slk_helpers v1.7.1 to v1.7.4
see here for changes from slk_helpers v1.6.0 to v1.7.1
see here for changes from slk_helpers v1.5.8 to v1.6.0
see here for changes from slk_helpers v1.5.7 to v1.5.7
see here for changes from slk_helpers v1.2.x to v1.5.7
Please have a look here for a detailed description of the new features and here for an incremental changelog.
Major changes#
iscachedacceptssearch ids,resource idsand namespaces/directories (with-Rappended) as input and it got the flags-vand-vvfor verbose outputgroup_files_by_tapegot many new input parameters:JSON output:
--jsonand--json-prettyverbose mode:
-vand-vvuse search query as input
--search-query '<search_query>'searches for more than one tape:
--set-max-tape-number-per-search <N>/--smtnps <N>--count-tapes--full--details
Changes that might break established workflows#
resource_typeandresource_permissions: expect aresource pathby default xor aresource idvia--resource-idgroup_files_by_tape: width ofstatusin normal text output (value in brackets) increased by oneplease use
resource_pathinstead ofresourcepath; the latter might be deprecated and removed in future
All fixes and new features#
- general:
minor bugfixes in the error output messages
properly exit when wrong parameters are provided (in some situations)
new flag
--help <command>to print the help for a specific command; e.g.slk_helpers --help mkdirwill print the help formkdirnew hidden flag
--pidwill print the Linux process id of the Java virtual machineno command help is printed when a command is used the wrong way
fixed: commands which expect a list of Strings did not recognize wrong parameters but interpreted them as items of the list
new commands:
searchid_existsandhas_flag_partial
checksum: did not work after update to 1.8.1iscached:fixed a bug which caused
iscachednot to work properly in 1.8.2also accepts
search ids(via flag--search-id) andresource ids(via flag--resource-id) in addition toresource pathsandresource idsaccepts a directory/namespace as input (with
-Rset)got the flags
-vand-vvfor verbose and double verbose mode, respectively
resource_typeandresource_permissions: expect aresource pathby default xor aresource idvia--resource-idsize: acceptsresource ids(via flag--resource-id) in addition toresource pathsgroup_files_by_tapenew flags
--jsonand--json-prettyto print output as JSONnew flags
-v(same as--print-progress) and-vvfor verbose and double-verbose output, respectivelynew parameter
--search-query '<search_query>'new parameter
--set-max-tape-number-per-search <N>/--smtnps <N>which causes the searches to be run not for one tape but for a maximum ofNtapes – only if less than 50 files are to be retrieved per search and only forN <= 2internal searches are performed differently; partly more efficient
width of
statusin normal text output (value in brackets) increased by oneminor bug fixes
gen_file_query--not-cached(currently not working) and--tape-barcodes TAPE1,TAPE2,...minor bug fixes
tape_status: fixed that tape status was not properly printed- command
job_queuehas new optional argument-i <INTERPRET_TYPE>/--interpret <INTERPRET_TYPE>with these values forINTERPRET_TYPE(case insensitive): RAW/R: same as argument not setTEXT/T: print short textual interpretation of the queue status => none, short, medium, long, jammedDETAILS/D: print detailed textual interpretation of the queue statusNUMERIC/N: print a number representing the queue status => 0 (==none), 1 (==short), …, 4 (==jammed)
- command