1- ABOUT File Specification v3.1.2
1+ ABOUT File Specification v3.1.3
22
33
44Purpose
@@ -22,7 +22,7 @@ versions of a software component.
2222Getting Started
2323~~~~~~~~~~~~~~~
2424
25- A simple and valid ABOUT file named httpd.ABOUT may look like this::
25+ A simple and valid ABOUT file named httpd-2.4.3.tar.gz .ABOUT may look like this::
2626
2727 about_resource: httpd-2.4.3.tar.gz
2828 name: Apache HTTP Server
@@ -32,14 +32,15 @@ A simple and valid ABOUT file named httpd.ABOUT may look like this::
3232 license_expression: apache-2.0
3333 licenses:
3434 - key: apache-2.0
35- - file: apache-2.0.LICENSE
35+ name: Apache License 2.0
36+ file: apache-2.0.LICENSE
3637 notice_file: httpd.NOTICE
3738 copyright: Copyright (c) 2012 The Apache Software Foundation.
3839
3940The meaning of this ABOUT file is:
4041
4142- The file "httpd-2.4.3.tar.gz" is stored in the same directory and side-by-side
42- with the ABOUT file "httpd.ABOUT" that documents it.
43+ with the ABOUT file "httpd-2.4.3.tar.gz .ABOUT" that documents it.
4344
4445- The name of this component is "Apache HTTP Server" with version "2.4.3".
4546
@@ -60,6 +61,7 @@ Specification
6061An ABOUT file is an ASCII YAML formatted text file.
6162Note that while Unicode characters are not supported in
6263an ABOUT file proper, external files can contain UTF-8 Unicode.
64+ The key for the licenses field and the license_expression are dejacode license key.
6365
6466
6567ABOUT file name
@@ -104,9 +106,9 @@ A field name can contain only these US-ASCII characters:
104106- Field names are not case sensitive. For example, "HOMEPAGE_URL" and "HomePage_url"
105107 represent the same field name.
106108
107- - A field name must start at the beginning of a new line. It can be followed by
108- one or more spaces that must be ignored. These spaces are commonly used to
109- improve the readability of an ABOUT file.
109+ - A field name must start at the beginning of a new line. No spaces is allowed in the
110+ field name. It can be followed by one or more spaces that must be ignored.
111+ These spaces are commonly used to improve the readability of an ABOUT file.
110112
111113
112114Field value
@@ -140,22 +142,13 @@ For instance::
140142 This text contains multiple lines.
141143
142144
143- Fields are mandatory or optional
144- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145+ Fields are mandatory, optional or custom extension
146+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145147
146- As defined in this specification, a field can be mandatory or optional . Tools
148+ A field can be mandatory, optional or custom extension . Tools
147149must report an error for missing mandatory fields.
148150
149151
150- Extension and ignored fields
151- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
152-
153- An ignored field is a field with a name that is not defined in this
154- specification. Custom extension fields are also supported and must be processed
155- by tools as ignored fields unless a certain tool can process a certain extension
156- field.
157-
158-
159152Fields validation
160153~~~~~~~~~~~~~~~~~
161154
@@ -165,9 +158,9 @@ name syntax or invalid content. Tools should report additional validation error
165158details. The validation process should check that each field name is
166159syntactically correct and that fields contain correct values according to its
167160concise, common sense definition in this specification. For certain fields,
168- additional and specific validations are relevant such as checksum verification,
169- URL validation, path resolution and verification, and so forth. Tools should
170- report a warning for ignored fields.
161+ additional and specific validations are relevant such as URL validation,
162+ path resolution and verification, and so forth. Tools should
163+ report a warning for present fields that do not have any value .
171164
172165
173166Fields order and multiple occurrences
@@ -177,7 +170,7 @@ The field order does not matter. Multiple occurrences of a field name is not
177170supported.
178171
179172The tool processing an ABOUT file or CSV/JSON input will issue an error when a
180- field name occurs more than once in the input file (as for any other ignored field) .
173+ field name occurs more than once in the input file.
181174
182175
183176Field referencing a file
@@ -219,7 +212,7 @@ download URL is referenced this way::
219212Flag fields
220213~~~~~~~~~~~
221214
222- Flag fields have a "true" or "false" value. True, T, Yes or Y , x must be
215+ Flag fields have a "true" or "false" value. True, T, Yes, Y or x must be
223216interpreted as "true" in any case combination. False, F, No or N must be
224217interpreted as "false" in any case combination.
225218
@@ -316,14 +309,14 @@ Optional Licensing fields
316309
317310- license_url: URL to the license text for the component.
318311
319- - license_expression: The license expression that apply to the component. You
312+ - license_expression: The DejaCode license expression that apply to the component. You
320313 can separate each identifier using " or " and " and " to document the
321314 relationship between multiple license identifiers, such as a choice among
322315 multiple licenses.
323316
324- - license_name: The license short name for the license.
317+ - license_name: The DejaCode license short name for the license.
325318
326- - license_key: The license key(s) for the component.
319+ - license_key: The DejaCode license key(s) for the component.
327320
328321
329322Optional Boolean flag fields
@@ -348,9 +341,7 @@ Optional Extension fields
348341~~~~~~~~~~~~~~~~~~~~~~~~~
349342
350343You can create extension fields by prefixing them with a short prefix to
351- distinguish these from the standard fields. You should provide documentation for
352- these extensions and create or extend existing tools to support these
353- extensions. Other tools must ignore these extensions.
344+ distinguish these from the standard fields (but this is not necessary).
354345
355346
356347Optional Extension fields to reference files stored in a version control system (VCS)
@@ -408,6 +399,9 @@ to verify the integrity of a file documented by an ABOUT file.
408399- checksum_sha1: SHA1 for the file documented by this ABOUT file in the
409400 "about_resource" field.
410401
402+ - checksum_sha256: SHA256 for the file documented by this ABOUT file in the
403+ "about_resource" field.
404+
411405Some examples::
412406
413407 checksum_md5: f30b9c173b1f19cf42ffa44f78e4b96c
0 commit comments