Skip to content

[request] enhance the list output to show the base64 decoded file names #2

@BertLindeman

Description

@BertLindeman

Using spike-tools for a few hours now.

  • Looking at the list output first.
    The slot file name on my hub is base64 encoded.
    As an example:
    Name: ZGlyZWN0b3J5X2xpc3Q=
    Name decoded: directory_list

  • Looking at the list output with --debug I see a fields that are not printed

    • project-id - not base64 encoded but I do not understand it
    • id - some number that I also do not understand
    • type - in my case always python, but I have only one hub....

suggestions:

  1. Add a line to the list output (at most 20 lines, so only few) with the decoded file name
  2. remove id from the print and add type
    unless you have an explanation what it means.
  3. Add the project if we know what type of encoding there is on it

Something like this maybe:

# Name / Name decoded Size type Last Modified
0 ZGlyZWN0b3J5X2xpc3Q= 1725b python 2020-07-27 13:05:09
. directory_list
1 dHJ5X21vZHVsZXM= 357b python 2020-07-26 22:15:06
. try_modules
9 UHJpbWVDdWJlci12MXAx 1662b python 2020-07-26 18:02:38
. PrimeCuber-v1p1
10 YXZhaWxhYmxlbW9kdWxlcw== 494b python 2020-07-26 22:51:58
. availablemodules
. . . . 30940/31744kb Free

If you want a pull request for this I will make one, of course.

Bert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions