diff --git a/LICENSE b/assets/AGPL-3.0.txt similarity index 100% rename from LICENSE rename to assets/AGPL-3.0.txt diff --git a/assets/BSD-3-Clause.txt b/assets/BSD-3-Clause.txt new file mode 100644 index 00000000..894126df --- /dev/null +++ b/assets/BSD-3-Clause.txt @@ -0,0 +1,11 @@ +Copyright (c) 2023 provokateurin. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/docs/workflows.md b/docs/workflows.md index b91dfa02..4e2d57d3 100644 --- a/docs/workflows.md +++ b/docs/workflows.md @@ -6,6 +6,6 @@ If you need to add a new package to the Neon project please make sure to execute 1. Use the according template by running `fvm dart create -t package package_name` or `fvm flutter create -t package package_name`. 2. Make sure to activate our strict linting by adding it to the package. 3. Regenerate the dependency overrides by executing `melos bootstrap`. -4. Add a Symlink to our main [license](../LICENSE). +4. Add a Symlink to our main [license](../assets/AGPL-3.0.txt). 5. Update [commitlint.yaml](../commitlint.yaml) by adding the new package name. 6. Remove the package `.gitignore` (a global `.gitignore` for all packages is used instead). diff --git a/packages/app/LICENSE b/packages/app/LICENSE index 30cff740..af8c58b1 120000 --- a/packages/app/LICENSE +++ b/packages/app/LICENSE @@ -1 +1 @@ -../../LICENSE \ No newline at end of file +../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/dynamite/dynamite/LICENSE b/packages/dynamite/dynamite/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/dynamite/dynamite/LICENSE +++ b/packages/dynamite/dynamite/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/dynamite/dynamite_end_to_end_test/LICENSE b/packages/dynamite/dynamite_end_to_end_test/LICENSE new file mode 120000 index 00000000..c50ad9ad --- /dev/null +++ b/packages/dynamite/dynamite_end_to_end_test/LICENSE @@ -0,0 +1 @@ +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/dynamite/dynamite_runtime/LICENSE b/packages/dynamite/dynamite_runtime/LICENSE index 5853aaea..54f190e2 120000 --- a/packages/dynamite/dynamite_runtime/LICENSE +++ b/packages/dynamite/dynamite_runtime/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/BSD-3-Clause.txt \ No newline at end of file diff --git a/packages/file_icons/LICENSE b/packages/file_icons/LICENSE index 30cff740..af8c58b1 120000 --- a/packages/file_icons/LICENSE +++ b/packages/file_icons/LICENSE @@ -1 +1 @@ -../../LICENSE \ No newline at end of file +../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon/LICENSE b/packages/neon/neon/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon/LICENSE +++ b/packages/neon/neon/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon_dashboard/LICENSE b/packages/neon/neon_dashboard/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon_dashboard/LICENSE +++ b/packages/neon/neon_dashboard/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon_files/LICENSE b/packages/neon/neon_files/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon_files/LICENSE +++ b/packages/neon/neon_files/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon_news/LICENSE b/packages/neon/neon_news/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon_news/LICENSE +++ b/packages/neon/neon_news/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon_notes/LICENSE b/packages/neon/neon_notes/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon_notes/LICENSE +++ b/packages/neon/neon_notes/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon/neon_notifications/LICENSE b/packages/neon/neon_notifications/LICENSE index 5853aaea..c50ad9ad 120000 --- a/packages/neon/neon_notifications/LICENSE +++ b/packages/neon/neon_notifications/LICENSE @@ -1 +1 @@ -../../../LICENSE \ No newline at end of file +../../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/neon_lints/LICENSE b/packages/neon_lints/LICENSE index 30cff740..af8c58b1 120000 --- a/packages/neon_lints/LICENSE +++ b/packages/neon_lints/LICENSE @@ -1 +1 @@ -../../LICENSE \ No newline at end of file +../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/nextcloud/LICENSE b/packages/nextcloud/LICENSE index 30cff740..af8c58b1 120000 --- a/packages/nextcloud/LICENSE +++ b/packages/nextcloud/LICENSE @@ -1 +1 @@ -../../LICENSE \ No newline at end of file +../../assets/AGPL-3.0.txt \ No newline at end of file diff --git a/packages/sort_box/LICENSE b/packages/sort_box/LICENSE index 30cff740..dc0786b0 120000 --- a/packages/sort_box/LICENSE +++ b/packages/sort_box/LICENSE @@ -1 +1 @@ -../../LICENSE \ No newline at end of file +../../assets/BSD-3-Clause.txt \ No newline at end of file