Skip to content

Commit

Permalink
⚖️ Switch to MPL-2.0 license
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonks committed Nov 12, 2024
1 parent b090ee0 commit c624291
Show file tree
Hide file tree
Showing 14 changed files with 418 additions and 326 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To make review of PRs easier, please:
* Keep PRs small and cohesive - if you have multiple independent contributions, please submit them as independent PRs.
* Minimise "spurious" changes (e.g. whitespace shenanigans).
* Ensure all updated files include your copyright information at the top.
* Ensure all new files include a header comment block containing the [Apache 2.0 license header and your copyright information](https://infra.apache.org/apply-license.html).
* Ensure all new files include a header comment block containing the [MPL 2.0 license header and your copyright information](https://www.mozilla.org/en-US/MPL/headers/).

## Commit and PR Messages

Expand Down
574 changes: 373 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion LICENSE.spdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Creator: Peter Monks
PackageName: com.github.pmonks/spinner
PackageOriginator: Peter Monks
PackageHomePage: https://github.com/pmonks/spinner
PackageLicenseDeclared: Apache-2.0
PackageLicenseDeclared: MPL-2.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ The library started life providing a single hardcoded animation sequence (the cl

Copyright © 2014 Peter Monks

Distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
Distributed under the [Mozilla Public License, version 2.0](https://www.mozilla.org/en-US/MPL/2.0/).

SPDX-License-Identifier: [Apache-2.0](https://spdx.org/licenses/Apache-2.0)
SPDX-License-Identifier: [`MPL-2.0`](https://spdx.org/licenses/MPL-2.0)
16 changes: 4 additions & 12 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

{:deps
Expand Down
18 changes: 5 additions & 13 deletions pbr.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

#_{:clj-kondo/ignore [:unresolved-namespace]}
Expand All @@ -27,7 +19,7 @@
:validate-pom true
:pom {:description "Simple ANSI text progress indicators for command line Clojure apps."
:url "https://github.com/pmonks/spinner"
:licenses [:license {:name "Apache-2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}]
:licenses [:license {:name "MPL-2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"}]
:developers [:developer {:id "pmonks" :name "Peter Monks" :email "pmonks+spinner@gmail.com"}]
:scm {:url "https://github.com/pmonks/spinner" :connection "scm:git:git://github.com/pmonks/spinner.git" :developer-connection "scm:git:ssh://git@github.com/pmonks/spinner.git"}
:issue-management {:system "github" :url "https://github.com/pmonks/spinner/issues"}}
Expand Down
16 changes: 4 additions & 12 deletions src/progress/ansi.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.ansi
Expand Down
16 changes: 4 additions & 12 deletions src/progress/determinate.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.determinate
Expand Down
16 changes: 4 additions & 12 deletions src/progress/indeterminate.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.indeterminate
Expand Down
16 changes: 4 additions & 12 deletions src/progress/util.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.util
Expand Down
16 changes: 4 additions & 12 deletions src/spinner/core.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2014 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns ^:deprecated spinner.core
Expand Down
16 changes: 4 additions & 12 deletions test/progress/determinate_test.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.determinate-test
Expand Down
16 changes: 4 additions & 12 deletions test/progress/indeterminate_test.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2022 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns progress.indeterminate-test
Expand Down
16 changes: 4 additions & 12 deletions test/spinner/core_test.clj
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
;
; Copyright © 2014 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at https://mozilla.org/MPL/2.0/.
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
; SPDX-License-Identifier: MPL-2.0
;

(ns ^:deprecated spinner.core-test
Expand Down

0 comments on commit c624291

Please sign in to comment.