From 86be26b1d4cc3771d0695c14d059cf408260858f Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Thu, 22 Jan 2026 13:42:18 +0300 Subject: [PATCH] add license and copyright attribution --- LICENSE_1_0.txt | 23 +++++++++++++++++++++++ diff-coverage-report.py | 7 +++++++ templates/base.html | 7 +++++++ templates/dir.html | 7 +++++++ templates/file.html | 7 +++++++ 5 files changed, 51 insertions(+) create mode 100644 LICENSE_1_0.txt diff --git a/LICENSE_1_0.txt b/LICENSE_1_0.txt new file mode 100644 index 0000000..36b7cd9 --- /dev/null +++ b/LICENSE_1_0.txt @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +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, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN 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/diff-coverage-report.py b/diff-coverage-report.py index 948a3de..11c756f 100755 --- a/diff-coverage-report.py +++ b/diff-coverage-report.py @@ -1,5 +1,12 @@ #!/usr/bin/env python +# +# Copyright (c) 2026 Dmitry Arkhipov (grisumbras@yandex.ru) +# +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +# + import argparse import itertools import io diff --git a/templates/base.html b/templates/base.html index 52362f6..c0047a3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,3 +1,10 @@ +{# +Copyright (c) 2026 Dmitry Arkhipov (grisumbras@yandex.ru) + +Distributed under the Boost Software License, Version 1.0. (See accompanying +file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#} + {%- macro coverage_hint(kind) -%} {%- if kind == 'UNC' -%} Uncovered New Code (+ => 0): diff --git a/templates/dir.html b/templates/dir.html index 6e18cdc..ae433ba 100644 --- a/templates/dir.html +++ b/templates/dir.html @@ -1,3 +1,10 @@ +{# +Copyright (c) 2026 Dmitry Arkhipov (grisumbras@yandex.ru) + +Distributed under the Boost Software License, Version 1.0. (See accompanying +file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#} + {% extends 'base.html' %} {% block main %} diff --git a/templates/file.html b/templates/file.html index 9d72383..7537c57 100644 --- a/templates/file.html +++ b/templates/file.html @@ -1,3 +1,10 @@ +{# +Copyright (c) 2026 Dmitry Arkhipov (grisumbras@yandex.ru) + +Distributed under the Boost Software License, Version 1.0. (See accompanying +file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#} + {% extends 'base.html' %} {% block header %}