Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit b0283e0

Browse files
author
Andrey Bienkowski
committed
Enfoce https://reuse.software compliance
The https://reuse.software specification is the standard for providing machine-readable licensing and copyright information. I believe: * machine-readable metadata is a good thing. * licensing and copyright matter * automation is a good thing. Therefore I propose we: 1. Make this repository compliant with the https://reuse.software specification 2. Enfoce compliance via a github action
1 parent f7cab6f commit b0283e0

File tree

109 files changed

+731
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+731
-0
lines changed

.appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# To activate, change the Appveyor settings to use `.appveyor.yml`.
26
environment:
37
global:

.coveragerc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
[run]
26
branch = True
37
source = html5lib

.github/workflows/python-tox.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
on: [pull_request, push]
26
jobs:
37
build:

.github/workflows/reuse.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# Copied from https://github.com/fsfe/reuse-action#example-usage
6+
7+
name: REUSE Compliance Check
8+
9+
on: [push, pull_request]
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: REUSE Compliance Check
17+
uses: fsfe/reuse-action@v1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2014 GitHub, Inc.
2+
# SPDX-License-Identifier: MIT
23
#
34
# Permission is hereby granted, free of charge, to any person obtaining a
45
# copy of this software and associated documentation files (the "Software"),

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
[submodule "testdata"]
26
path = html5lib/tests/testdata
37
url = https://github.com/html5lib/html5lib-tests.git

.prospector.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
strictness: veryhigh
26
doc-warnings: false
37
test-warnings: false

.pylintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
[MASTER]
26
ignore=tests
37

.pytest.expect

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
pytest-expect file v1
26
(2, 7, 18, 'final', 0)
37
b'html5lib/tests/test_encoding.py::test_parser_encoding[<!DOCTYPE HTML>\\n<script>document.write(\'<meta charset="ISO-8859-\' + \'2">\')</script>-iso-8859-2]': FAIL

.reuse/dep5

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: benchmarks/data/wpt/*
4+
Copyright: 2019 web-platform-tests contributors
5+
License: BSD-3-Clause

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
language: python
26
python:
37
- "pypy3"

AUTHORS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
..
3+
.. SPDX-License-Identifier: MIT
4+
15
Credits
26
=======
37

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
..
3+
.. SPDX-License-Identifier: MIT
4+
15
Change Log
26
----------
37

CONTRIBUTING.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. SPDX-FileCopyrightText: 2006-2021 html5lib contributors. See AUTHORS.rst
2+
..
3+
.. SPDX-License-Identifier: MIT
4+
15
Contributing
26
============
37

LICENSES/BSD-3-Clause.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright (c) <year> <owner>.
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
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.
8+
9+
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.
10+
11+
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.

0 commit comments

Comments
 (0)