From d2904b88665be501f5c95657739eb65d7658dd12 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Fri, 26 Aug 2022 14:51:34 +0200 Subject: [PATCH] chore: licenses --- .gitignore | 4 ++++ LICENSE_MIT | 2 +- __tests__/app.spec.ts | 4 ++++ __tests__/command.spec.ts | 4 ++++ __tests__/issue_info.spec.ts | 4 ++++ src/constants.ts | 4 ++++ src/index.ts | 4 ++++ src/templates.ts | 4 ++++ src/util.ts | 4 ++++ 9 files changed, 33 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 70e157a..36c77c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Copyright 2019-2022 Tauri Programme within The Commons Conservancy +# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: MIT + node_modules npm-debug.log *.pem diff --git a/LICENSE_MIT b/LICENSE_MIT index b08530d..01001e5 100644 --- a/LICENSE_MIT +++ b/LICENSE_MIT @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 - Present Tauri Apps Contributors +Copyright (c) 2020 - 2022 Tauri Pogramme within The Commons Conservancy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/__tests__/app.spec.ts b/__tests__/app.spec.ts index 825d369..13c2502 100644 --- a/__tests__/app.spec.ts +++ b/__tests__/app.spec.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import nock from "nock"; import app from "../src"; import { Probot, ProbotOctokit } from "probot"; diff --git a/__tests__/command.spec.ts b/__tests__/command.spec.ts index 60dd90b..bf6d973 100644 --- a/__tests__/command.spec.ts +++ b/__tests__/command.spec.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import { it, expect, describe } from "vitest"; import { COMMAND_REGEX } from "../src/constants"; diff --git a/__tests__/issue_info.spec.ts b/__tests__/issue_info.spec.ts index 67870ed..82f76b4 100644 --- a/__tests__/issue_info.spec.ts +++ b/__tests__/issue_info.spec.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import { ProbotOctokit } from "probot"; import { it, expect, describe } from "vitest"; import { getIssueInfoFromUrl } from "../src/util"; diff --git a/src/constants.ts b/src/constants.ts index dce53bc..9ba91d1 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import { Octokit } from "@octokit/rest"; export const TAURI_GITHUB_BOT = "tauri-apps[bot]"; diff --git a/src/index.ts b/src/index.ts index 07dab56..08130ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import { Probot } from "probot"; import { BACKLOG_LABEL, diff --git a/src/templates.ts b/src/templates.ts index de95ade..91d56fe 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + export const UPSTREAM_ISSUE_BODY_PREDICATE = "> This issue has been upstreamed from"; export const UPSTREAM_ISSUE_BODY_SEPARATOR = "\n\n"; diff --git a/src/util.ts b/src/util.ts index ef1a33c..2f17f64 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1,3 +1,7 @@ +// Copyright 2019-2022 Tauri Programme within The Commons Conservancy +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: MIT + import { ProbotOctokit } from "probot"; import { TAURI_BOT_ACC_OCTOKIT, TAURI_ORG } from "./constants";