canonical / canonical/multipass

multipass find should output image_hash

Open
#2,689 2 comments 1 reaction 0 assignees View on GitHub
CLI
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 2h
Merged PRs (30d)
45

Description

**What are you trying to do?**
In order to compare exactly a running image with an image release from the output of `multipass find`, comparing the `image_hash` of both is the only way to do it exactly.

**What's your proposed solution?**
Luckily, the information is already in the `multipassd-image-records.json` file. Outputting it in `multipass find` the same way that `multipass info example` does would be great.

**Additional context**
I'm making a Terraform plugin provider for multipass, and this feature would enable me to compare desired state vs current state exactly.

Contributor guide

Open the contributing guide

Research direction

Start with the `multipass find` output path and compare it with the existing `multipass info example` output, using `multipassd-image-records.json` as the named data source. Done means `multipass find` exposes each image's `image_hash` so it can be compared exactly with the corresponding image information.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.