criticalmanufacturing / cli

Critical Manufacturing Projects Command Line Tool
https://criticalmanufacturing.github.io/cli/
BSD 3-Clause "New" or "Revised" License
10 stars 22 forks source link

cmf pack manifest.xml should generate a hashcode #371

Open jrk94 opened 5 months ago

jrk94 commented 5 months ago

Hi all,

I would be great if the manifest.xml was not only version locked, but in the cmf pack it generated a hashcode. If the product did not support "force" where you install the same version twice it wouldn't be needed. but because it does. It should be supported

m-s- commented 3 months ago

What would we want to hash here? In most packages, the manifest itself doesn't change, so should we hash the entire contents of the package? Seems a bit slow, wouldn't something like including the Git HEAD + dirty working copy state be a valid fast alternative?