Add copyright headers/notices
patch dcead852a97cd7cc87af9a757725173dcdf112ee
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Feb 20 02:25:27 CET 2022
* Add copyright headers/notices
diff -rN -u old-irgramd/LICENSE new-irgramd/LICENSE
--- old-irgramd/LICENSE 2024-11-22 16:04:10.634454738 +0100
+++ new-irgramd/LICENSE 2024-11-22 16:04:10.642454725 +0100
@@ -1,6 +1,7 @@
MIT License
Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
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 -rN -u old-irgramd/README.md new-irgramd/README.md
--- old-irgramd/README.md 2024-11-22 16:04:10.634454738 +0100
+++ new-irgramd/README.md 2024-11-22 16:04:10.642454725 +0100
@@ -9,6 +9,14 @@
**[ This is a fork from [pbui/irtelegramd] to resume the development ]**
+## License
+
+Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+
+Use of this source code is governed by a MIT style license that
+can be found in the LICENSE file included in this project.
+
[IRC]: https://en.wikipedia.org/wiki/Internet_Relay_Chat
[Telegram]: https://telegram.org/
[python]: https://www.python.org/
diff -rN -u old-irgramd/include.py new-irgramd/include.py
--- old-irgramd/include.py 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/include.py 2024-11-22 16:04:10.642454725 +0100
@@ -1,3 +1,10 @@
+# irgramd: IRC-Telegram gateway
+# include.py: Constants and other definitions to be included in other files
+#
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
# Constants
diff -rN -u old-irgramd/irc.py new-irgramd/irc.py
--- old-irgramd/irc.py 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/irc.py 2024-11-22 16:04:10.642454725 +0100
@@ -1,3 +1,11 @@
+# irgramd: IRC-Telegram gateway
+# irc.py: IRC server side implementation
+#
+# Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
import collections
import logging
diff -rN -u old-irgramd/irc_replies.py new-irgramd/irc_replies.py
--- old-irgramd/irc_replies.py 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/irc_replies.py 2024-11-22 16:04:10.642454725 +0100
@@ -1,3 +1,10 @@
+# irgramd: IRC-Telegram gateway
+# irc_replies.py: IRC reply and error codes
+#
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
irc_codes = \
{
diff -rN -u old-irgramd/irgramd new-irgramd/irgramd
--- old-irgramd/irgramd 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/irgramd 2024-11-22 16:04:10.642454725 +0100
@@ -1,4 +1,12 @@
#!/usr/bin/env python3
+#
+# irgramd: IRC-Telegram gateway - Main file
+#
+# Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
import logging
import os
diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py
--- old-irgramd/telegram.py 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/telegram.py 2024-11-22 16:04:10.646454719 +0100
@@ -1,3 +1,11 @@
+# irgramd: IRC-Telegram gateway
+# telegram.py: Interface to Telethon Telegram library
+#
+# Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
import logging
import os
diff -rN -u old-irgramd/utils.py new-irgramd/utils.py
--- old-irgramd/utils.py 2024-11-22 16:04:10.638454732 +0100
+++ new-irgramd/utils.py 2024-11-22 16:04:10.646454719 +0100
@@ -1,3 +1,11 @@
+# irgramd: IRC-Telegram gateway
+# utils.py: Helper functions
+#
+# Copyright (c) 2019 Peter Bui <pbui@bx612.space>
+# Copyright (c) 2020-2022 E. Bosch <presidev@AT@gmail.com>
+#
+# Use of this source code is governed by a MIT style license that
+# can be found in the LICENSE file included in this project.
import itertools
import textwrap