On Sun, 29 Jan 2017 18:20:34 +0200 Mart Raudsepp <[email protected]> wrote:
> Maybe declare from the start that any extra columns should be silently
> ignored in implementations from start, as to be able to safely add more
> columns in the future without breaking backwards compatibility.
Maybe not silently, maybe just a warning that there are additional columns
or field values not supported by the existing version, so that one knows
they are possibly missing out on some important checks.
Maybe even worth specifying that the first line of the file is a comment
like
# version:app-portage/repoman-2.3.1
Which can be extracted and displayed to a user as follows:
"Unsupported values in profiles/arch.desc: foo, bar, baz
Consider upgrading to at least ${version} or equivalent"
Where "${version}" is extracted via /#\s*version:([^ ]*)/
( That is, showing the contents of the part after "version:" verbatim
and not even considering doing version comparisons )
pgpgkPqU2hPu5.pgp
Description: OpenPGP digital signature
