-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply and enforce file-level license headers (#63)
* Apply and enforce file-level license headers Use `mattermost-govet` and `eslint`'s `header/header` to ensure each file begins with the appropriate header, then fix all instances for built source code. (e2e code excepted) ``` // Copyright (c) 2014-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. ``` Note that this renames `LICENSE` to `LICENSE.txt` purely to align on the copyright messaging across repos. * bundle LICENSE.txt and NOTICE.txt if they exist * updated NOTICE.txt and configuration
- Loading branch information
1 parent
dc52869
commit 0f45c0e
Showing
97 changed files
with
2,248 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Notice.txt File Configuration | ||
|
||
We are automatically generating Notice.txt by using first-level dependencies of the project. The related pipeline uses `config.yaml` stored in this folder. | ||
|
||
|
||
## Configuration | ||
|
||
Sample: | ||
|
||
``` | ||
title: "Mattermost Playbooks" | ||
copyright: "©2015-present Mattermost, Inc. All Rights Reserved. See LICENSE for license information." | ||
description: "This document includes a list of open source components used in Mattermost Playbooks, including those that have been modified." | ||
search: | ||
- "go.mod" | ||
- "client/go.mod" | ||
dependencies: [] | ||
devDependencies: [] | ||
``` | ||
|
||
| Field | Type | Purpose | | ||
| :-- | :-- | :-- | | ||
| title | string | Field content will be used as a title of the application. See first line of `NOTICE.txt` file. | | ||
| copyright | string | Field content will be used as a copyright message. See second line of `NOTICE.txt` file. | | ||
| description | string | Field content will be used as notice file description. See third line of `NOTICE.txt` file. | | ||
| dependencies | array | If any dependency name mentioned, it will be automatically added even if it is not a first-level dependency. | | ||
| devDependencies | array | If any dependency name mentioned, it will be added when it is referenced in devDependency section. | | ||
| search | array | Pipeline will search for package.json/go.mod files mentioned here. Globstar format is supported ie. `x/**/go.mod`. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Mattermost User Survey Plugin" | ||
copyright: "©2024-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information." | ||
description: "This document includes a list of open source components used in the plugin, including those that have been modified." | ||
search: | ||
- "go.mod" | ||
- "webapp/package.json" | ||
dependencies: [] | ||
devDependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ go.work | |
go.work.sum | ||
|
||
webapp/.stylelintcache | ||
|
||
# notice | ||
.notice-work |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.