Skip to content

Update kup list to show nicer and shorter version strings again #137

Description

@juliankuners

Since recently, the version string in kup list has been more verbose and longer, including commit revision and hashes. This is most likely due to changes in nix.

Currently, kup list looks like this:

$ kup list
┌──────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────┐
│ Package name (alias) │ Installed version                                                                                      │ Status       │
├──────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────┤
│ kontrol              │ 714b9f76d4b73a98ff9bd58ad5961a354e41672c?narHash=sha256-K/bEkZSjKZjmQHwlbzdgOTGrpBDPRXsTWBBjs/4MYqI%3D │ 🟢 installed │
│ k.openssl.secp256k1  │ ea08909b72f56615ab7dfe7a6e17218b6be01de4?narHash=sha256-J0GVDFuRcq1jZ6wghuKMuahjzCkv2YRW4I0BBBCgyVw%3D │ 🟢 installed │
│ kup                  │                                                                                                        │ 🔵 available │
│ kavm                 │                                                                                                        │ 🔵 available │
│ kevm                 │                                                                                                        │ 🔵 available │
│ kplutus              │                                                                                                        │ 🔵 available │
│ kmir                 │                                                                                                        │ 🔵 available │
│ kmxwasm              │                                                                                                        │ 🔵 available │
│ komet                │                                                                                                        │ 🔵 available │
└──────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────┘

This is quite long and can be shortened.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions