add license #1

Merged
asia merged 2 commits from license into master 2025-08-22 15:55:20 +02:00
Showing only changes of commit b7055570f5 - Show all commits

21
LICENSE.txt Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Loic Viens
Review

Is this a correct entry for the ResponseSpectra software?

Is this a correct entry for the ResponseSpectra software?
Review

Can a License have multiple names under the copyright? Basically I took Loic's code and made some small modifications and made it into a Platform app. I don't know if that's reason enough to add my name or the institute's, etc.

Can a License have multiple names under the copyright? Basically I took Loic's code and made some small modifications and made it into a Platform app. I don't know if that's reason enough to add my name or the institute's, etc.
Review

I think you cannot say that Loic Viens is responsible for all the files in the repository either. If you can extract the file you used, you can add this licence as a header to it. Otherwise, you'll have to use some mixed solution (see a post here https://softwareengineering.stackexchange.com/questions/234511/what-is-the-best-practice-for-arranging-third-party-library-licenses-paperwork on similar topic).
Note also that you don't have to use the MIT licence for the rest of the code, any other can be used, provided the conditions of the licence are met ("The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.").

I think you cannot say that Loic Viens is responsible for all the files in the repository either. If you can extract the file you used, you can add this licence as a header to it. Otherwise, you'll have to use some mixed solution (see a post here https://softwareengineering.stackexchange.com/questions/234511/what-is-the-best-practice-for-arranging-third-party-library-licenses-paperwork on similar topic). Note also that you don't have to use the MIT licence for the rest of the code, any other can be used, provided the conditions of the licence are met ("The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.").
Review

Here's also what AI suggests to do (you can try to make it generate a similar file if you wanted to use another licence than MIT):

MIT License

Copyright (c) 2025 Your Name

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---
Portions of this software are derived from [LibraryName], which is:
MIT License

Copyright (c) 2019 Original Author

Permission is hereby granted, free of charge, to any person obtaining a copy...
[Repeat full original MIT license text from the library]
Here's also what AI suggests to do (you can try to make it generate a similar file if you wanted to use another licence than MIT): ``` MIT License Copyright (c) 2025 Your Name Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- Portions of this software are derived from [LibraryName], which is: MIT License Copyright (c) 2019 Original Author Permission is hereby granted, free of charge, to any person obtaining a copy... [Repeat full original MIT license text from the library] ```
Review

License updated

License updated
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.