Sean Liao submitted the change with unreviewed changes![Open in Gerrit]()
Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: internal/licenses/licenses.go
Insertions: 4, Deletions: 0.
@@ -191,7 +191,11 @@
"Zlib",
}
+ // licenseURLOverrides provides a mapping from a license identifier to its
+ // correct URL. This is used for licenses where the URL has changed or does
+ // not follow the standard pattern.
licenseURLOverrides = map[string]string{
+ // HPND is a retired license, and the URL has changed.
"HPND": "https://opensource.org/license/historical-php",
}
```
Change information
Commit message:
internal/licenses: allow overriding links to licenses
The HPND license has been retired, but should still be
considered valid for use. opensource.org changed the url
that hosts the license, and it doesn't appear to follow
any specific pattern, so we need to keep an override mapping.
Fixes golang/go#76119
Change-Id: I554781021acc599785c8840f404bd01c6a6a6964
Files:
- M internal/licenses/licenses.go
Change size: S
Delta: 1 file changed, 11 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I554781021acc599785c8840f404bd01c6a6a6964
Gerrit-Change-Number: 728260
Gerrit-PatchSet: 3