Re: DEP5: Extra fields without ‘X-’ prefix?
On Sunday 14 November 2010 12:13:32 Lars Wirzenius wrote: Extra fields can be added to any paragraph. No prefixing is necessary. Future versions of the `debian/copyright` specification will attempt to avoid conflicting specifications for widely used extra fields. Without prefixing, parsers won't be able to detect typos in field names. So validation of copyright files will be harder. All the best Dominique -- http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/ http://www.ohloh.net/accounts/ddumont -o- http://ddumont.wordpress.com/ -- To UNSUBSCRIBE, email to debian-project-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201011151428.18313.d...@komarr.gre.hp.com
Re: DEP5: Extra fields without ‘X-’ prefix?
On Mon, Nov 15, 2010 at 02:28:17PM +0100, Dominique Dumont wrote: On Sunday 14 November 2010 12:13:32 Lars Wirzenius wrote: Extra fields can be added to any paragraph. No prefixing is necessary. Future versions of the `debian/copyright` specification will attempt to avoid conflicting specifications for widely used extra fields. Without prefixing, parsers won't be able to detect typos in field names. So validation of copyright files will be harder. Isn't your newly implemented warning feature suitable for handling this, Dominique? - 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: Digital signature
Re: DEP5: Extra fields without ‘X-’ prefix?
On Monday 15 November 2010 15:26:17 Jonas Smedegaard wrote: Without prefixing, parsers won't be able to detect typos in field names. So validation of copyright files will be harder. Isn't your newly implemented warning feature suitable for handling this, Dominique? Indeed. But people using extra fields will get warnings, so they will ignore them. Then, they will also ignore warnings triggered by typos in standard fields. All the best Dominique -- http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/ http://www.ohloh.net/accounts/ddumont -o- http://ddumont.wordpress.com/ -- To UNSUBSCRIBE, email to debian-project-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201011151602.30939.d...@komarr.gre.hp.com
Re: DEP5: Extra fields without ‘X-’ prefix?
On Mon, Nov 15, 2010 at 04:02:30PM +0100, Dominique Dumont wrote: On Monday 15 November 2010 15:26:17 Jonas Smedegaard wrote: Without prefixing, parsers won't be able to detect typos in field names. So validation of copyright files will be harder. Isn't your newly implemented warning feature suitable for handling this, Dominique? Indeed. But people using extra fields will get warnings, so they will ignore them. Then, they will also ignore warnings triggered by typos in standard fields. True. But I see it as a challenge of parsers rather than a flaw of the format: it could be handled similar to lintian overrides (i.e. silence specific non-standard fields you yourself choose to use). IMO this is sliding away from DEP5: feel free to move the conversation to the Config::Model mailinglist if you agree (readers are hereby warned). :-) - 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: Digital signature