Thanks to visit codestin.com
Credit goes to github.com

Skip to content

x/pkgsite: recognize and ignore the PSF license stack instead of failing entirely as UNKNOWN. #45095

@lostluck

Description

@lostluck

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam through
https://pkg.go.dev/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam

What is your user agent?

Mozilla/5.0 (X11; CrOS x86_64 13597.105.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.208 Safari/537.36

Screenshot

N/A

What did you do?

Include the Python Software Foundation "license stack" in the Apache Beam LICENSE file.

What did you expect to see?

Licences: Apache-2.0, BSD-3-Clause, MIT, PSF

What did you see instead?

Licenses: UNKNOWN

https://pkg.go.dev/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam [during]
https://pkg.go.dev/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam [during]

Prior to including the PSF License, the file was parsed properly, and listed all the licenses, and after the license file was truncated in error, the Apache 2.0 license was correctly listed.

https://pkg.go.dev/github.com/apache/beam/sdks/go/pkg/beam?tab=versions [before]
https://pkg.go.dev/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam [after]

While probably not common, large enough projects in multiple languages can have Go releases (like Apache Beam) and also include Python which is very much under it's own license, that doesn't prohibit the redistribution necessary for pkg.go.dev. I propose the PSF license is added to the set of "known" licenses, if only to avoid the bad state.

Even if the PSF isn't determined as recognized, failing into UNKNOWN when other licenses parse correctly seems like a bad behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsitepkgsite/licenseIssues related to licenses on pkg.go.dev. See our license policy https://pkg.go.dev/license-policy

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions