chore(license): update copyright year in headers (#1929)

* chore: update copyright year in license headers

* Revert "chore: update copyright year in license headers"

This reverts commit 3e58129c431b9a491089ce36b908f9bb6ba38ed3.

* chore: update copyright year in license headers

* fix: sort go imports

* fix: add missing license headers
This commit is contained in:
soup 2025-01-06 22:23:19 +01:00 committed by GitHub
parent 338bcf38bb
commit 0391629862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
345 changed files with 405 additions and 336 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,14 +1,14 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain
import (
"fmt"
"github.com/moistari/rls"
"testing"
"time"
"github.com/moistari/rls"
"github.com/stretchr/testify/assert"
)

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain
@ -10,8 +10,6 @@ import (
"crypto/md5"
"encoding/hex"
"fmt"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
"html"
"io"
"math"
@ -33,6 +31,8 @@ import (
"github.com/dustin/go-humanize"
"github.com/moistari/rls"
"golang.org/x/net/publicsuffix"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
)
type ReleaseRepo interface {

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
//go:build integration

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain