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

             Bug #: 1160
           Summary: Proposal for including lists within the SPDX
                    spreadsheet columns
           Product: SPDX
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Pretty Printer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The contributors, file dependencies, and artifactOf columns in the per file
sheet must support more than one value in spreadsheet cell.  In some of these
cells, a separator character may exist within the string itself, so some form
of quoting or escaping must be used.  For the artifactOf compatibility,
unquoted single values should be allowed.

Proposal:
For multiple values, a CSV formatted string with commas as the seperator and
double quotes ('"') as the quoting char will be used.

If the cell does not start with the separator, it is assumed to be a single
value.

Any pre-existing use of lists prior to version 1.2 of the spreadsheet would
remain unchanged for compatibility reasons (e.g. License Info from Files in the
Package Info sheet).

Examples:

- To represent a single contributor Joe Smith the cell would only contain 'Joe
Smith'
- To represent two contributors, Joe Smith and Jane Smith, the cell would
contain '"Joe Smith","Jane Smith"'
- If a contributor happens to have double quotes (Joe "the code god" Smith and
Jane "the design god" Smith, it would be escaped with two double quotes per CSV
'"Joe """the code god""" Smith", Jane """the design god""" Smith"'

-- 
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