Bug#984741: ITP: pagure-messages -- A schema package for messages sent by pagure
Package: wnpp
Severity: wishlist
Owner: Sergio de Almeida Cipriano Junior <sergiosacj@hotmail.com.br>
X-Debbugs-Cc: debian-devel@lists.debian.org, sergiosacj@hotmail.com.br
* Package name : pagure-messages
Version : 0.0.6
Upstream Author : Pierre-Yves Chibon <pingou@pingoured.fr>
* URL : https://pagure.io/pagure-messages
* License : GPLv2+
Programming Lang: Python
Description : A schema package for messages sent by pagure
Pagure-messages is a schema package for messages sent by pagure, created using
Fedora Messaging.
A schema is important for several reasons:
- it will help you (the developer) ensure you don’t accidentally change your
message’s format. When messages are being generated from, say, a database object,
it’s easy to make a schema change to the database and unintentionally alter your
message, which breaks consumers of your message. Without a schema, you might not
catch this until you deploy your application and consumers start crashing. With
a schema, you’ll get an error as you develop!
- it allows you to change your message format in a controlled fashion by versioning
your schema. You can then choose to implement methods one way or another based on
the version of the schema used by a message.
For more information about message schemas see:
https://fedora-messaging.readthedocs.io/en/latest/messages.html
The latest version of pagure (5.13.2) needs pagure-messages, my goal is to help
package the new dependencies of pagure.
--
Cheers,
Sérgio Cipriano
Reply to: