[ resent without 8bit headers to please Debian MTAs; sorry Jérémy! ] Quoting Xavier (2020-03-25 11:43:14) > Le 25/03/2020 à 11:31, Jérémy Lal a écrit : >>> Le 25/03/2020 à 10:26, Xavier a écrit : >>>> And for acorn, last version becomes 7.1.1+~cs12.20.3+ds-1 ;-) [...] >> Could you tell how acorn >> 6.2.1+ds+0.4.0+~4.0.0+~1.0.0+~5.0.1+~1.7.0+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0 >> >> becomes 6.2.1+ds+~cs11.24.3 : how 11.24.3 is built ? > > The "checksum" feature adds the digits separately: > > 0 . 4 . 0 > + 4 . 0 . 0 > + 1 . 0 . 0 > + 5 . 0 . 1 > + 1 . 7 . 0 > + 0 . 1 . 1 > + 0 . 3 . 1 > + 0 . 2 . 0 > + 0 . 1 . 0 > + 0 . 3 . 0 > + 0 . 3 . 0 > -------------------------------- > = 4+1+5+1 . 4+7+1+3+2+1+3+3 . 1+1+1 > = 11 . 24 . 3 > > => +~cs11.24.3 > > Then each component change is detected and increase checksum
Seems that covers only "clean" versions but miss components with trailing parts - e.g. a repackaging needing to be redone and therefore bumped, or a git-tracked non-version needing to bump its timestamp. jsbundle-web-interfaces 1.1.0+~2.0.1~ds+~5.0.0+~0~20180821-1 is an example involving both types of trailing hints in components. For the record, I do think it is valuable to have this mechanism even without handling those corner cases. Just mentioning here in case it affects the whole design. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature

