Re: Is there anyway to prettify long *-Depends: lines?
On Saturday, May 12, 2012 11:00:04 PM Ben Finney wrote: Paul Elliott pelli...@blackpatchpanel.com writes: I have a really long Build-Depends: line. Multiple Build-Depends: lines is an error. I think you mean “multiple Build-Depends fields”. Yes, that's an error. But the field can span multiple lines by indenting the continuation lines: = Build-Depends: foo, bar, baz = and it's all interpreted as a single field. Thank You That worked. See Debian policy §5.1, “Syntax of control files”. Yes but it is §7.1 that says the relationship files can be folded. I finally found it! -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Is there anyway to prettify long *-Depends: lines?
I have a really long Build-Depends: line. Multiple Build-Depends: lines is an error. '\' at end of physical lines to put logical lines on multiple physical lines does not work and is apparently not allowed. Most editors and display programs do not display long lines well in a fashion that is easy to read. Is there anyway to prettify these lines? Hard to read code can lead to bugs. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Re: Is there anyway to prettify long *-Depends: lines?
On 12.05.2012 23:03, Paul Elliott wrote: I have a really long Build-Depends: line. .. Is there anyway to prettify these lines? wrap them like e.g. http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/glib2.0/debian/control?view=markup -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Re: Is there anyway to prettify long *-Depends: lines?
Paul Elliott wrote: I have a really long Build-Depends: line. Multiple Build-Depends: lines is an error. '\' at end of physical lines to put logical lines on multiple physical lines does not work and is apparently not allowed. Most editors and display programs do not display long lines well in a fashion that is easy to read. Is there anyway to prettify these lines? Try wrap-and-sort from the devscripts package. -- Benoît Knecht -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/3b243583-e1dc-4075-ba86-b8f9bb74aed7@uuid
Re: Is there anyway to prettify long *-Depends: lines?
Paul Elliott pelli...@blackpatchpanel.com writes: I have a really long Build-Depends: line. Multiple Build-Depends: lines is an error. I think you mean “multiple Build-Depends fields”. Yes, that's an error. But the field can span multiple lines by indenting the continuation lines: = Build-Depends: foo, bar, baz = and it's all interpreted as a single field. See Debian policy §5.1, “Syntax of control files”. -- \“Faith is belief without reason. I think as soon as you turn | `\ your back on reason, you turn your back on what makes us | _o__) human.” —Iain M. Banks, 2010-10-07 | Ben Finney pgpUmWAze48qg.pgp Description: PGP signature