"dirty" in version string

Running Snap on latest Manjaro. I don’t understand the “dirty” in the snap version string. Please advise.

% snap version
snap 2.54.1-1-dirty

snapd 2.54.1-1-dirty

series 16

manjaro -

kernel 5.15.12-1-MANJARO

The Arch build step in PKGBUILD calls a script in snapd source tree to set the version, but that other script seems to be doing silly things and appends dirty if git indicated that the source tree has been modified, but it does not check whether the snapd source tree is even a git repo, so it most likely reports the dirty status of the local checkout of some repository with PKGBUILDs. Something that snapd upstream should fix.

I will assume the situation is benign and proceed with usage of snaps. The hello-world sample snap works fine. Thank you for your help.

Yes I concur snapd upstream should fix this :grinning_face_with_smiling_eyes:

1 Like