https://bugs.linuxfoundation.org/show_bug.cgi?id=1309

             Bug #: 1309
           Summary: ListedLicenses.getListedLicenses().getLicenseListVersi
                    on() returns illegal version.
           Product: SPDX
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Pretty Printer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


ListedLicenses.getListedLicenses().getLicenseListVersion() currently returns
"2.1 Jun 30, 2015”, which is the version followed by a date. While
informative, this “version” can’t be used to set the license list version
of an SPDX document, as the spec requires the latter to be of the form
“M.N”, where M is the major number and N is the minor. This is not the
documented behavior of the method, in part because the behavior of the method
is not documented at all.

The scope of the fix shall thus include:
* Fix the method to parse out the date obtained from the spreadsheet and only
return the version (e.g. "2.1").
* Add javadoc comment accurately describing the behavior and purpose of the
method
* For convenience, populate the License List Version in all new SPDX docs with
the output of this method by default.

-- 
Configure bugmail: https://bugs.linuxfoundation.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to