Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-fedora-messaging for
openSUSE:Factory checked in at 2022-10-12 18:25:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
and /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fedora-messaging"
Wed Oct 12 18:25:35 2022 rev:6 rq:1010015 version:3.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
2022-08-03 21:16:58.591485928 +0200
+++
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275/python-fedora-messaging.changes
2022-10-12 18:27:21.774042699 +0200
@@ -1,0 +2,7 @@
+Wed Oct 12 03:16:41 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 3.1.0
+ * Add the app_name and agent_name properties to message schemas (#272)
+ * Added "groups" property to message schemas. This property can be used if
an event affects a list of groups. (#252)
+
+-------------------------------------------------------------------
Old:
----
fedora_messaging-3.0.2.tar.gz
New:
----
fedora_messaging-3.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fedora-messaging.spec ++++++
--- /var/tmp/diff_new_pack.4IIeCX/_old 2022-10-12 18:27:22.170043571 +0200
+++ /var/tmp/diff_new_pack.4IIeCX/_new 2022-10-12 18:27:22.174043580 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fedora-messaging
-Version: 3.0.2
+Version: 3.1.0
Release: 0
Summary: Python tools for Fedora's messaging infrastructure
License: GPL-2.0-or-later
++++++ fedora_messaging-3.0.2.tar.gz -> fedora_messaging-3.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/PKG-INFO
new/fedora_messaging-3.1.0/PKG-INFO
--- old/fedora_messaging-3.0.2/PKG-INFO 2022-05-19 13:20:53.186045000 +0200
+++ new/fedora_messaging-3.1.0/PKG-INFO 2022-09-13 12:48:49.819445400 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: fedora_messaging
-Version: 3.0.2
+Version: 3.1.0
Summary: A set of tools for using Fedora's messaging infrastructure
Home-page: https://github.com/fedora-infra/fedora-messaging
Maintainer: Fedora Infrastructure Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/build-schemas-list.py
new/fedora_messaging-3.1.0/docs/build-schemas-list.py
--- old/fedora_messaging-3.0.2/docs/build-schemas-list.py 2022-05-12
14:34:18.000000000 +0200
+++ new/fedora_messaging-3.1.0/docs/build-schemas-list.py 2022-09-13
11:47:42.000000000 +0200
@@ -9,9 +9,11 @@
from collections import defaultdict
from dataclasses import dataclass
from subprocess import run
-from textwrap import wrap
+from textwrap import dedent
from urllib.parse import urljoin
+from sphinx.ext.napoleon.docstring import GoogleDocstring
+
SCHEMAS_FILE = "schema-packages.txt"
DOC_FILE = "schemas.rst"
@@ -50,6 +52,8 @@
class Schema:
topic: str
package: str
+ app_name: str
+ category: str
doc: str
@@ -60,11 +64,12 @@
def activate_venv(dirname):
- prev_length = len(sys.path)
- site.addsitepackages(None, [dirname])
- # Put the new paths in front
- sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
+ # Remove system site-packages from the path
+ for spdir in site.getsitepackages():
+ if spdir in sys.path:
+ sys.path.remove(spdir)
sys.prefix = sys.exec_prefix = dirname
+ site.addsitepackages(set(sys.path), [dirname])
site.PREFIXES = [dirname]
site.ENABLE_USER_SITE = False
os.environ["VIRTUAL_ENV"] = dirname
@@ -82,6 +87,20 @@
run([pip, "-q", "install", package], check=True)
+def extract_docstring(cls):
+ if not cls.__doc__:
+ return None
+ gds = GoogleDocstring(dedent(cls.__doc__), obj=cls)
+ doc = []
+ for line in gds.lines():
+ if line.startswith(".. "):
+ break
+ if not line:
+ continue
+ doc.append(line)
+ return " ".join(doc)
+
+
def get_schemas():
import pkg_resources
@@ -94,9 +113,21 @@
print(f"The {target} schema has no declared topic, skipping.")
continue
package_name = entry_point.dist.project_name
- doc = " ".join(wrap(msg_cls.__doc__)) if msg_cls.__doc__ else None
+ doc = extract_docstring(msg_cls)
+ category = _get_category(msg_cls.topic)
+ try:
+ app_name = msg_cls().app_name
+ except Exception:
+ # Sometimes we can't instantiate schema classes without an actual
body
+ app_name = None
schemas[package_name].append(
- Schema(topic=msg_cls.topic, package=package_name, doc=doc)
+ Schema(
+ topic=msg_cls.topic,
+ package=package_name,
+ doc=doc,
+ category=category,
+ app_name=app_name,
+ )
)
return schemas
@@ -105,6 +136,13 @@
return any(topic.startswith(prefix) for prefix in PREFIXES)
+def _get_app_name(schemas):
+ for schema in schemas:
+ if schema.app_name is not None:
+ return schema.app_name
+ return None
+
+
def _get_category(topic):
if _is_prefixed(topic):
index = 3
@@ -118,13 +156,15 @@
doc_file.write(HEADER)
for package_name in sorted(schemas):
package_schemas = schemas[package_name]
- print(f"\n\n{package_name}", file=doc_file)
- print("=" * len(package_name), end="\n\n", file=doc_file)
- category = _get_category(package_schemas[0].topic)
+ app_name = _get_app_name(package_schemas)
+ category = package_schemas[0].category
+ title = app_name or category
+ print(f"\n\n{title}", file=doc_file)
+ print("=" * len(title), end="\n\n", file=doc_file)
history_url = urljoin(DATAGREPPER_URL, f"raw?category={category}")
print(
- f"You can view the history of `all {category} messages
<{history_url}>`__ "
- "in datagrepper.\n\n",
+ f"You can view the history of `all {title} messages
<{history_url}>`__ "
+ "in datagrepper.\n",
file=doc_file,
)
for schema in package_schemas:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/changelog.rst
new/fedora_messaging-3.1.0/docs/changelog.rst
--- old/fedora_messaging-3.0.2/docs/changelog.rst 2022-05-19
13:19:12.000000000 +0200
+++ new/fedora_messaging-3.1.0/docs/changelog.rst 2022-09-13
11:47:42.000000000 +0200
@@ -4,8 +4,31 @@
.. towncrier release notes start
+3.1.0 (2022-09-13)
+==================
+
+Features
+--------
+
+* Add the ``app_name`` and ``agent_name`` properties to message schemas
+ (`PR#272 <https://github.com/fedora-infra/fedora-messaging/pull/272>`_)
+* Added "groups" property to message schemas. This property can be used if an
+ event affects a list of groups.
+ (`#252 <https://github.com/fedora-infra/fedora-messaging/issues/252>`_)
+
+
3.0.2 (2022-05-19)
+==================
+Development Changes
+-------------------
+
+* Fix CI in Github actions
+ (`6257100
<https://github.com/fedora-infra/fedora-messaging/commit/6257100>`_)
+* Update pre-commit checkers
+ (`1d35a5d
<https://github.com/fedora-infra/fedora-messaging/commit/1d35a5d>`_)
+* Fix Packit configuration
+ (`d2ea85f
<https://github.com/fedora-infra/fedora-messaging/commit/d2ea85f>`_)
Contributors
------------
@@ -17,12 +40,24 @@
3.0.1 (2022-05-12)
+==================
Development Changes
-------------------
* Add packit configuration allowing us to have automatic downstream RPM builds
(`#259 <https://github.com/fedora-infra/fedora-messaging/issues/259>`_)
+* Don't build universal wheels since we don't run on Python 2 anymore
+ (`e8c5f4c
<https://github.com/fedora-infra/fedora-messaging/commit/e8c5f4c>`_)
+
+
+Documentation Improvements
+--------------------------
+
+* Add some schema packages to the docs
+ (`03e7f42
<https://github.com/fedora-infra/fedora-messaging/commit/03e7f42>`_)
+* Change the example email addresses
+ (`1555742
<https://github.com/fedora-infra/fedora-messaging/commit/1555742>`_)
Contributors
@@ -31,6 +66,7 @@
reviews for this release:
* Akashdeep Dhar
+* Aur??lien Bompard
3.0.0 (2021-12-14)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/conf.py
new/fedora_messaging-3.1.0/docs/conf.py
--- old/fedora_messaging-3.0.2/docs/conf.py 2022-05-12 11:35:19.000000000
+0200
+++ new/fedora_messaging-3.1.0/docs/conf.py 2022-09-13 11:47:42.000000000
+0200
@@ -65,7 +65,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
-language = None
+language = "en"
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
@@ -185,6 +185,6 @@
"python": ("https://docs.python.org/3", None),
"pika": ("https://pika.readthedocs.io/en/latest/", None),
"jsonschema": ("https://python-jsonschema.readthedocs.io/en/latest/",
None),
- "blinker": ("https://pythonhosted.org/blinker/", None),
- "Twisted": ("https://twistedmatrix.com/documents/current/api/", None),
+ "blinker": ("https://blinker.readthedocs.io/en/stable/", None),
+ "Twisted": ("https://docs.twisted.org/en/stable/api/", None),
}
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-36.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-36.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-38.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-38.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/__pycache__/messages.cpython-38.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/__pycache__/messages.cpython-38.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/__pycache__/schema.cpython-36.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/__pycache__/schema.cpython-36.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/__pycache__/utils.cpython-36.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/__pycache__/utils.cpython-36.pyc
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/messages.py
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/messages.py
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/messages.py
2022-05-12 11:35:19.000000000 +0200
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/messages.py
2022-09-13 11:47:42.000000000 +0200
@@ -17,7 +17,7 @@
from email.utils import parseaddr
-from fedora_messaging import message, schema_utils
+from fedora_messaging import message
class BaseMessage(message.Message):
@@ -75,6 +75,14 @@
return None
@property
+ def app_name(self):
+ """The name of the application that generated the message.
+
+ By convention, in Fedora all schemas should provide this property.
+ """
+ return "mailman"
+
+ @property
def app_icon(self):
"""A URL to the icon of the application that generated the message.
@@ -92,12 +100,11 @@
"""List of packages affected by the action that generated this
message."""
return []
- def _get_avatar_from_from_header(self, from_header):
- """Converts a From email header to an avatar."""
+ def _get_username_from_from_header(self, from_header):
+ """Converts a From email header to a username."""
# Extract the username
addr = parseaddr(from_header)[1]
- username = addr.split("@")[0]
- return schema_utils.user_avatar_url(username)
+ return addr.split("@")[0]
class MessageV1(BaseMessage):
@@ -156,9 +163,9 @@
return self.body["msg"]["body"]
@property
- def agent_avatar(self):
- """An URL to the avatar of the user who caused the action."""
- return self._get_avatar_from_from_header(self.body["msg"]["from"])
+ def agent_name(self):
+ """The username of the user who caused the action."""
+ return self._get_username_from_from_header(self.body["msg"]["from"])
def _get_archived_at(self):
return self.body["msg"]["archived-at"]
@@ -209,9 +216,9 @@
return self.body["body"]
@property
- def agent_avatar(self):
- """An URL to the avatar of the user who caused the action."""
- return self._get_avatar_from_from_header(self.body["from"])
+ def agent_name(self):
+ """The username of the user who caused the action."""
+ return self._get_username_from_from_header(self.body["from"])
def _get_archived_at(self):
return self.body["archived-at"]
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-36.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-36.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-38.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-38.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/__pycache__/test_messages.cpython-38.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/__pycache__/test_messages.cpython-38.pyc
differ
Binary files
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/__pycache__/test_schema.cpython-36-PYTEST.pyc
and
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/__pycache__/test_schema.cpython-36-PYTEST.pyc
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/test_messages.py
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/test_messages.py
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages/tests/test_messages.py
2022-05-12 11:35:19.000000000 +0200
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages/tests/test_messages.py
2022-09-13 11:47:42.000000000 +0200
@@ -108,6 +108,11 @@
message = self.msg_class(body=self.full_message)
self.assertEqual("http://example.com/12345", message.url)
+ def test_agent_name(self):
+ """Assert the message provides a "agent_name" attribute."""
+ message = self.msg_class(body=self.full_message)
+ self.assertEqual("me", message.agent_name)
+
def test_agent_avatar(self):
"""Assert the message provides a "agent_avatar" attribute."""
message = self.msg_class(body=self.full_message)
@@ -171,6 +176,11 @@
message = self.msg_class(body=self.full_message)
self.assertEqual("http://example.com/12345", message.url)
+ def test_agent_name(self):
+ """Assert the message provides a "agent_name" attribute."""
+ message = self.msg_class(body=self.full_message)
+ self.assertEqual("me", message.agent_name)
+
def test_agent_avatar(self):
"""Assert the message provides a "agent_avatar" attribute."""
message = self.msg_class(body=self.full_message)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/PKG-INFO
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/PKG-INFO
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/PKG-INFO
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/PKG-INFO
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1,25 @@
+Metadata-Version: 1.2
+Name: mailman-messages
+Version: 1.0.0
+Summary: A sample schema package for messages sent by mailman
+Home-page: https://github.com/fedora-infra/fedora-messaging/
+Maintainer: Fedora Infrastructure Team
+Maintainer-email: [email protected]
+License: GPLv2+
+Description: A sample schema package.
+
+ See https://fedora-messaging.readthedocs.io/en/latest/messages.html for
+ detailed documentation on packaging your schema.
+
+Keywords: fedora
+Platform: Fedora
+Platform: GNU/Linux
+Classifier: License :: OSI Approved :: GNU General Public License v2 or later
(GPLv2+)
+Classifier: Operating System :: POSIX :: Linux
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/SOURCES.txt
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/SOURCES.txt
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/SOURCES.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/SOURCES.txt
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1,16 @@
+LICENSE
+MANIFEST.in
+README
+setup.cfg
+setup.py
+mailman_messages/__init__.py
+mailman_messages/messages.py
+mailman_messages.egg-info/PKG-INFO
+mailman_messages.egg-info/SOURCES.txt
+mailman_messages.egg-info/dependency_links.txt
+mailman_messages.egg-info/entry_points.txt
+mailman_messages.egg-info/not-zip-safe
+mailman_messages.egg-info/requires.txt
+mailman_messages.egg-info/top_level.txt
+mailman_messages/tests/__init__.py
+mailman_messages/tests/test_messages.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/dependency_links.txt
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/dependency_links.txt
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/dependency_links.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/dependency_links.txt
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/entry_points.txt
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/entry_points.txt
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/entry_points.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/entry_points.txt
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1,4 @@
+[fedora.messages]
+mailman.messageV1 = mailman_messages.messages:MessageV1
+mailman.messageV2 = mailman_messages.messages:MessageV2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/not-zip-safe
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/not-zip-safe
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/not-zip-safe
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/not-zip-safe
2020-06-30 08:35:31.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/requires.txt
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/requires.txt
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/requires.txt
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1 @@
+fedora_messaging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/top_level.txt
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/top_level.txt
---
old/fedora_messaging-3.0.2/docs/sample_schema_package/mailman_messages.egg-info/top_level.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/fedora_messaging-3.1.0/docs/sample_schema_package/mailman_messages.egg-info/top_level.txt
2020-06-30 09:01:50.000000000 +0200
@@ -0,0 +1 @@
+mailman_messages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/schema-packages.txt
new/fedora_messaging-3.1.0/docs/schema-packages.txt
--- old/fedora_messaging-3.0.2/docs/schema-packages.txt 2022-05-12
14:34:18.000000000 +0200
+++ new/fedora_messaging-3.1.0/docs/schema-packages.txt 2022-09-13
11:47:42.000000000 +0200
@@ -2,6 +2,7 @@
anitya-schema
bodhi-messages
+ci-messages
copr-messaging
discourse2fedmsg-messages
fedocal-messages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/schemas.rst
new/fedora_messaging-3.1.0/docs/schemas.rst
--- old/fedora_messaging-3.0.2/docs/schemas.rst 2022-05-12 14:34:18.000000000
+0200
+++ new/fedora_messaging-3.1.0/docs/schemas.rst 2022-09-13 11:47:42.000000000
+0200
@@ -14,34 +14,32 @@
``org.fedoraproject.stg.`` in staging and ``org.fedoraproject.prod.`` in
production.
-anitya-schema
-=============
+Anitya
+======
-You can view the history of `all anitya messages
<https://apps.fedoraproject.org/datagrepper/raw?category=anitya>`__ in
datagrepper.
+You can view the history of `all Anitya messages
<https://apps.fedoraproject.org/datagrepper/raw?category=anitya>`__ in
datagrepper.
-
-* ``org.release-monitoring.prod.anitya.distro.add``: Message sent by Anitya to
the "anitya.distro.add" topic when a new distribution is added. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.distro.add>`__)
+* ``org.release-monitoring.prod.anitya.distro.add``: Message sent by Anitya to
the "anitya.distro.add" topic when a new distribution is added. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.distro.add>`__)
* ``org.release-monitoring.prod.anitya.distro.edit``: Message sent by Anitya
when a distribution is edited. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.distro.edit>`__)
* ``org.release-monitoring.prod.anitya.distro.remove``: Message sent by Anitya
when a distribution is removed. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.distro.remove>`__)
* ``org.release-monitoring.prod.anitya.project.add``: The message sent when a
new project is created in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.add>`__)
* ``org.release-monitoring.prod.anitya.project.edit``: The message sent when a
project is edited in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.edit>`__)
* ``org.release-monitoring.prod.anitya.project.flag``: Sent when a new flag is
created for a project. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.flag>`__)
* ``org.release-monitoring.prod.anitya.project.flag.set``: Sent when a flag is
closed for a project. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.flag.set>`__)
-* ``org.release-monitoring.prod.anitya.project.map.new`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.new>`__)
-* ``org.release-monitoring.prod.anitya.project.map.remove`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.remove>`__)
-* ``org.release-monitoring.prod.anitya.project.map.update`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.update>`__)
+* ``org.release-monitoring.prod.anitya.project.map.new``: Sent when new
distribution mapping is created in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.new>`__)
+* ``org.release-monitoring.prod.anitya.project.map.remove``: Sent when
distribution mapping is deleted in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.remove>`__)
+* ``org.release-monitoring.prod.anitya.project.map.update``: Sent when
distribution mapping is edited in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.map.update>`__)
* ``org.release-monitoring.prod.anitya.project.remove``: The message sent when
a project is deleted in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.remove>`__)
-* ``org.release-monitoring.prod.anitya.project.version.remove`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.remove>`__)
-* ``org.release-monitoring.prod.anitya.project.version.update`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.update>`__)
-* ``org.release-monitoring.prod.anitya.project.version.update.v2`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.update.v2>`__)
+* ``org.release-monitoring.prod.anitya.project.version.remove``: Sent when
version is deleted in Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.remove>`__)
+* ``org.release-monitoring.prod.anitya.project.version.update``: Sent when new
version is discovered by Anitya. This message will be deprecated in future.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.update>`__)
+* ``org.release-monitoring.prod.anitya.project.version.update.v2``: Sent when
new versions are discovered by Anitya. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.release-monitoring.prod.anitya.project.version.update.v2>`__)
-bodhi-messages
-==============
+bodhi
+=====
You can view the history of `all bodhi messages
<https://apps.fedoraproject.org/datagrepper/raw?category=bodhi>`__ in
datagrepper.
-
* ``bodhi.buildroot_override.tag``: Sent when a buildroot override is added
and tagged into the build root. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.buildroot_override.tag>`__)
* ``bodhi.buildroot_override.untag``: Sent when a buildroot override is
untagged from the build root. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.buildroot_override.untag>`__)
* ``bodhi.compose.complete``: Sent when a compose task completes. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.compose.complete>`__)
@@ -63,160 +61,151 @@
* ``bodhi.update.request.testing``: Sent when an update is submitted as a
testing candidate. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.request.testing>`__)
* ``bodhi.update.request.unpush``: Sent when an update is requested to be
unpushed. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.request.unpush>`__)
* ``bodhi.update.requirements_met.stable``: Sent when all the update
requirements are meant for stable. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.requirements_met.stable>`__)
-* ``bodhi.update.status.testing.koji-build-group.build.complete``: Sent when
an update is ready to be tested. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.status.testing.koji-build-group.build.complete>`__)
+* ``bodhi.update.status.testing.koji-build-group.build.complete``: Sent when
an update is ready to be tested. Original version. Does not have 'update'
property or inherit from UpdateMessage. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.status.testing.koji-build-group.build.complete>`__)
+* ``bodhi.update.status.testing.koji-build-group.build.complete``: Sent when
an update is ready to be tested. Newer version. Has 'update' property, like
other update messages. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.bodhi.update.status.testing.koji-build-group.build.complete>`__)
-copr-messaging
-==============
+copr
+====
You can view the history of `all copr messages
<https://apps.fedoraproject.org/datagrepper/raw?category=copr>`__ in
datagrepper.
-
* ``copr.build.end``: schema for the old fedmsg-era 'copr.build.end' message
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.copr.build.end>`__)
* ``copr.build.start``: schema for the old fedmsg-era 'copr.build.start'
message (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.copr.build.start>`__)
-* ``copr.chroot.start``: Schema for the old fedmsg-era 'copr.chroot.start'
message, this message duplicated the 'copr.build.start' message, so you
should never use this. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.copr.chroot.start>`__)
+* ``copr.chroot.start``: Schema for the old fedmsg-era 'copr.chroot.start'
message, this message duplicated the 'copr.build.start' message, so you should
never use this. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.copr.chroot.start>`__)
* ``build.end`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.build.end>`__)
* ``build.start`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.build.start>`__)
* ``chroot.start`` (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.chroot.start>`__)
-fedocal-messages
-================
+fedocal
+=======
You can view the history of `all fedocal messages
<https://apps.fedoraproject.org/datagrepper/raw?category=fedocal>`__ in
datagrepper.
+* ``fedocal.calendar.clear``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is cleared.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.clear>`__)
+* ``fedocal.calendar.delete``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.delete>`__)
+* ``fedocal.calendar.new``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.new>`__)
+* ``fedocal.calendar.update``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.update>`__)
+* ``fedocal.calendar.upload``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when meetings have been
uploaded into the calendar. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.upload>`__)
+* ``fedocal.meeting.delete``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.delete>`__)
+* ``fedocal.meeting.new``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.new>`__)
+* ``fedocal.meeting.reminder``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a reminder is sent.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.reminder>`__)
+* ``fedocal.meeting.update``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.update>`__)
+
+
+elections
+=========
+
+You can view the history of `all elections messages
<https://apps.fedoraproject.org/datagrepper/raw?category=fedora_elections>`__
in datagrepper.
+
+* ``fedora_elections.candidate.delete``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a candidate
is deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.delete>`__)
+* ``fedora_elections.candidate.edit``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a candidate
is edited. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.edit>`__)
+* ``fedora_elections.candidate.new``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a new
candidate is added. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.new>`__)
+* ``fedora_elections.election.edit``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when an election
is edited. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.election.edit>`__)
+* ``fedora_elections.election.new``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a new
election is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.election.new>`__)
-* ``fedocal.calendar.clear``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is
cleared. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.clear>`__)
-* ``fedocal.calendar.delete``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.delete>`__)
-* ``fedocal.calendar.new``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.new>`__)
-* ``fedocal.calendar.update``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a calendar is
updated. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.update>`__)
-* ``fedocal.calendar.upload``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when meetings have been
uploaded into the calendar. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.calendar.upload>`__)
-* ``fedocal.meeting.delete``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.delete>`__)
-* ``fedocal.meeting.new``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.new>`__)
-* ``fedocal.meeting.reminder``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a reminder is sent.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.reminder>`__)
-* ``fedocal.meeting.update``: A sub-class of a Fedora message that defines a
message schema for messages published by fedocal when a meeting is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedocal.meeting.update>`__)
-
-
-fedora-elections-messages
-=========================
-
-You can view the history of `all fedora_elections messages
<https://apps.fedoraproject.org/datagrepper/raw?category=fedora_elections>`__
in datagrepper.
-
-
-* ``fedora_elections.candidate.delete``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a
candidate is deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.delete>`__)
-* ``fedora_elections.candidate.edit``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a
candidate is edited. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.edit>`__)
-* ``fedora_elections.candidate.new``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a new
candidate is added. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.candidate.new>`__)
-* ``fedora_elections.election.edit``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when an
election is edited. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.election.edit>`__)
-* ``fedora_elections.election.new``: A sub-class of a Fedora message that
defines a message schema for messages published by Elections when a new
election is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fedora_elections.election.new>`__)
-
-fedora-messaging-the-new-hotness-schema
-=======================================
+hotness
+=======
You can view the history of `all hotness messages
<https://apps.fedoraproject.org/datagrepper/raw?category=hotness>`__ in
datagrepper.
-
-* ``org.fedoraproject.prod.hotness.update.bug.file``: Message sent by
the-new-hotness to "hotness.update.bug.file" topic when bugzilla issue is
filled. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.hotness.update.bug.file>`__)
-* ``org.fedoraproject.prod.hotness.update.drop``: Message sent by
the-new-hotness to "hotness.update.drop" topic when update is dropped.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.hotness.update.drop>`__)
+* ``org.fedoraproject.prod.hotness.update.bug.file``: Message sent by
the-new-hotness to "hotness.update.bug.file" topic when bugzilla issue is
filled. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.hotness.update.bug.file>`__)
+* ``org.fedoraproject.prod.hotness.update.drop``: Message sent by
the-new-hotness to "hotness.update.drop" topic when update is dropped.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.hotness.update.drop>`__)
-fedora-planet-messages
-======================
+planet
+======
You can view the history of `all planet messages
<https://apps.fedoraproject.org/datagrepper/raw?category=planet>`__ in
datagrepper.
-
* ``org.fedoraproject.prod.planet.post.new``: The message sent when a new post
is published in planet. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.planet.post.new>`__)
-fedorainfra-ansible-messages
-============================
+ansible
+=======
You can view the history of `all ansible messages
<https://apps.fedoraproject.org/datagrepper/raw?category=ansible>`__ in
datagrepper.
-
* ``ansible.playbook.complete``: Defines the message that is sent when an
Ansible Playbook completes (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.ansible.playbook.complete>`__)
* ``ansible.playbook.start``: Defines the message that is sent when an Ansible
Playbook starts (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.ansible.playbook.start>`__)
* ``git.receive``: Defines the message that is sent when an Ansible Playbook
starts (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.git.receive>`__)
-mdapi-messages
-==============
+mdapi
+=====
You can view the history of `all mdapi messages
<https://apps.fedoraproject.org/datagrepper/raw?category=mdapi>`__ in
datagrepper.
+* ``mdapi.repo.update``: A sub-class of a Fedora message that defines a
message schema for messages published by mdapi when a repo's info is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.mdapi.repo.update>`__)
-* ``mdapi.repo.update``: A sub-class of a Fedora message that defines a
message schema for messages published by mdapi when a repo's info is
updated. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.mdapi.repo.update>`__)
-
-noggin-messages
-===============
+fas
+===
You can view the history of `all fas messages
<https://apps.fedoraproject.org/datagrepper/raw?category=fas>`__ in datagrepper.
-
* ``fas.group.member.sponsor``: The message sent when a user is added to a
group by a sponsor (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fas.group.member.sponsor>`__)
* ``fas.user.create``: The message sent when a user is created (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fas.user.create>`__)
* ``fas.user.update``: The message sent when a user is updated (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.fas.user.update>`__)
-nuancier-messages
-=================
+nuancier
+========
You can view the history of `all nuancier messages
<https://apps.fedoraproject.org/datagrepper/raw?category=nuancier>`__ in
datagrepper.
+* ``nuancier.new``: A sub-class of a Fedora message that defines a message
schema for messages published by nuancier when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.nuancier.new>`__)
-* ``nuancier.new``: A sub-class of a Fedora message that defines a message
schema for messages published by nuancier when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.nuancier.new>`__)
-
-pagure-messages
-===============
+pagure
+======
You can view the history of `all pagure messages
<https://apps.fedoraproject.org/datagrepper/raw?category=pagure>`__ in
datagrepper.
-
-* ``pagure.Test.notification``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.Test.notification>`__)
-* ``pagure.commit.flag.added``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.commit.flag.added>`__)
-* ``pagure.commit.flag.updated``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.commit.flag.updated>`__)
-* ``pagure.git.branch.creation``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.branch.creation>`__)
-* ``pagure.git.branch.deletion``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.branch.deletion>`__)
-* ``pagure.git.receive``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.receive>`__)
-* ``pagure.git.tag.creation``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.tag.creation>`__)
-* ``pagure.git.tag.deletion``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.tag.deletion>`__)
-* ``pagure.group.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.group.edit>`__)
-* ``pagure.issue.assigned.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.assigned.added>`__)
-* ``pagure.issue.assigned.reset``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.assigned.reset>`__)
-* ``pagure.issue.comment.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.comment.added>`__)
-* ``pagure.issue.dependency.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.dependency.added>`__)
-* ``pagure.issue.dependency.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.dependency.removed>`__)
-* ``pagure.issue.drop``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.drop>`__)
-* ``pagure.issue.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.edit>`__)
-* ``pagure.issue.new``: A sub-class of a Fedora message that defines a message
schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.new>`__)
-* ``pagure.issue.tag.added``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.tag.added>`__)
-* ``pagure.issue.tag.removed``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.tag.removed>`__)
-* ``pagure.project.deleted``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.deleted>`__)
-* ``pagure.project.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.edit>`__)
-* ``pagure.project.forked``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.forked>`__)
-* ``pagure.project.group.access.updated``: A sub-class of a Fedora message
that defines a message schema for messages published by pagure when a new
thing is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.access.updated>`__)
-* ``pagure.project.group.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.added>`__)
-* ``pagure.project.group.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.removed>`__)
-* ``pagure.project.new``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.new>`__)
-* ``pagure.project.tag.edited``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.tag.edited>`__)
-* ``pagure.project.tag.removed``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.tag.removed>`__)
-* ``pagure.project.user.access.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.access.updated>`__)
-* ``pagure.project.user.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.added>`__)
-* ``pagure.project.user.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.removed>`__)
-* ``pagure.pull-request.assigned.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.assigned.added>`__)
-* ``pagure.pull-request.assigned.reset``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.assigned.reset>`__)
-* ``pagure.pull-request.closed``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.closed>`__)
-* ``pagure.pull-request.comment.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.comment.added>`__)
-* ``pagure.pull-request.comment.edited``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.comment.edited>`__)
-* ``pagure.pull-request.flag.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.flag.added>`__)
-* ``pagure.pull-request.flag.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.flag.updated>`__)
-* ``pagure.pull-request.initial_comment.edited``: A sub-class of a Fedora
message that defines a message schema for messages published by pagure when
a new thing is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.initial_comment.edited>`__)
-* ``pagure.pull-request.new``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.new>`__)
-* ``pagure.pull-request.rebased``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.rebased>`__)
-* ``pagure.pull-request.reopened``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.reopened>`__)
-* ``pagure.pull-request.tag.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.tag.added>`__)
-* ``pagure.pull-request.tag.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.tag.removed>`__)
-* ``pagure.pull-request.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.updated>`__)
+* ``pagure.Test.notification``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.Test.notification>`__)
+* ``pagure.commit.flag.added``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.commit.flag.added>`__)
+* ``pagure.commit.flag.updated``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.commit.flag.updated>`__)
+* ``pagure.git.branch.creation``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.branch.creation>`__)
+* ``pagure.git.branch.deletion``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.branch.deletion>`__)
+* ``pagure.git.receive``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.receive>`__)
+* ``pagure.git.tag.creation``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.tag.creation>`__)
+* ``pagure.git.tag.deletion``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.git.tag.deletion>`__)
+* ``pagure.group.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.group.edit>`__)
+* ``pagure.issue.assigned.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.assigned.added>`__)
+* ``pagure.issue.assigned.reset``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.assigned.reset>`__)
+* ``pagure.issue.comment.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.comment.added>`__)
+* ``pagure.issue.dependency.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.dependency.added>`__)
+* ``pagure.issue.dependency.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when an issue is
deleted. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.dependency.removed>`__)
+* ``pagure.issue.drop``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.drop>`__)
+* ``pagure.issue.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is updated.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.edit>`__)
+* ``pagure.issue.new``: A sub-class of a Fedora message that defines a message
schema for messages published by pagure when a new thing is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.new>`__)
+* ``pagure.issue.tag.added``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.tag.added>`__)
+* ``pagure.issue.tag.removed``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when an issue is deleted.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.issue.tag.removed>`__)
+* ``pagure.project.deleted``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.deleted>`__)
+* ``pagure.project.edit``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.edit>`__)
+* ``pagure.project.forked``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.forked>`__)
+* ``pagure.project.group.access.updated``: A sub-class of a Fedora message
that defines a message schema for messages published by pagure when a new thing
is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.access.updated>`__)
+* ``pagure.project.group.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.added>`__)
+* ``pagure.project.group.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.group.removed>`__)
+* ``pagure.project.new``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.new>`__)
+* ``pagure.project.tag.edited``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.tag.edited>`__)
+* ``pagure.project.tag.removed``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.tag.removed>`__)
+* ``pagure.project.user.access.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.access.updated>`__)
+* ``pagure.project.user.added``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.added>`__)
+* ``pagure.project.user.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.project.user.removed>`__)
+* ``pagure.pull-request.assigned.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.assigned.added>`__)
+* ``pagure.pull-request.assigned.reset``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.assigned.reset>`__)
+* ``pagure.pull-request.closed``: A sub-class of a Fedora message that defines
a message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.closed>`__)
+* ``pagure.pull-request.comment.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.comment.added>`__)
+* ``pagure.pull-request.comment.edited``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.comment.edited>`__)
+* ``pagure.pull-request.flag.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.flag.added>`__)
+* ``pagure.pull-request.flag.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.flag.updated>`__)
+* ``pagure.pull-request.initial_comment.edited``: A sub-class of a Fedora
message that defines a message schema for messages published by pagure when a
new thing is created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.initial_comment.edited>`__)
+* ``pagure.pull-request.new``: A sub-class of a Fedora message that defines a
message schema for messages published by pagure when a new thing is created.
(`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.new>`__)
+* ``pagure.pull-request.rebased``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.rebased>`__)
+* ``pagure.pull-request.reopened``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.reopened>`__)
+* ``pagure.pull-request.tag.added``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.tag.added>`__)
+* ``pagure.pull-request.tag.removed``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.tag.removed>`__)
+* ``pagure.pull-request.updated``: A sub-class of a Fedora message that
defines a message schema for messages published by pagure when a new thing is
created. (`history
<https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.pagure.pull-request.updated>`__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/fedora_messaging/__init__.py
new/fedora_messaging-3.1.0/fedora_messaging/__init__.py
--- old/fedora_messaging-3.0.2/fedora_messaging/__init__.py 2022-05-19
13:19:12.000000000 +0200
+++ new/fedora_messaging-3.1.0/fedora_messaging/__init__.py 2022-09-13
11:47:42.000000000 +0200
@@ -23,4 +23,4 @@
pass
-__version__ = "3.0.2"
+__version__ = "3.1.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/fedora_messaging/message.py
new/fedora_messaging-3.1.0/fedora_messaging/message.py
--- old/fedora_messaging-3.0.2/fedora_messaging/message.py 2022-05-12
11:35:19.000000000 +0200
+++ new/fedora_messaging-3.1.0/fedora_messaging/message.py 2022-09-13
11:47:42.000000000 +0200
@@ -36,6 +36,7 @@
from . import config
from .exceptions import ValidationError
+from .schema_utils import user_avatar_url
#: Indicates the message is for debugging or is otherwise very low priority.
Users
@@ -344,6 +345,8 @@
headers = {}
for user in self.usernames:
headers[f"fedora_messaging_user_{user}"] = True
+ for group in self.groups:
+ headers[f"fedora_messaging_group_{group}"] = True
for package in self.packages:
headers[f"fedora_messaging_rpm_{package}"] = True
for container in self.containers:
@@ -510,6 +513,17 @@
return None
@property
+ def app_name(self):
+ """The name of the application that generated the message.
+
+ .. note:: Sub-classes should override this method.
+
+ Returns:
+ str or None: The name of the application.
+ """
+ return None
+
+ @property
def app_icon(self):
"""An URL to the icon of the application that generated the message.
@@ -523,6 +537,18 @@
return None
@property
+ def agent_name(self):
+ """The username of the user who caused the action.
+
+ .. note:: Sub-classes should override this method if the message was
+ triggered by a particular user.
+
+ Returns:
+ str or None: The agent's username.
+ """
+ return None
+
+ @property
def agent_avatar(self):
"""An URL to the avatar of the user who caused the action.
@@ -532,7 +558,7 @@
Returns:
str or None: The URL to the user's avatar.
"""
- return None
+ return user_avatar_url(self.agent_name) if self.agent_name is not None
else None
@property
def usernames(self):
@@ -547,6 +573,19 @@
"""
return []
+ @property
+ def groups(self):
+ """List of groups affected by the action that generated this message.
+
+ .. note:: Sub-classes should override this method if the message
pertains
+ to a group or groups. The data returned from this property is used
to
+ filter notifications.
+
+ Returns:
+ list(str): A list of affected groups.
+ """
+ return []
+
@property
def packages(self):
"""List of RPM packages affected by the action that generated this
message.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/fedora_messaging/tests/unit/test_message.py
new/fedora_messaging-3.1.0/fedora_messaging/tests/unit/test_message.py
--- old/fedora_messaging-3.0.2/fedora_messaging/tests/unit/test_message.py
2022-05-12 11:35:19.000000000 +0200
+++ new/fedora_messaging-3.1.0/fedora_messaging/tests/unit/test_message.py
2022-09-13 11:47:42.000000000 +0200
@@ -355,10 +355,18 @@
# The url property must exist and defaults to None
self.assertIsNone(message.Message().url)
+ def test_app_name(self):
+ # The app_name property must exist and defaults to None
+ self.assertIsNone(message.Message().app_name)
+
def test_app_icon(self):
# The app_icon property must exist and defaults to None
self.assertIsNone(message.Message().app_icon)
+ def test_agent_name(self):
+ # The agent_name property must exist and defaults to None
+ self.assertIsNone(message.Message().agent_name)
+
def test_agent_avatar(self):
# The agent_avatar property must exist and defaults to None
self.assertIsNone(message.Message().agent_avatar)
@@ -367,6 +375,10 @@
# The usenames property must exist and be a list
self.assertEqual(message.Message().usernames, [])
+ def test_groups(self):
+ # The groups property must exist and be a list
+ self.assertEqual(message.Message().groups, [])
+
def test_packages(self):
# The packages property must exist and be a list
self.assertEqual(message.Message().packages, [])
@@ -401,6 +413,13 @@
return []
@property
+ def groups(self):
+ try:
+ return self.body["groups"]
+ except KeyError:
+ return []
+
+ @property
def packages(self):
try:
return self.body["packages"]
@@ -442,6 +461,14 @@
self.assertIn("fedora_messaging_user_jcline", msg._headers)
self.assertIn("fedora_messaging_user_abompard", msg._headers)
+ def test_groups(self):
+ """Assert groups are placed in the message headers."""
+ msg = CustomMessage(body={"groups": ["fedora-infra", "copr"]})
+
+ self.assertEqual(msg.groups, ["fedora-infra", "copr"])
+ self.assertIn("fedora_messaging_group_fedora-infra", msg._headers)
+ self.assertIn("fedora_messaging_group_copr", msg._headers)
+
def test_packages(self):
"""Assert RPM packages are placed in the message headers."""
msg = CustomMessage(body={"packages": ["kernel", "python-requests"]})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/fedora_messaging.egg-info/PKG-INFO
new/fedora_messaging-3.1.0/fedora_messaging.egg-info/PKG-INFO
--- old/fedora_messaging-3.0.2/fedora_messaging.egg-info/PKG-INFO
2022-05-19 13:20:52.000000000 +0200
+++ new/fedora_messaging-3.1.0/fedora_messaging.egg-info/PKG-INFO
2022-09-13 12:48:49.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: fedora-messaging
-Version: 3.0.2
+Version: 3.1.0
Summary: A set of tools for using Fedora's messaging infrastructure
Home-page: https://github.com/fedora-infra/fedora-messaging
Maintainer: Fedora Infrastructure Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fedora_messaging-3.0.2/fedora_messaging.egg-info/SOURCES.txt
new/fedora_messaging-3.1.0/fedora_messaging.egg-info/SOURCES.txt
--- old/fedora_messaging-3.0.2/fedora_messaging.egg-info/SOURCES.txt
2022-05-19 13:20:53.000000000 +0200
+++ new/fedora_messaging-3.1.0/fedora_messaging.egg-info/SOURCES.txt
2022-09-13 12:48:49.000000000 +0200
@@ -41,8 +41,24 @@
docs/sample_schema_package/setup.py
docs/sample_schema_package/mailman_messages/__init__.py
docs/sample_schema_package/mailman_messages/messages.py
+docs/sample_schema_package/mailman_messages.egg-info/PKG-INFO
+docs/sample_schema_package/mailman_messages.egg-info/SOURCES.txt
+docs/sample_schema_package/mailman_messages.egg-info/dependency_links.txt
+docs/sample_schema_package/mailman_messages.egg-info/entry_points.txt
+docs/sample_schema_package/mailman_messages.egg-info/not-zip-safe
+docs/sample_schema_package/mailman_messages.egg-info/requires.txt
+docs/sample_schema_package/mailman_messages.egg-info/top_level.txt
+docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-36.pyc
+docs/sample_schema_package/mailman_messages/__pycache__/__init__.cpython-38.pyc
+docs/sample_schema_package/mailman_messages/__pycache__/messages.cpython-38.pyc
+docs/sample_schema_package/mailman_messages/__pycache__/schema.cpython-36.pyc
+docs/sample_schema_package/mailman_messages/__pycache__/utils.cpython-36.pyc
docs/sample_schema_package/mailman_messages/tests/__init__.py
docs/sample_schema_package/mailman_messages/tests/test_messages.py
+docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-36.pyc
+docs/sample_schema_package/mailman_messages/tests/__pycache__/__init__.cpython-38.pyc
+docs/sample_schema_package/mailman_messages/tests/__pycache__/test_messages.cpython-38.pyc
+docs/sample_schema_package/mailman_messages/tests/__pycache__/test_schema.cpython-36-PYTEST.pyc
docs/tutorial/conversion.rst
docs/tutorial/exceptions.rst
docs/tutorial/index.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fedora_messaging-3.0.2/pyproject.toml
new/fedora_messaging-3.1.0/pyproject.toml
--- old/fedora_messaging-3.0.2/pyproject.toml 2022-05-19 13:19:12.000000000
+0200
+++ new/fedora_messaging-3.1.0/pyproject.toml 2022-09-13 11:47:42.000000000
+0200
@@ -5,6 +5,8 @@
title_format = "{version} ({project_date})"
issue_format = "{issue}"
template = "news/_template.rst"
+wrap = true
+all_bullets = true
[[tool.towncrier.type]]
directory = "api"