Changelog: slk_helpers v1.9.3#
Update from slk_helpers v1.9.0 to v1.9.3
see here for changes from slk_helpers v1.8.10 to v1.9.0
see here for changes 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#
new commands
is_on_tape
andgen_search_query
Changes that might break established workflows#
diagnostic verbose output is printed to stderr instead of stdout so that the normal output can be captured easier
job_status
: new job statiFAILED
andSUCCESSFUL
replace old statusCOMPLETED
job_status
: returns exit code1
if a job has statusFAILED
,ABORTED
orABORTING
All fixes and new features#
search_limited
: did not recognize certain failed searches in the pastiscached
:no error thrown anymore when resource ids are inserted which represent namespaces
correct output is printed when only one file was provided and
-v
or-vv
is setfixed issue when checking caching status of 0 byte files
job_status
:new job stati
FAILED
andSUCCESSFUL
replace old statusCOMPLETED
;COMPLETED
might still be usedreturns exit code
1
if a job has statusFAILED
,ABORTED
orABORTING
- new command
is_on_tape
: same as
iscached
but checks if files are on tapefiles, which are on tape and in the cache, are considered as being on tape
this is NOT the inverse of
iscached
=> a file can be on tape and in the cache
- new command
- new command
gen_search_query
: generates a JSON search query which can be run by
slk search
accepts search conditions/fields like
netcdf.Project='abc'
,resources.birth_time='2023-01-01T13:00:00'
orpath=/arch/bm0146/k204221
search conditions/fields are linked via
and
user can provide another existing search query via
--search--query
which is linked viaand
to the other inputAunderstands comparison operators
=
,<
,>
,<=
and>=
- new command
- optional verbose and summary output is now printed to
stderr
instead ofstdout
hsm2json
: verbose output printed to stderr (but summary not)gfbt
/group_files_by_tape
: print verbose output (diagnostic purpose) to stderrsearch_limited
: search status
- optional verbose and summary output is now printed to
- these commands can handle searches of which one or more resources were deleted
iscached
is_on_tape
has_no_flag_partial
hsm2json
gfbt
/group_files_by_tape
list_search
may list already deleted files (not checked for performance reasons)
Known issues#
list_search
may list already deleted files (not checked for performance reasons)