You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by sk...@apache.org on 2026/06/16 07:30:16 UTC

(hamilton) 01/03: Fix LICENSE files for sdk, contrib, lsp sub-packages

This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch stefan/fix-subpackage-licenses
in repository https://gitbox.apache.org/repos/asf/hamilton.git

commit ff225f9ce1f33f41c88c85b15831076f89b74ed9
Author: Stefan Krawczyk <st...@cs.stanford.edu>
AuthorDate: Mon Jun 15 23:25:36 2026 -0700

    Fix LICENSE files for sdk, contrib, lsp sub-packages
    
    The sub-package LICENSE files were copied verbatim from the main
    apache-hamilton package, carrying a bundled-code notice for
    hamilton/experimental/databackend.py. That file only ships in the main
    package, not in any sub-package, so the notice was inaccurate.
    
    - sdk, contrib, lsp: remove the databackend.py MIT notice
    - lsp: fix the pygls/ls_setup.py reference to use the archive-relative
      path (tests/ls_setup.py) instead of the monorepo path
    
    Addresses ASF mentor -1 on apache-hamilton-lsp 0.2.0-RC1.
---
 contrib/LICENSE                   | 27 ---------------------------
 dev_tools/language_server/LICENSE | 27 +--------------------------
 ui/sdk/LICENSE                    | 27 ---------------------------
 3 files changed, 1 insertion(+), 80 deletions(-)

diff --git a/contrib/LICENSE b/contrib/LICENSE
index 60a996ed..261eeb9e 100644
--- a/contrib/LICENSE
+++ b/contrib/LICENSE
@@ -199,30 +199,3 @@
    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.
-
--------------------------------
-
-hamilton/experimental/databackend.py is copied from https://github.com/machow/databackend
-and is licensed under the MIT License.
-
-MIT License
-
-Copyright (c) 2024 databackend contributors
-
-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.
diff --git a/dev_tools/language_server/LICENSE b/dev_tools/language_server/LICENSE
index 69f3792d..7c12ac2b 100644
--- a/dev_tools/language_server/LICENSE
+++ b/dev_tools/language_server/LICENSE
@@ -202,33 +202,8 @@
 
 -------------------------------
 
-hamilton/experimental/databackend.py is copied from https://github.com/machow/databackend
-and is licensed under the MIT License.
-
-MIT License
-
-Copyright (c) 2024 databackend contributors
-
-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.
-
 This product includes test code derived from pygls
 (https://github.com/openlawlibrary/pygls):
 Copyright (c) Open Law Library. All rights reserved.
 Licensed under the Apache License, Version 2.0.
-See dev_tools/language_server/tests/ls_setup.py.
+See tests/ls_setup.py.
diff --git a/ui/sdk/LICENSE b/ui/sdk/LICENSE
index 60a996ed..261eeb9e 100644
--- a/ui/sdk/LICENSE
+++ b/ui/sdk/LICENSE
@@ -199,30 +199,3 @@
    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.
-
--------------------------------
-
-hamilton/experimental/databackend.py is copied from https://github.com/machow/databackend
-and is licensed under the MIT License.
-
-MIT License
-
-Copyright (c) 2024 databackend contributors
-
-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.