From 27b217fd96aa6e462ea5e527c3aa19edabf2c123 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:21:17 +0000 Subject: [PATCH 1/5] Initial plan From 7bdb2fa671cfb4e2149b9db1303b195a884b297c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:23:07 +0000 Subject: [PATCH 2/5] feat: add license headers to all *.py and *.lark files (closes #26) --- src/rfc3987_syntax2/__init__.py | 8 ++++++++ src/rfc3987_syntax2/syntax_helpers.py | 8 ++++++++ src/rfc3987_syntax2/syntax_rfc3987.lark | 7 +++++++ src/rfc3987_syntax2/utils.py | 8 ++++++++ tests/__init__.py | 8 ++++++++ tests/test_syntax.py | 8 ++++++++ 6 files changed, 47 insertions(+) diff --git a/src/rfc3987_syntax2/__init__.py b/src/rfc3987_syntax2/__init__.py index c1f81aa..126f6c9 100644 --- a/src/rfc3987_syntax2/__init__.py +++ b/src/rfc3987_syntax2/__init__.py @@ -1 +1,9 @@ +# Copyright (c) 2025 Will Riley +# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +# +# Licensed under the MIT License. +# See LICENSE in the project root for full license text. +# +# SPDX-License-Identifier: MIT + from .syntax_helpers import * diff --git a/src/rfc3987_syntax2/syntax_helpers.py b/src/rfc3987_syntax2/syntax_helpers.py index 25830e7..736754f 100644 --- a/src/rfc3987_syntax2/syntax_helpers.py +++ b/src/rfc3987_syntax2/syntax_helpers.py @@ -1,3 +1,11 @@ +# Copyright (c) 2025 Will Riley +# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +# +# Licensed under the MIT License. +# See LICENSE in the project root for full license text. +# +# SPDX-License-Identifier: MIT + from typing import Callable from lark import Lark, ParseTree, exceptions diff --git a/src/rfc3987_syntax2/syntax_rfc3987.lark b/src/rfc3987_syntax2/syntax_rfc3987.lark index f0811e9..2d0903e 100644 --- a/src/rfc3987_syntax2/syntax_rfc3987.lark +++ b/src/rfc3987_syntax2/syntax_rfc3987.lark @@ -1,3 +1,10 @@ +// Copyright (c) 2025 Will Riley +// Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +// +// Licensed under the MIT License. +// See LICENSE in the project root for full license text. +// +// SPDX-License-Identifier: MIT iri: scheme ":" ihier_part ("?" iquery)? ("#" ifragment)? diff --git a/src/rfc3987_syntax2/utils.py b/src/rfc3987_syntax2/utils.py index af16a5d..bf53da3 100644 --- a/src/rfc3987_syntax2/utils.py +++ b/src/rfc3987_syntax2/utils.py @@ -1,3 +1,11 @@ +# Copyright (c) 2025 Will Riley +# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +# +# Licensed under the MIT License. +# See LICENSE in the project root for full license text. +# +# SPDX-License-Identifier: MIT + from pathlib import Path diff --git a/tests/__init__.py b/tests/__init__.py index 4585dbd..833a4ab 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,11 @@ +# Copyright (c) 2025 Will Riley +# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +# +# Licensed under the MIT License. +# See LICENSE in the project root for full license text. +# +# SPDX-License-Identifier: MIT + import json from pathlib import Path from typing import TypedDict diff --git a/tests/test_syntax.py b/tests/test_syntax.py index 4262b88..4c6e68d 100644 --- a/tests/test_syntax.py +++ b/tests/test_syntax.py @@ -1,3 +1,11 @@ +# Copyright (c) 2025 Will Riley +# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +# +# Licensed under the MIT License. +# See LICENSE in the project root for full license text. +# +# SPDX-License-Identifier: MIT + from typing import TYPE_CHECKING import pytest From 43f6aaf124980a1e55e3bac8ab6ad63edb8f3e09 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:34:11 +0000 Subject: [PATCH 3/5] feat: update license headers to shorter format (closes #26) --- src/rfc3987_syntax2/__init__.py | 6 +----- src/rfc3987_syntax2/syntax_helpers.py | 6 +----- src/rfc3987_syntax2/syntax_rfc3987.lark | 6 +----- src/rfc3987_syntax2/utils.py | 6 +----- tests/__init__.py | 6 +----- tests/test_syntax.py | 6 +----- 6 files changed, 6 insertions(+), 30 deletions(-) diff --git a/src/rfc3987_syntax2/__init__.py b/src/rfc3987_syntax2/__init__.py index 126f6c9..dbdc13f 100644 --- a/src/rfc3987_syntax2/__init__.py +++ b/src/rfc3987_syntax2/__init__.py @@ -1,9 +1,5 @@ # Copyright (c) 2025 Will Riley -# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -# -# Licensed under the MIT License. -# See LICENSE in the project root for full license text. -# +# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT from .syntax_helpers import * diff --git a/src/rfc3987_syntax2/syntax_helpers.py b/src/rfc3987_syntax2/syntax_helpers.py index 736754f..101f4dd 100644 --- a/src/rfc3987_syntax2/syntax_helpers.py +++ b/src/rfc3987_syntax2/syntax_helpers.py @@ -1,9 +1,5 @@ # Copyright (c) 2025 Will Riley -# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -# -# Licensed under the MIT License. -# See LICENSE in the project root for full license text. -# +# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT from typing import Callable diff --git a/src/rfc3987_syntax2/syntax_rfc3987.lark b/src/rfc3987_syntax2/syntax_rfc3987.lark index 2d0903e..7fcd794 100644 --- a/src/rfc3987_syntax2/syntax_rfc3987.lark +++ b/src/rfc3987_syntax2/syntax_rfc3987.lark @@ -1,9 +1,5 @@ // Copyright (c) 2025 Will Riley -// Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -// -// Licensed under the MIT License. -// See LICENSE in the project root for full license text. -// +// Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) // SPDX-License-Identifier: MIT iri: scheme ":" ihier_part ("?" iquery)? ("#" ifragment)? diff --git a/src/rfc3987_syntax2/utils.py b/src/rfc3987_syntax2/utils.py index bf53da3..fe30cbf 100644 --- a/src/rfc3987_syntax2/utils.py +++ b/src/rfc3987_syntax2/utils.py @@ -1,9 +1,5 @@ # Copyright (c) 2025 Will Riley -# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -# -# Licensed under the MIT License. -# See LICENSE in the project root for full license text. -# +# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT from pathlib import Path diff --git a/tests/__init__.py b/tests/__init__.py index 833a4ab..e01e8d7 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,9 +1,5 @@ # Copyright (c) 2025 Will Riley -# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -# -# Licensed under the MIT License. -# See LICENSE in the project root for full license text. -# +# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT import json diff --git a/tests/test_syntax.py b/tests/test_syntax.py index 4c6e68d..2af3118 100644 --- a/tests/test_syntax.py +++ b/tests/test_syntax.py @@ -1,9 +1,5 @@ # Copyright (c) 2025 Will Riley -# Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. -# -# Licensed under the MIT License. -# See LICENSE in the project root for full license text. -# +# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT from typing import TYPE_CHECKING From d7a67166f801bdb7fbd994f20c39a66b549e0ca8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:37:11 +0000 Subject: [PATCH 4/5] =?UTF-8?q?feat:=20update=20copyright=20lines=20?= =?UTF-8?q?=E2=80=94=20add=20role=20annotations=20and=20align=20LICENSE=20?= =?UTF-8?q?with=20source=20headers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 4 ++-- src/rfc3987_syntax2/__init__.py | 2 +- src/rfc3987_syntax2/syntax_helpers.py | 2 +- src/rfc3987_syntax2/syntax_rfc3987.lark | 2 +- src/rfc3987_syntax2/utils.py | 2 +- tests/__init__.py | 2 +- tests/test_syntax.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 6efa3e6..7f31722 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License -Copyright (c) 2025 Will Riley -Copyright (c) 2026 Jan Kowalleck — modifications and maintenance. +Copyright (c) 2025 Will Riley - original author +Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/rfc3987_syntax2/__init__.py b/src/rfc3987_syntax2/__init__.py index dbdc13f..a6a4757 100644 --- a/src/rfc3987_syntax2/__init__.py +++ b/src/rfc3987_syntax2/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Will Riley +# Copyright (c) 2025 Will Riley - original author # Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT diff --git a/src/rfc3987_syntax2/syntax_helpers.py b/src/rfc3987_syntax2/syntax_helpers.py index 101f4dd..c90104d 100644 --- a/src/rfc3987_syntax2/syntax_helpers.py +++ b/src/rfc3987_syntax2/syntax_helpers.py @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Will Riley +# Copyright (c) 2025 Will Riley - original author # Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT diff --git a/src/rfc3987_syntax2/syntax_rfc3987.lark b/src/rfc3987_syntax2/syntax_rfc3987.lark index 7fcd794..716f15e 100644 --- a/src/rfc3987_syntax2/syntax_rfc3987.lark +++ b/src/rfc3987_syntax2/syntax_rfc3987.lark @@ -1,4 +1,4 @@ -// Copyright (c) 2025 Will Riley +// Copyright (c) 2025 Will Riley - original author // Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) // SPDX-License-Identifier: MIT diff --git a/src/rfc3987_syntax2/utils.py b/src/rfc3987_syntax2/utils.py index fe30cbf..9108fd1 100644 --- a/src/rfc3987_syntax2/utils.py +++ b/src/rfc3987_syntax2/utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Will Riley +# Copyright (c) 2025 Will Riley - original author # Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT diff --git a/tests/__init__.py b/tests/__init__.py index e01e8d7..d0535ea 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Will Riley +# Copyright (c) 2025 Will Riley - original author # Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT diff --git a/tests/test_syntax.py b/tests/test_syntax.py index 2af3118..993db4b 100644 --- a/tests/test_syntax.py +++ b/tests/test_syntax.py @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Will Riley +# Copyright (c) 2025 Will Riley - original author # Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) # SPDX-License-Identifier: MIT From 098987eb5daa58a417a7645572550b7286944a06 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:39:26 +0000 Subject: [PATCH 5/5] feat: use hyphen style for Kowalleck copyright line in all files --- LICENSE | 2 +- src/rfc3987_syntax2/__init__.py | 2 +- src/rfc3987_syntax2/syntax_helpers.py | 2 +- src/rfc3987_syntax2/syntax_rfc3987.lark | 2 +- src/rfc3987_syntax2/utils.py | 2 +- tests/__init__.py | 2 +- tests/test_syntax.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index 7f31722..f4dd167 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License Copyright (c) 2025 Will Riley - original author -Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +Copyright (c) 2026 Jan Kowalleck - modifications and maintenance Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/rfc3987_syntax2/__init__.py b/src/rfc3987_syntax2/__init__.py index a6a4757..7300822 100644 --- a/src/rfc3987_syntax2/__init__.py +++ b/src/rfc3987_syntax2/__init__.py @@ -1,5 +1,5 @@ # Copyright (c) 2025 Will Riley - original author -# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +# Copyright (c) 2026 Jan Kowalleck - modifications and maintenance # SPDX-License-Identifier: MIT from .syntax_helpers import * diff --git a/src/rfc3987_syntax2/syntax_helpers.py b/src/rfc3987_syntax2/syntax_helpers.py index c90104d..7b8adc6 100644 --- a/src/rfc3987_syntax2/syntax_helpers.py +++ b/src/rfc3987_syntax2/syntax_helpers.py @@ -1,5 +1,5 @@ # Copyright (c) 2025 Will Riley - original author -# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +# Copyright (c) 2026 Jan Kowalleck - modifications and maintenance # SPDX-License-Identifier: MIT from typing import Callable diff --git a/src/rfc3987_syntax2/syntax_rfc3987.lark b/src/rfc3987_syntax2/syntax_rfc3987.lark index 716f15e..101b293 100644 --- a/src/rfc3987_syntax2/syntax_rfc3987.lark +++ b/src/rfc3987_syntax2/syntax_rfc3987.lark @@ -1,5 +1,5 @@ // Copyright (c) 2025 Will Riley - original author -// Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +// Copyright (c) 2026 Jan Kowalleck - modifications and maintenance // SPDX-License-Identifier: MIT iri: scheme ":" ihier_part ("?" iquery)? ("#" ifragment)? diff --git a/src/rfc3987_syntax2/utils.py b/src/rfc3987_syntax2/utils.py index 9108fd1..32f05dc 100644 --- a/src/rfc3987_syntax2/utils.py +++ b/src/rfc3987_syntax2/utils.py @@ -1,5 +1,5 @@ # Copyright (c) 2025 Will Riley - original author -# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +# Copyright (c) 2026 Jan Kowalleck - modifications and maintenance # SPDX-License-Identifier: MIT from pathlib import Path diff --git a/tests/__init__.py b/tests/__init__.py index d0535ea..13df859 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # Copyright (c) 2025 Will Riley - original author -# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +# Copyright (c) 2026 Jan Kowalleck - modifications and maintenance # SPDX-License-Identifier: MIT import json diff --git a/tests/test_syntax.py b/tests/test_syntax.py index 993db4b..c096cc1 100644 --- a/tests/test_syntax.py +++ b/tests/test_syntax.py @@ -1,5 +1,5 @@ # Copyright (c) 2025 Will Riley - original author -# Copyright (c) 2026 Jan Kowalleck (modifications and maintenance) +# Copyright (c) 2026 Jan Kowalleck - modifications and maintenance # SPDX-License-Identifier: MIT from typing import TYPE_CHECKING