spkenv / spk

A Package Manager for high velocity software environments, built on spfs.
https://spkenv.dev
Apache License 2.0
40 stars 6 forks source link

Have spfs runtime list show a timestamp for each runtime #1008

Open dcookspi opened 8 months ago

dcookspi commented 8 months ago

Have spfs runtime list show a timestamp for each runtime using it's author -> created field. This would help people see how old particular runtimes are when they are trying to manage their local runtimes.

Describe the solution you'd like

Instead of:

670759f7-819d-4263-88eb-c00cb2b5e563    running=false   pid=unknown editable=false  durable=false   
1d23c37d-c209-4265-9f3c-091c5af1b9e5    running=false   pid=unknown editable=false  durable=false
fb711102-945c-4ce0-bd2d-1559f0dc14a0    running=false   pid=unknown editable=false  durable=false   
5c62fedc-fa77-4cf7-9402-9420f7c644a6    running=false   pid=unknown editable=false  durable=false   
...

something like:

2024-03-14 12:21  670759f7-819d-4263-88eb-c00cb2b5e563  running=false   pid=unknown editable=false  durable=false   
2024-03-14 12:31  1d23c37d-c209-4265-9f3c-091c5af1b9e5  running=false   pid=unknown editable=false  durable=false   
2024-03-14 12:41  fb711102-945c-4ce0-bd2d-1559f0dc14a0  running=false   pid=unknown editable=true   durable=true
2024-03-14 12:51  5c62fedc-fa77-4cf7-9402-9420f7c644a6  running=false   pid=unknown editable=false  durable=false
...

or

created           runtime id/name                       running pid     editable  durable
2024-03-14 12:21  670759f7-819d-4263-88eb-c00cb2b5e563  false   unknown false   false   
2024-03-14 12:31  1d23c37d-c209-4265-9f3c-091c5af1b9e5  false   unknown false   false   
2024-03-14 12:41  fb711102-945c-4ce0-bd2d-1559f0dc14a0  false   unknown true    true
2024-03-14 12:51  5c62fedc-fa77-4cf7-9402-9420f7c644a6  false   unknown false   false
...
rydrman commented 4 months ago

related to #540