Skip to content

Commit

Permalink
Bug 1616208 [wpt PR 21851] - Remove remaining copies of W3C 3-clause …
Browse files Browse the repository at this point in the history
…BSD License, a=testonly

Automatic update from web-platform-tests
Remove remaining copies of W3C 3-clause BSD License (#21851)

In https://github.com/web-platform-tests/rfcs/blob/master/rfcs/simplify_license.md
we resolved to simplify the license to the plain 3-Clause BSD License,
with the support of the W3C, and this was implemented in
web-platform-tests/wpt#11191.

It was an oversight that these copies of the license were left.
--

wpt-commits: 18340cf88e178b97dc38d0f7cebf150e6712a893
wpt-pr: 21851
  • Loading branch information
foolip authored and moz-wptsync-bot committed Feb 25, 2020
1 parent 9c36886 commit 1ec53f0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 238 deletions.
30 changes: 0 additions & 30 deletions testing/web-platform/tests/resources/LICENSE

This file was deleted.

107 changes: 0 additions & 107 deletions testing/web-platform/tests/shadow-dom/untriaged/LICENSE

This file was deleted.

30 changes: 0 additions & 30 deletions testing/web-platform/tests/tools/wptrunner/LICENSE

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,6 @@

here = os.path.abspath(os.path.split(__file__)[0])

bsd_license = """W3C 3-clause BSD License
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of works must retain the original copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the original copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the W3C nor the names of its contributors may be
used to endorse or promote products derived from this work 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 OWNER 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.
"""


def copy_wpt_tree(tree, dest, excludes=None, includes=None):
"""Copy the working copy of a Tree to a destination directory.
Expand Down Expand Up @@ -84,16 +53,6 @@ def copy_wpt_tree(tree, dest, excludes=None, includes=None):
dest_path = os.path.join(dest, destination, os.path.split(source)[1])
shutil.copy2(source_path, dest_path)

add_license(dest)


def add_license(dest):
"""Write the bsd license string to a LICENSE file.
:param dest: Directory in which to place the LICENSE file."""
with open(os.path.join(dest, "LICENSE"), "w") as f:
f.write(bsd_license)


class UpdateCheckout(Step):
"""Pull changes from upstream into the local sync tree."""
Expand Down
30 changes: 0 additions & 30 deletions testing/web-platform/tests/tools/wptserve/LICENSE

This file was deleted.

0 comments on commit 1ec53f0

Please sign in to comment.