@@ -24,15 +24,17 @@ Getting Started
2424
2525A simple and valid ABOUT file named httpd.ABOUT may look like this::
2626
27- about_resource: httpd-2.4.3.tar.gz
28- name: Apache HTTP Server
29- version: 2.4.3
30- homepage_url: http://httpd.apache.org
31- download_url: http://archive.apache.org/dist/httpd/httpd-2.4.3.tar.gz
32- license_file: httpd.LICENSE
33- notice_file: httpd.NOTICE
34- copyright: Copyright (c) 2012 The Apache Software Foundation.
35- license_expression: apache-2.0
27+ about_resource: httpd-2.4.3.tar.gz
28+ about_resource_path: httpd-2.4.3.tar.gz
29+ name: Apache HTTP Server
30+ version: 2.4.3
31+ homepage_url: http://httpd.apache.org
32+ download_url: http://archive.apache.org/dist/httpd/httpd-2.4.3.tar.gz
33+ license_expression: apache-2.0
34+ licenses:
35+ - license_file: httpd.LICENSE
36+ notice_file: httpd.NOTICE
37+ copyright: Copyright (c) 2012 The Apache Software Foundation.
3638
3739The meaning of this ABOUT file is:
3840
@@ -55,11 +57,8 @@ The meaning of this ABOUT file is:
5557Specification
5658~~~~~~~~~~~~~
5759
58- An ABOUT file is an ASCII text file with lines of colon-separated "field
59- name":"value" pairs. This format is loosely based on the Email header field
60- format as specified in RFC5322/RFC822 at http://tools.ietf.org/html/rfc5322 . By
61- reusing this specification, several available tools and libraries can parse and
62- interpret ABOUT files. Note that while Unicode characters are not supported in
60+ An ABOUT file is an ASCII YAML formatted text file.
61+ Note that while Unicode characters are not supported in
6362an ABOUT file proper, external files can contain UTF-8 Unicode.
6463
6564
@@ -119,18 +118,10 @@ trailing white spaces: they must be ignored.
119118
120119The field value is composed of one or more lines of plain US-ASCII printable text.
121120
122- When a field value contains more than one line of text, additional continuation
123- lines must start with at least one space. In this case, the first space of an
124- additional continuation line is ignored and should be removed from the field
125- value by tools.
121+ When a field value contains more than one line of text, a 'literal block'
122+ (using |), or a 'folded block' (using '>') is need.
126123
127- In this example the value of the description field spans multiple lines::
128-
129- description: This is a long description for a software component that spans
130- multiple lines with arbitrary line breaks.
131-
132- Alternatively, multiple-line strings can be written either as a 'literal block'
133- (using |), or a 'folded block' (using '>') ::
124+ For instance::
134125
135126 description: >
136127 This is a long description for a software component that spans
@@ -220,17 +211,20 @@ download URL is referenced this way::
220211Flag fields
221212~~~~~~~~~~~
222213
223- Flag fields have a "true" or "false" value. True, T, Yes or Y must be
214+ Flag fields have a "true" or "false" value. True, T, Yes or Y , x must be
224215interpreted as "true" in any case combination. False, F, No or N must be
225216interpreted as "false" in any case combination.
226217
227218Referencing the file or directory documented by an ABOUT file
219+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228220
229221An ABOUT file documents one file or directory. The mandatory "about_resource"
230- field points to the documented file or directory. The value of the
231- "about_resource" field can be a name stored in the same directory as the ABOUT
232- file or a POSIX path relative to the path of the ABOUT file. POSIX paths use a
233- "/" forward slash sign as path separators.
222+ field reference the documented file or directory. The value of the
223+ "about_resource" field is the name of the referenced file or directory.
224+
225+ On the other hand, there is anther field "about_resource_path" can be a name stored
226+ in the same directory as the ABOUT file or a POSIX path relative to the path of
227+ the ABOUT file. POSIX paths use a "/" forward slash sign as path separators.
234228
235229A tool processing an ABOUT file must report an error if this field is missing.
236230
0 commit comments