[Bug 2332550] Review Request: trustee-guest-components - attest and get secrets from Trustee

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2332550



--- Comment #20 from Uri Lublin <uril@xxxxxxxxxx> ---
(In reply to Fabio Valentini from comment #17)
> Note that using a rust2rpm.toml config file is usually not necessary for
> packages like this,
> since they don't need to be regenerated with rust2rpm for every new upstream
> version.
> It doesn't *hurt*, but it's also not as helpful for non-crate packages as it
> is for crates.

Noted, thanks.
I did it for the other Rust packages, so I did the same for this package too.

> 
> > License:       ( ( MIT OR Apache-2.0 ) AND Unicode-DFS-2016 ) AND Apache-2.0 AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR ISC OR MIT ) AND ( Apache-2.0 OR MIT ) AND ( BSD-2-Clause OR Apache-2.0 OR MIT ) AND MIT AND ( MIT OR Apache-2.0 ) AND ( MIT OR Apache-2.0 OR Zlib ) AND MPL-2.0 AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT )
> > # LICENSE.dependencies contains a full license breakdown
> 
> This is also more verbose than it needs to be. While mechanically applying
> the
> 
> `" AND ".join(clause) for license in licenses`
> 
> "algorithm" for getting this string is "technically not wrong", it contains
> duplicates and unnecessary parentheses.
> 
> According to Red Hat Legal, the AND and OR operators in SPDX are associative
> and commutative, so this could be simplified to:
> 
> """
> License:       Apache-2.0 AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND
> (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR
> MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib)
> AND (Unlicense OR MIT)
> """

With that many expressions, I did not change anything so it's easy to
see that it's the same as the comments above in the spec file.
It takes a bit more time to compare the original and simplified version.
It seems the expression order is sorted.

If preferred, I'll use your simplified License tag.

> 
> Note that it's also unusual to put additional whitespace around "(" and ")",
> I've never seen SPDX expressions written like that. I don't know if that
> would be *wrong*, but it looks odd.

I'll remove the spaces.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2332550

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202332550%23c20

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux