Re: serialization format

Markus Wanner <[email protected]> Thu, 07 Apr 2016 23:49:15 +0200
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
On 04/07/2016 11:37 PM, Stephen Leake wrote:
> There's a version number in the internal format, so we don't need a flag
> day (or maybe that was on a branch; anyway, we can add one). We do need
> to maintain both formats for compatibility with old databases.

There's a version identifier for things like certs, revs, etc.., yes.
However, in any case, there's a point in time where monotone stops using
the old format and starts to use the new one. We can soften the
migration by prolonging the time between the first release that supports
a feature until we activate it. (Not that past flag days had a pretty
narrow window...)

I even thought about a mtn:features attribute (on the root node),
allowing users to switch on features per branch, as they see fit. For
example, I still want atomic certs. That feature will require at least a
new version, if not a new format, for certificates. Certainly something
that monotone-1.1 doesn't understand. So 1.2 might still need to write
the old format/version, at least by default.

Kind Regards

Markus Wanner

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
signature.asc (application/pgp-signature, 1.5 KB)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQQcBAEBCgAGBQJXBtXbAAoJEOhoLRs/MemzmaogAJTHP8PMsBQa2A1/8Kppi5vj
h66CDzkYZkDsTPUPopFo5lIWBFaflkx6pAHgTEA7ewN2pJJTI/PfGmHQRUEuU9e8
wqWnQfwWeSZLaKqHneH+5Y/T2+aC/dIj300ILFEqjgn46F5Pi7xjYMxMm9GD0696
uUYJC3dRwlcIp4lLJwB+YSkYPHlzKsi+yJB1jbA+Q3Lpqz+wvlcD5yxb58/G9j4P
OckLsJ3Reuh/ASzBXc/KTvJpz1MSigq8psaVMId055IEQaa0pCNP4xI0P8zoEQn7
Zn8+M0caAAGQqDrj+1Lb94pej69hD5ehb+rqmvlumD0/p6uUd6LUevISMuyNUrlD
zyCEVoTyiY9VXMtHUyThsoaLG7AqVqOLzS8Dnw9h6Kcqr+2yaqbVNyP6gwJ8P66x
9b7QEtPuLCcYOD+aCKMsOETJ3SdCYPMdgDP8u1pkKPsP3Rtl6T+f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