Skip to content

Commit 4696a8c

Browse files
authored
Changes license to apache 2.0 (#1335)
* Changes license to apache 2.0 Because we're an apache project now. * Changes BSD references to apache 2.0 There's a lot left to clean up. But this at least changes references to BSD to apache 2.0 where appropriate. * Fixes whitespace * Fixes #1314 Adds NOTICE and DISCLAIMER Adds needed files according to ASF and #1314 * Update DISCLAIMER Adds EOF * Update LICENSE Remove unneeded things --------- Co-authored-by: Stefan Krawczyk <[email protected]>
1 parent 77267e6 commit 4696a8c

File tree

15 files changed

+51
-31
lines changed

15 files changed

+51
-31
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Guidance on how to contribute
22

3-
> All contributions to this project will be released under the [BSD 3-Clause Clear License](LICENSE). .
3+
> All contributions to this project will be released under the [Apache 2.0 License](LICENSE). .
44
> By submitting a pull request or filing a bug, issue, or
55
> feature request, you are agreeing to comply with this waiver of copyright interest.
6-
> You're also agreeing to abide by our [Code of Conduct](CODE_OF_CONDUCT.md).
6+
> You're also agreeing to abide by the ASF Code of Conduct.
77
88

99
There are two primary ways to help:

DISCLAIMER

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Apache Hamilton (incubating) is an effort undergoing incubation at the Apache
2+
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
3+
4+
Incubation is required of all newly accepted projects until a further review
5+
indicates that the infrastructure, communications, and decision making process
6+
have stabilized in a manner consistent with other successful ASF projects.
7+
8+
While incubation status is not necessarily a reflection of the completeness
9+
or stability of the code, it does indicate that the project has yet to be
10+
fully endorsed by the ASF.

LICENSE

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
Copyright (c) 2019-2022 Stitch Fix
2-
Copyright (c) 2023-2025 DAGWorks Inc.
3-
All rights reserved.
1+
Copyright (c) 2025-present Apache Software Foundation
42

5-
Redistribution and use in source and binary forms, with or without modification, are permitted
6-
(subject to the limitations in the disclaimer below) provided that the following conditions are met:
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
76

8-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following
9-
disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
11-
disclaimer in the documentation and/or other materials provided with the distribution.
12-
* Neither the name of Stitch Fix, DAGWorks, nor the names of its contributors may be used to endorse or promote products derived
13-
from this software without specific prior written permission.
7+
http://www.apache.org/licenses/LICENSE-2.0
148

15-
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY
16-
THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
18-
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20-
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22-
POSSIBILITY OF SUCH DAMAGE.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ include requirements.txt
22
include requirements-test.txt
33
include LICENSE
44
include *.md
5+
include NOTICE
6+
include DISCLAIMER

NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Apache Hamilton (Incubating)
2+
Copyright 2025 The Apache Software Foundation
3+
4+
This product includes software developed at
5+
The Apache Software Foundation (http://www.apache.org/).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ See our page on [Why use Hamilton?](https://hamilton.dagworks.io/en/latest/get-s
208208

209209
# 📑 License
210210

211-
Hamilton is released under the BSD 3-Clause Clear License. See [LICENSE](https://github.com/DAGWorks-Inc/hamilton/blob/main/LICENSE.md) for details.
211+
Hamilton is released under the Apache 2.0 License. See [LICENSE](https://github.com/apache/hamilton/blob/main/LICENSE.md) for details.
212212

213213

214214
# 🌎 Community

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
the License. You may obtain a copy of the License at
88
99
http://www.apache.org/licenses/LICENSE-2.0
10-
10+
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
1313
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

contrib/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def load_requirements():
5454
"Development Status :: 5 - Production/Stable",
5555
"Intended Audience :: Developers",
5656
"Natural Language :: English",
57-
"License :: OSI Approved :: BSD License",
57+
"License :: OSI Approved :: Apache Software License",
5858
"Programming Language :: Python :: 3",
5959
"Programming Language :: Python :: 3.8",
6060
"Programming Language :: Python :: 3.9",

dev_tools/language_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords = [
2121
classifiers = [
2222
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
2323
"Intended Audience :: Developers",
24-
"License :: OSI Approved :: BSD License",
24+
"License :: OSI Approved :: Apache Software License",
2525
"Programming Language :: Python",
2626
"Programming Language :: Python :: 3",
2727
"Programming Language :: Python :: 3 :: Only",

docs/get-started/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
License
33
=======
44

5-
Hamilton is released under the `BSD 3-Clause Clear License <https://github.com/dagworks-inc/hamilton/blob/main/LICENSE>`_.
5+
Hamilton is released under the `Apache 2.0 License <https://github.com/apache/hamilton/blob/main/LICENSE>`_.
66

77

88

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Hamilton, the micro-framework for creating dataframes."
99
readme = "README.md"
1010
requires-python = ">=3.8, <4"
11-
license = {text = "BSD-3-Clause"}
11+
license = {text = "Apache-2.0"}
1212
keywords = ["hamilton"]
1313
authors = [
1414
{ name = "Stefan Krawczyk", email = "[email protected]" },
@@ -18,7 +18,7 @@ classifiers = [
1818
"Development Status :: 5 - Production/Stable",
1919
"Intended Audience :: Developers",
2020
"Natural Language :: English",
21-
"License :: OSI Approved :: BSD License",
21+
"License :: OSI Approved :: Apache Software License",
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3.8",
2424
"Programming Language :: Python :: 3.9",

ui/#run.sh#

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
. common.sh
4+
5+
# Check if --build parameter is passed
6+
if [[ $1 == "--build" ]]; then
7+
# Run docker-compose up with project directory, verbose mode and build
8+
docker-compose --verbose -f docker-compose-prod.yml up --build
9+
else
10+
# Run docker-compose up with project directory and verbose mode
11+
docker-compose --verbose -f docker-compose-prod.yml up
12+
fi

ui/backend/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def load_requirements():
3434
"Development Status :: 5 - Production/Stable",
3535
"Intended Audience :: Developers",
3636
"Natural Language :: English",
37-
"License :: OSI Approved :: BSD License",
37+
"License :: OSI Approved :: Apache Software License",
3838
"Programming Language :: Python :: 3",
3939
"Programming Language :: Python :: 3.8",
4040
"Programming Language :: Python :: 3.9",

ui/sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ Hamilton UI. After spinning up the Hamilton UI application, visit it to see your
6262

6363

6464
# License
65-
The code here is licensed under the BSD-3 Clear Clause license. See the main repository [LICENSE](../../LICENSE) for details.
65+
The code here is licensed under the Apache 2.0 license. See the main repository [LICENSE](../../LICENSE) for details.

ui/sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers = [
1515
"Development Status :: 4 - Beta",
1616
"Intended Audience :: Developers",
1717
"Natural Language :: English",
18-
"License :: OSI Approved :: BSD License",
18+
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python :: 3",
2020
"Programming Language :: Python :: 3.8",
2121
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)