On 2023/02/07 16:26, demerphq wrote: > On Tue, 7 Feb 2023 at 09:50, demerphq <[email protected]> wrote: > > I can produce a more conventional patch if that is required, please > > just let me know. If this isn't an appropriate use of the DESCR file > > then please let me know and I will close the PR. > > Andrew advised me I needed to attach the patch. So here it is.
thanks, I committed a tweaked version (I felt using "this" right next to "Its sister module..." was a little confusing) Index: p5-Sereal-Decoder/Makefile =================================================================== RCS file: /cvs/ports/converters/p5-Sereal-Decoder/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- p5-Sereal-Decoder/Makefile 10 Oct 2022 07:45:15 -0000 1.13 +++ p5-Sereal-Decoder/Makefile 7 Feb 2023 16:07:10 -0000 @@ -1,6 +1,7 @@ COMMENT = fast, compact, powerful binary deserialization DISTNAME = Sereal-Decoder-5.001 +REVISION = 0 CATEGORIES = converters Index: p5-Sereal-Decoder/pkg/DESCR =================================================================== RCS file: /cvs/ports/converters/p5-Sereal-Decoder/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- p5-Sereal-Decoder/pkg/DESCR 4 Apr 2018 21:57:58 -0000 1.1.1.1 +++ p5-Sereal-Decoder/pkg/DESCR 7 Feb 2023 16:07:10 -0000 @@ -2,3 +2,9 @@ This library implements a deserializer f and feature-rich binary protocol called Sereal. Its sister module p5-Sereal-Encoder implements an encoder for this format. + +Always upgrade the Decoder before the Encoder. The latest version of +the decoder (this package) should be able to handle the output from +any earlier or equivalent version of the encoder. Ignoring this advice +may result in data loss in an environment where you cannot upgrade the +encoder simultaneously on all machines using the package. Index: p5-Sereal-Encoder/Makefile =================================================================== RCS file: /cvs/ports/converters/p5-Sereal-Encoder/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- p5-Sereal-Encoder/Makefile 10 Oct 2022 07:46:17 -0000 1.13 +++ p5-Sereal-Encoder/Makefile 7 Feb 2023 16:07:10 -0000 @@ -1,6 +1,7 @@ COMMENT = fast, compact, powerful binary serialization DISTNAME = Sereal-Encoder-5.001 +REVISION = 0 CATEGORIES = converters Index: p5-Sereal-Encoder/pkg/DESCR =================================================================== RCS file: /cvs/ports/converters/p5-Sereal-Encoder/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- p5-Sereal-Encoder/pkg/DESCR 4 Apr 2018 21:54:06 -0000 1.1.1.1 +++ p5-Sereal-Encoder/pkg/DESCR 7 Feb 2023 16:07:10 -0000 @@ -2,3 +2,9 @@ This library implements an efficient, co serializer using a binary protocol called Sereal. Its sister module p5-Sereal-Decoder implements a decoder for this format. + +Always upgrade the Decoder before the Encoder. The latest version of +the decoder should be able to handle the output from any earlier or +equivalent version of the encoder. Ignoring this advice may result +in data loss in an environment where you cannot upgrade the encoder +simultaneously on all machines using the package.
