Changelog: slk v3.3.75#

Changes from slk v3.3.67 to v3.3.75

Changlog updated on 2022-12-06

Highlight Fixes#

  • slk archive, slk chmod, slk owner (only admin) and slk group: do not return exit code 1 if one or more files are skipped; exit code 1 is only returned if the archival of one or more files failed

  • slk tag -display: fixed and prints the metadata of any archived file

  • slk archive: does not create folders with . and .. as names anymore

  • slk list -b: prints the correct file size in bytes (the byte size was wrong by a factor of 100 in slk version 3.3.67)

  • slk netCDF metadata import: finalzied as described here; please notify us, if fields are missing

All Fixes#

  • slk in general:
    • concise error messages when connection issues to the StrongLink System occur (past: “session expired” was printed)

    • error messages improved generally

  • metadata import:
    • netCDF global attributes and variable information are imported as described here; there are two schemata netcdf and netcdf_header

    • please notify support@dkrz.de, if metadata fields, which you need, are missing (adding them will take a while)

    • fixed: in the past, no netCDF metadata was imported at all if one of the targeted global attributes was of wrong type

    • the netCDF metadata importer does basic type conversion (e.g. int to string)

  • slk archive, slk chmod, slk owner (only admin) and slk group:
    • do not return exit code 1 if one or more files are skipped

    • exit code 1 is only returned if the archival of one or more files failed

  • slk archive:
    • does not create folders with . and .. as names anymore

  • slk chmod:
    • command line output improved when targeted resource does not exists

  • slk list:
    • -b prints the correct file size in bytes (the byte size was wrong by a factor of 100 in slk version 3.3.67)

  • slk login:
    • fixed: in the past, the login dialog printed an error if a wrong password was provided first and the correct password was provided in the second try

  • slk tag
    • -display is fixed and prints the metadata of any archived file

    • fixed: in the past the number of files to modify was not displayed when 10000 files and more are targeted

Known issues#

  • slk list wildcard evaluation for directories does only work if * replace the full name of a directory and not parts; this works: slk list /arch/*/k204221/INDEX.txt; but not: slk list /arch/b*/k204221/INDEX.txt

  • slk list SEARCH_ID collects all search results, first, and, then, prints them. This might take a while if many search results are found. Alternatively, you can run slk_helpers list_search on the same SEARCH_ID which will print search results continuously.

  • slk move -i throws an error if the interactive prompt is answered with y/yes

  • slk move allows to use the * wildcard to specify the source files; doing so will cause an error You do not have permission to access this endpoint