> > > Will that be:
> > >
> > > a. GPL-2.0-only OR GPL-3.0-only
> >
> > The "ONLY" would be an operator, so I'd expect to see:
> >   (GPL-2.0 ONLY OR GPL-3.0 ONLY)
> 
> That's certainly possible as well, and it would be easier to parse with the
> space.  But you could also have an ‘-only’ operator with no space (like we
> currently use ‘GPL-2.0+’ instead of ‘GPL-2.0 +’).
> Aside from ease-of-parsing, I don't see a technical reason to prefer one over
> the other.
> 

Since "-" is an allowed character for a license ID, it would be more 
challenging to write a parser for the "-only" operator since we would have to 
determine if the "-" is part of the ID or is part of the operator.  BTW "+" is 
not allowed in the license ID and "GPL-2.0 +" I believe is legal.  I have a 
strong preference for "ONLY" being the operator over "-only".


_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to