From 5954cfd53fae388125947ac7d23b291ad14a514a Mon Sep 17 00:00:00 2001
From: Sumner Evans <sumner.evans@automattic.com>
Date: Wed, 5 Mar 2025 10:18:32 -0700
Subject: [PATCH] treewide: add copyright/license notices

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
---
 pkg/connector/backfill.go                        | 16 ++++++++++++++++
 pkg/connector/ids.go                             | 16 ++++++++++++++++
 .../linkedinfmt/attributedtext_parse_test.go     | 16 ++++++++++++++++
 pkg/connector/matrix.go                          | 16 ++++++++++++++++
 pkg/connector/sync.go                            | 16 ++++++++++++++++
 pkg/connector/tomatrix.go                        | 16 ++++++++++++++++
 pkg/linkedingo/attributedtext.go                 | 16 ++++++++++++++++
 pkg/linkedingo/conversations.go                  | 16 ++++++++++++++++
 pkg/linkedingo/media.go                          | 16 ++++++++++++++++
 pkg/linkedingo/messages.go                       | 16 ++++++++++++++++
 pkg/linkedingo/reactions.go                      | 16 ++++++++++++++++
 pkg/linkedingo/realtime.go                       | 16 ++++++++++++++++
 pkg/linkedingo/receipts.go                       | 16 ++++++++++++++++
 pkg/linkedingo/request.go                        | 16 ++++++++++++++++
 pkg/linkedingo/typing.go                         | 16 ++++++++++++++++
 pkg/linkedingo/urn.go                            | 16 ++++++++++++++++
 16 files changed, 256 insertions(+)

diff --git a/pkg/connector/backfill.go b/pkg/connector/backfill.go
index d475018..629d468 100644
--- a/pkg/connector/backfill.go
+++ b/pkg/connector/backfill.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package connector
 
 import (
diff --git a/pkg/connector/ids.go b/pkg/connector/ids.go
index 9d0cd86..1e90d57 100644
--- a/pkg/connector/ids.go
+++ b/pkg/connector/ids.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package connector
 
 import (
diff --git a/pkg/connector/linkedinfmt/attributedtext_parse_test.go b/pkg/connector/linkedinfmt/attributedtext_parse_test.go
index 598a7ff..d7ca804 100644
--- a/pkg/connector/linkedinfmt/attributedtext_parse_test.go
+++ b/pkg/connector/linkedinfmt/attributedtext_parse_test.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedinfmt_test
 
 import (
diff --git a/pkg/connector/matrix.go b/pkg/connector/matrix.go
index aa105a8..5328721 100644
--- a/pkg/connector/matrix.go
+++ b/pkg/connector/matrix.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package connector
 
 import (
diff --git a/pkg/connector/sync.go b/pkg/connector/sync.go
index 04c68fd..b642c02 100644
--- a/pkg/connector/sync.go
+++ b/pkg/connector/sync.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package connector
 
 import (
diff --git a/pkg/connector/tomatrix.go b/pkg/connector/tomatrix.go
index c0a8748..5c8598b 100644
--- a/pkg/connector/tomatrix.go
+++ b/pkg/connector/tomatrix.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package connector
 
 import (
diff --git a/pkg/linkedingo/attributedtext.go b/pkg/linkedingo/attributedtext.go
index d413efe..fe40d25 100644
--- a/pkg/linkedingo/attributedtext.go
+++ b/pkg/linkedingo/attributedtext.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 // AttributedText represents a com.linkedin.pemberly.text.AttributedText
diff --git a/pkg/linkedingo/conversations.go b/pkg/linkedingo/conversations.go
index 48a5795..475ba05 100644
--- a/pkg/linkedingo/conversations.go
+++ b/pkg/linkedingo/conversations.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/media.go b/pkg/linkedingo/media.go
index f756a3c..c25945a 100644
--- a/pkg/linkedingo/media.go
+++ b/pkg/linkedingo/media.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/messages.go b/pkg/linkedingo/messages.go
index 48920a8..a441c5b 100644
--- a/pkg/linkedingo/messages.go
+++ b/pkg/linkedingo/messages.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/reactions.go b/pkg/linkedingo/reactions.go
index 91292e5..c509fc7 100644
--- a/pkg/linkedingo/reactions.go
+++ b/pkg/linkedingo/reactions.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/realtime.go b/pkg/linkedingo/realtime.go
index d3f4ee4..e8b2b2d 100644
--- a/pkg/linkedingo/realtime.go
+++ b/pkg/linkedingo/realtime.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/receipts.go b/pkg/linkedingo/receipts.go
index 3a5669a..7350324 100644
--- a/pkg/linkedingo/receipts.go
+++ b/pkg/linkedingo/receipts.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/request.go b/pkg/linkedingo/request.go
index 39cde05..35632f3 100644
--- a/pkg/linkedingo/request.go
+++ b/pkg/linkedingo/request.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/typing.go b/pkg/linkedingo/typing.go
index 6ea0eca..7415ecd 100644
--- a/pkg/linkedingo/typing.go
+++ b/pkg/linkedingo/typing.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
diff --git a/pkg/linkedingo/urn.go b/pkg/linkedingo/urn.go
index 5db33ec..de51964 100644
--- a/pkg/linkedingo/urn.go
+++ b/pkg/linkedingo/urn.go
@@ -1,3 +1,19 @@
+// mautrix-linkedin - A Matrix-LinkedIn puppeting bridge.
+// Copyright (C) 2025 Sumner Evans
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 package linkedingo
 
 import (
-- 
GitLab