From abae39bd545aa30bf16caaa85684e92721ecf8e5 Mon Sep 17 00:00:00 2001 From: Alex Maldonado Date: Wed, 18 Nov 2026 18:57:08 -0500 Subject: [PATCH] chore: relicense under Apache-2.0 Replace the Prosperity Public License 3.0.0 with the Apache License 2.0: LICENSE.md, a new NOTICE.md, the Cargo license field, every SPDX header, and the README's license and contributing sections. --- Cargo.toml | 2 +- LICENSE.md | 171 +++++++++++++++++++++++++++------ NOTICE.md | 8 ++ README.md | 13 +-- build.rs | 2 +- src/analysis.rs | 2 +- src/analysis/calibrate.rs | 2 +- src/analysis/classical.rs | 2 +- src/analysis/diagnostic.rs | 2 +- src/analysis/irt.rs | 2 +- src/analysis/students.rs | 2 +- src/authoring.rs | 2 +- src/authoring/jsonschema.rs | 2 +- src/authoring/lint.rs | 2 +- src/authoring/lint/glossary.rs | 2 +- src/authoring/select.rs | 2 +- src/cli.rs | 2 +- src/commands.rs | 2 +- src/commands/analysis.rs | 2 +- src/commands/banks.rs | 2 +- src/commands/export.rs | 2 +- src/commands/handlers.rs | 2 +- src/commands/lectures.rs | 2 +- src/commands/project.rs | 2 +- src/data.rs | 2 +- src/data/canvas.rs | 2 +- src/data/decode.rs | 2 +- src/data/gradescope.rs | 2 +- src/data/intake.rs | 2 +- src/data/responses.rs | 2 +- src/data/store.rs | 2 +- src/data/store_parquet.rs | 2 +- src/error.rs | 2 +- src/export.rs | 2 +- src/export/lecture.rs | 2 +- src/export/practice.rs | 2 +- src/export/qti.rs | 2 +- src/export/references.rs | 2 +- src/export/report.rs | 2 +- src/export/site.rs | 2 +- src/export/typst.rs | 2 +- src/export/typst/config.rs | 2 +- src/export/typst/diagnostic.rs | 2 +- src/export/typst/payload.rs | 2 +- src/export/typst/template.rs | 2 +- src/export/typst/value.rs | 2 +- src/guide.rs | 2 +- src/helpers.rs | 2 +- src/lib.rs | 2 +- src/main.rs | 2 +- src/migrate.rs | 2 +- src/model.rs | 2 +- src/model/assessment.rs | 2 +- src/model/bank.rs | 2 +- src/model/calibration.rs | 2 +- src/model/catalog.rs | 2 +- src/model/course.rs | 2 +- src/model/course/fragment.rs | 2 +- src/model/course/glossary.rs | 2 +- src/model/history.rs | 2 +- src/model/item.rs | 2 +- src/model/layout.rs | 2 +- src/model/seal.rs | 2 +- src/model/taxonomy.rs | 2 +- src/util.rs | 2 +- src/util/citation.rs | 2 +- src/util/date.rs | 2 +- src/util/hash.rs | 2 +- src/util/markup.rs | 2 +- src/util/rng.rs | 2 +- src/util/yaml.rs | 2 +- src/util/zipfile.rs | 2 +- tests/common/mod.rs | 2 +- tests/lint_2_1.rs | 2 +- tests/migrate_2_1.rs | 2 +- tests/render_2_1.rs | 2 +- tests/schema_2_1.rs | 2 +- tests/validate_2_1.rs | 2 +- 78 files changed, 227 insertions(+), 115 deletions(-) create mode 100644 NOTICE.md diff --git a/Cargo.toml b/Cargo.toml index 028e69b..98c1186 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" rust-version = "1.85" description = "Author, assemble, administer, and analyze leveled course assessments from YAML item banks" authors = ["Scienting "] -license = "Prosperity-3.0.0" +license = "Apache-2.0" readme = "README.md" publish = false diff --git a/LICENSE.md b/LICENSE.md index 3f3daec..370fe53 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,60 +1,167 @@ -# The Prosperity Public License 3.0.0 +# Apache License -Contributor: Scienting +_Version 2.0, January 2004_ +_<>_ -Source Code: https://git.scient.ing/education/coursebank +## Terms and Conditions for use, reproduction, and distribution -## Purpose +### 1. Definitions -This license allows you to use and share this software for noncommercial purposes for free and to try this software for commercial purposes for thirty days. +“License” shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. -## Agreement +“Licensor” shall mean the copyright owner or entity authorized by the copyright +owner that is granting the License. -In order to receive this license, you have to agree to its rules. -Those rules are both obligations under that agreement and conditions to your license. -Don't do anything with this software that triggers a rule you can't or won't follow. +“Legal Entity” shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, “control” means **(i)** the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the +outstanding shares, or **(iii)** beneficial ownership of such entity. -## Notices +“You” (or “Your”) shall mean an individual or Legal Entity exercising +permissions granted by this License. -Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above. +“Source” form shall mean the preferred form for making modifications, including +but not limited to software source code, documentation source, and configuration +files. -## Commercial Trial +“Object” form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, and conversions to other media types. -Limit your use of this software for commercial purposes to a thirty-day trial period. -If you use this software for work, your company gets one trial period for all personnel, not one trial per person. +“Work” shall mean the work of authorship, whether in Source or Object form, made +available under the License, as indicated by a copyright notice that is included +in or attached to the work (an example is provided in the Appendix below). -## Contributions Back +“Derivative Works” shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) to the interfaces of, the Work and Derivative Works thereof. -Developing feedback, changes, or additions that you contribute back to the contributor on the terms of a standardized public software license such as [the Blue Oak Model License 1.0.0](https://blueoakcouncil.org/license/1.0.0), [the Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html), [the MIT license](https://spdx.org/licenses/MIT.html), or [the two-clause BSD license](https://spdx.org/licenses/BSD-2-Clause.html) doesn't count as use for a commercial purpose. +“Contribution” shall mean any work of authorship, including the original version +of the Work and any modifications or additions to that Work or Derivative Works +thereof, that is intentionally submitted to Licensor for inclusion in the Work +by the copyright owner or by an individual or Legal Entity authorized to submit +on behalf of the copyright owner. For the purposes of this definition, +“submitted” means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, and +issue tracking systems that are managed by, or on behalf of, the Licensor for +the purpose of discussing and improving the Work, but excluding communication +that is conspicuously marked or otherwise designated in writing by the copyright +owner as “Not a Contribution.” -## Personal Uses +“Contributor” shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. -Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, doesn't count as use for a commercial purpose. +### 2. Grant of Copyright License -## Noncommercial Organizations +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form. -Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution doesn't count as use for a commercial purpose regardless of the source of funding or obligations resulting from the funding. +### 3. Grant of Patent License -## Defense +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable (except as stated in this section) patent license to make, have +made, use, offer to sell, sell, import, and otherwise transfer the Work, where +such license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by combination +of their Contribution(s) with the Work to which such Contribution(s) was +submitted. If You institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work or a +Contribution incorporated within the Work constitutes direct or contributory +patent infringement, then any patent licenses granted to You under this License +for that Work shall terminate as of the date such litigation is filed. -Don't make any legal claim against anyone accusing this software, with or without changes, alone or with other technology, of infringing any patent. +### 4. Redistribution -## Copyright +You may reproduce and distribute copies of the Work or Derivative Works thereof +in any medium, with or without modifications, and in Source or Object form, +provided that You meet the following conditions: -The contributor licenses you to do everything with this software that would otherwise infringe their copyright in it. +* **(a)** You must give any other recipients of the Work or Derivative Works a copy of +this License; and +* **(b)** You must cause any modified files to carry prominent notices stating that You +changed the files; and +* **(c)** You must retain, in the Source form of any Derivative Works that You distribute, +all copyright, patent, trademark, and attribution notices from the Source form +of the Work, excluding those notices that do not pertain to any part of the +Derivative Works; and +* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any +Derivative Works that You distribute must include a readable copy of the +attribution notices contained within such NOTICE file, excluding those notices +that do not pertain to any part of the Derivative Works, in at least one of the +following places: within a NOTICE text file distributed as part of the +Derivative Works; within the Source form or documentation, if provided along +with the Derivative Works; or, within a display generated by the Derivative +Works, if and wherever such third-party notices normally appear. The contents of +the NOTICE file are for informational purposes only and do not modify the +License. You may add Your own attribution notices within Derivative Works that +You distribute, alongside or as an addendum to the NOTICE text from the Work, +provided that such additional attribution notices cannot be construed as +modifying the License. -## Patent +You may add Your own copyright statement to Your modifications and may provide +additional or different license terms and conditions for use, reproduction, or +distribution of Your modifications, or for any such Derivative Works as a whole, +provided Your use, reproduction, and distribution of the Work otherwise complies +with the conditions stated in this License. -The contributor licenses you to do everything with this software that would otherwise infringe any patents they can license or become able to license. +### 5. Submission of Contributions -## Reliability +Unless You explicitly state otherwise, any Contribution intentionally submitted +for inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the terms of +any separate license agreement you may have executed with Licensor regarding +such Contributions. -The contributor can't revoke this license. +### 6. Trademarks -## Excuse +This License does not grant permission to use the trade names, trademarks, +service marks, or product names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. -You're excused for unknowingly breaking [Notices](#notices) if you take all practical steps to comply within thirty days of learning you broke the rule. +### 7. Disclaimer of Warranty -## No Liability +Unless required by applicable law or agreed to in writing, Licensor provides the +Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, +including, without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are +solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise of +permissions under this License. -***As far as the law allows, this software comes as is, without any warranty or condition, and the contributor won't be liable to anyone for any damages related to this software or this license, under any kind of legal claim.*** \ No newline at end of file +### 8. Limitation of Liability + +In no event and under no legal theory, whether in tort (including negligence), +contract, or otherwise, unless required by applicable law (such as deliberate +and grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, incidental, +or consequential damages of any character arising as a result of this License or +out of the use or inability to use the Work (including but not limited to +damages for loss of goodwill, work stoppage, computer failure or malfunction, or +any and all other commercial damages or losses), even if such Contributor has +been advised of the possibility of such damages. + +### 9. Accepting Warranty or Additional Liability + +While redistributing the Work or Derivative Works thereof, You may choose to +offer, and charge a fee for, acceptance of support, warranty, indemnity, or +other liability obligations and/or rights consistent with this License. However, +in accepting such obligations, You may act only on Your own behalf and on Your +sole responsibility, not on behalf of any other Contributor, and only if You +agree to indemnify, defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason of your +accepting any such warranty or additional liability. diff --git a/NOTICE.md b/NOTICE.md new file mode 100644 index 0000000..250256b --- /dev/null +++ b/NOTICE.md @@ -0,0 +1,8 @@ +# coursebank + +Copyright 2026 Scientific Computing Studio, LLC + +This product includes software developed by Scienting ([scient.ing](https://scient.ing/)). + +Licensed under the Apache License, Version 2.0. +See the `LICENSE.md` file for the full license text. diff --git a/README.md b/README.md index bf5634b..566d361 100644 --- a/README.md +++ b/README.md @@ -1132,24 +1132,21 @@ A build from source or the nightly archive is the way to get a binary until the - `docs/guide/recipes.md`: short answers on assembly flags, reuse, exports, ingest, analysis, reports, and housekeeping. - `docs/TYPST.md`: the Typst export, markers and slots, `typst.yaml`, `reveal`, the lookup order, and the guarantees. - These six files are compiled into the API documentation as `coursebank::guide` modules. They have known drift from the code, listed under [Known limits and unfinished parts](#known-limits-and-unfinished-parts), so trust this README and the code where they differ. -- [`CHANGELOG.md`](CHANGELOG.md), [`RELEASING.md`](RELEASING.md), [`LICENSE.md`](LICENSE.md), and `THIRD-PARTY-LICENSES.txt`. +- [`CHANGELOG.md`](CHANGELOG.md), [`RELEASING.md`](RELEASING.md), [`LICENSE.md`](LICENSE.md), [`NOTICE.md`](NOTICE.md), and `THIRD-PARTY-LICENSES.txt`. The source lives at `https://git.scient.ing/education/coursebank`. This README is mirrored to a GitHub repository with a notice that the project's home is the Gitea address. ## License -coursebank is source-available under the [Prosperity Public License 3.0.0](LICENSE.md). -It is not an OSI-approved open-source license. -Noncommercial use is free, and the license treats educational institutions, public research organizations, government, and similar noncommercial bodies as noncommercial regardless of how they are funded. -Commercial use gets a thirty-day trial; past that it requires a commercial license. - -For a commercial license, contact `licensing@scient.ing`. +coursebank is open source under the [Apache License 2.0](LICENSE.md). +Anyone, companies included, can use, modify, and redistribute it under that license's terms. +Attribution notices are in [`NOTICE.md`](NOTICE.md). Bundled dependencies keep their own licenses, reproduced in `THIRD-PARTY-LICENSES.txt` in each release. ## Contributing Open an issue first if you want to contribute. -Contributed code will need a contributor license agreement so it can ship under both the free and the commercial license. +Contributed code will need a signed contributor license agreement before it can be merged. That agreement is not in place yet, so outside patches cannot be merged for now. diff --git a/build.rs b/build.rs index c31c0ab..58ad613 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis.rs b/src/analysis.rs index a14e38e..31b2fdf 100644 --- a/src/analysis.rs +++ b/src/analysis.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis/calibrate.rs b/src/analysis/calibrate.rs index db2301c..bf077c3 100644 --- a/src/analysis/calibrate.rs +++ b/src/analysis/calibrate.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis/classical.rs b/src/analysis/classical.rs index 90f68d2..25e84b8 100644 --- a/src/analysis/classical.rs +++ b/src/analysis/classical.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis/diagnostic.rs b/src/analysis/diagnostic.rs index 90f01bf..96c790c 100644 --- a/src/analysis/diagnostic.rs +++ b/src/analysis/diagnostic.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis/irt.rs b/src/analysis/irt.rs index 7bf8d8e..fb193bf 100644 --- a/src/analysis/irt.rs +++ b/src/analysis/irt.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/analysis/students.rs b/src/analysis/students.rs index 00a1eed..201d7bf 100644 --- a/src/analysis/students.rs +++ b/src/analysis/students.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/authoring.rs b/src/authoring.rs index 32f065e..a7fa9dd 100644 --- a/src/authoring.rs +++ b/src/authoring.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/authoring/jsonschema.rs b/src/authoring/jsonschema.rs index acf033b..977fe05 100644 --- a/src/authoring/jsonschema.rs +++ b/src/authoring/jsonschema.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/authoring/lint.rs b/src/authoring/lint.rs index c6653ed..ca0b182 100644 --- a/src/authoring/lint.rs +++ b/src/authoring/lint.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/authoring/lint/glossary.rs b/src/authoring/lint/glossary.rs index 38b6453..c3ffdc8 100644 --- a/src/authoring/lint/glossary.rs +++ b/src/authoring/lint/glossary.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/authoring/select.rs b/src/authoring/select.rs index 28ce4bb..ce6bc6b 100644 --- a/src/authoring/select.rs +++ b/src/authoring/select.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/cli.rs b/src/cli.rs index 466173d..9e8abbd 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands.rs b/src/commands.rs index 9cfd69c..5eba65e 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/analysis.rs b/src/commands/analysis.rs index dd5cd59..4157cef 100644 --- a/src/commands/analysis.rs +++ b/src/commands/analysis.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/banks.rs b/src/commands/banks.rs index d152bf5..6dc8768 100644 --- a/src/commands/banks.rs +++ b/src/commands/banks.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/export.rs b/src/commands/export.rs index 75d35b5..d3f7374 100644 --- a/src/commands/export.rs +++ b/src/commands/export.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/handlers.rs b/src/commands/handlers.rs index af2be5b..cee06da 100644 --- a/src/commands/handlers.rs +++ b/src/commands/handlers.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/lectures.rs b/src/commands/lectures.rs index c35407a..5c15e68 100644 --- a/src/commands/lectures.rs +++ b/src/commands/lectures.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/commands/project.rs b/src/commands/project.rs index f1ff8a8..4bf2577 100644 --- a/src/commands/project.rs +++ b/src/commands/project.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data.rs b/src/data.rs index 294b3d1..df269da 100644 --- a/src/data.rs +++ b/src/data.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/canvas.rs b/src/data/canvas.rs index 9c046d1..6fc73a0 100644 --- a/src/data/canvas.rs +++ b/src/data/canvas.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/decode.rs b/src/data/decode.rs index ffe822f..e92414f 100644 --- a/src/data/decode.rs +++ b/src/data/decode.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/gradescope.rs b/src/data/gradescope.rs index e2bf14d..495c021 100644 --- a/src/data/gradescope.rs +++ b/src/data/gradescope.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/intake.rs b/src/data/intake.rs index ad3c3a5..4938655 100644 --- a/src/data/intake.rs +++ b/src/data/intake.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/responses.rs b/src/data/responses.rs index 32185bc..9c11eab 100644 --- a/src/data/responses.rs +++ b/src/data/responses.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/store.rs b/src/data/store.rs index e0cfbdf..bbe9b53 100644 --- a/src/data/store.rs +++ b/src/data/store.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/data/store_parquet.rs b/src/data/store_parquet.rs index 927d7bf..715c9c7 100644 --- a/src/data/store_parquet.rs +++ b/src/data/store_parquet.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/error.rs b/src/error.rs index 35154f6..1678ba0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export.rs b/src/export.rs index 1f8672c..56f1d05 100644 --- a/src/export.rs +++ b/src/export.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/lecture.rs b/src/export/lecture.rs index 5411a5f..5ee0bb3 100644 --- a/src/export/lecture.rs +++ b/src/export/lecture.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/practice.rs b/src/export/practice.rs index 11ed826..520e0ee 100644 --- a/src/export/practice.rs +++ b/src/export/practice.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/qti.rs b/src/export/qti.rs index c6a33e7..5299dc5 100644 --- a/src/export/qti.rs +++ b/src/export/qti.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/references.rs b/src/export/references.rs index 486ae19..ae22c99 100644 --- a/src/export/references.rs +++ b/src/export/references.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/report.rs b/src/export/report.rs index b028e33..217925c 100644 --- a/src/export/report.rs +++ b/src/export/report.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/site.rs b/src/export/site.rs index 009f3c8..85f3cf1 100644 --- a/src/export/site.rs +++ b/src/export/site.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst.rs b/src/export/typst.rs index de72943..305d1fe 100644 --- a/src/export/typst.rs +++ b/src/export/typst.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst/config.rs b/src/export/typst/config.rs index a807ac5..bed8d36 100644 --- a/src/export/typst/config.rs +++ b/src/export/typst/config.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst/diagnostic.rs b/src/export/typst/diagnostic.rs index 28abb02..cd70c72 100644 --- a/src/export/typst/diagnostic.rs +++ b/src/export/typst/diagnostic.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst/payload.rs b/src/export/typst/payload.rs index ae36ebd..4be9b3f 100644 --- a/src/export/typst/payload.rs +++ b/src/export/typst/payload.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst/template.rs b/src/export/typst/template.rs index cf5e4a4..189cdf3 100644 --- a/src/export/typst/template.rs +++ b/src/export/typst/template.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/export/typst/value.rs b/src/export/typst/value.rs index 1c75770..da9d307 100644 --- a/src/export/typst/value.rs +++ b/src/export/typst/value.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/guide.rs b/src/guide.rs index eeb9acf..19a7b2b 100644 --- a/src/guide.rs +++ b/src/guide.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/helpers.rs b/src/helpers.rs index 9e6494e..28c29a0 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/lib.rs b/src/lib.rs index 4e820ea..0291364 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/main.rs b/src/main.rs index e366178..31d6cab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/migrate.rs b/src/migrate.rs index 7d8ae04..ea19f3c 100644 --- a/src/migrate.rs +++ b/src/migrate.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model.rs b/src/model.rs index 6c14c05..6b0f096 100644 --- a/src/model.rs +++ b/src/model.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/assessment.rs b/src/model/assessment.rs index 905b23d..8dc346a 100644 --- a/src/model/assessment.rs +++ b/src/model/assessment.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/bank.rs b/src/model/bank.rs index bd56feb..139050f 100644 --- a/src/model/bank.rs +++ b/src/model/bank.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/calibration.rs b/src/model/calibration.rs index afcbcfb..ccd7831 100644 --- a/src/model/calibration.rs +++ b/src/model/calibration.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/catalog.rs b/src/model/catalog.rs index bd73359..5dfcdbd 100644 --- a/src/model/catalog.rs +++ b/src/model/catalog.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/course.rs b/src/model/course.rs index 0f95ecf..df93f30 100644 --- a/src/model/course.rs +++ b/src/model/course.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/course/fragment.rs b/src/model/course/fragment.rs index 98101bd..59c5934 100644 --- a/src/model/course/fragment.rs +++ b/src/model/course/fragment.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/course/glossary.rs b/src/model/course/glossary.rs index 223ba24..14466ae 100644 --- a/src/model/course/glossary.rs +++ b/src/model/course/glossary.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/history.rs b/src/model/history.rs index 80c00fe..22514d3 100644 --- a/src/model/history.rs +++ b/src/model/history.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/item.rs b/src/model/item.rs index b1c592e..2309e7e 100644 --- a/src/model/item.rs +++ b/src/model/item.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/layout.rs b/src/model/layout.rs index dbc5399..c12ac66 100644 --- a/src/model/layout.rs +++ b/src/model/layout.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/seal.rs b/src/model/seal.rs index 4d1afd6..73ee0ad 100644 --- a/src/model/seal.rs +++ b/src/model/seal.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/model/taxonomy.rs b/src/model/taxonomy.rs index c0bd0b3..0f77d5b 100644 --- a/src/model/taxonomy.rs +++ b/src/model/taxonomy.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util.rs b/src/util.rs index c0a667d..4962252 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/citation.rs b/src/util/citation.rs index 28f7c58..df022f9 100644 --- a/src/util/citation.rs +++ b/src/util/citation.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/date.rs b/src/util/date.rs index 2ecb1fa..3af617e 100644 --- a/src/util/date.rs +++ b/src/util/date.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/hash.rs b/src/util/hash.rs index 2cd4b46..53ce3ea 100644 --- a/src/util/hash.rs +++ b/src/util/hash.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/markup.rs b/src/util/markup.rs index b7e98e1..2fc3102 100644 --- a/src/util/markup.rs +++ b/src/util/markup.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/rng.rs b/src/util/rng.rs index 75db2ff..ae33c9f 100644 --- a/src/util/rng.rs +++ b/src/util/rng.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/yaml.rs b/src/util/yaml.rs index d491be6..fa534e4 100644 --- a/src/util/yaml.rs +++ b/src/util/yaml.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/src/util/zipfile.rs b/src/util/zipfile.rs index 06c3ee1..261f707 100644 --- a/src/util/zipfile.rs +++ b/src/util/zipfile.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 0e79640..dd3ffd7 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/lint_2_1.rs b/tests/lint_2_1.rs index 934b2c5..048c84d 100644 --- a/tests/lint_2_1.rs +++ b/tests/lint_2_1.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/migrate_2_1.rs b/tests/migrate_2_1.rs index 23d10bb..b58f52d 100644 --- a/tests/migrate_2_1.rs +++ b/tests/migrate_2_1.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/render_2_1.rs b/tests/render_2_1.rs index dcd712c..33778c5 100644 --- a/tests/render_2_1.rs +++ b/tests/render_2_1.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/schema_2_1.rs b/tests/schema_2_1.rs index a085efa..0dea2ee 100644 --- a/tests/schema_2_1.rs +++ b/tests/schema_2_1.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank diff --git a/tests/validate_2_1.rs b/tests/validate_2_1.rs index e8e3871..2b459c4 100644 --- a/tests/validate_2_1.rs +++ b/tests/validate_2_1.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: Prosperity-3.0.0 +// SPDX-License-Identifier: Apache-2.0 // Copyright Scienting // Source: https://git.scient.ing/education/coursebank