[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Additional fields in debian/upstream?





On Wednesday, January 2, 2013, Andreas Tille <andreas@an3as.eu> wrote:
> On Thu, Jan 03, 2013 at 06:26:12AM +0900, Charles Plessy wrote:
>> The advantage of using a single field for each ID is that the information is
>> easily extracted by retreiving the debian/upstream file and filtering the line
>> containing the field.  If it were nested in a YAML mapping, then the only
>> robust solution would be to parse YAML.  Also, a simpler syntax means less
>> syntax errors.
>
> I think this is a non-argument provided you are using a proper YAML API
> as for instance in the Python implementation which is pretty
> straightforward.
>
> I could only imagine problems when considering plain grep or something
> like this.

I agree with Charles that this kind of simplicity is desireable, and the contrast to the references makes sense to me now.

Michael

>
>

--
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de
Jabber: michael.hanke@gmail.com


Reply to: