Bug#984741: ITP: pagure-messages -- A schema package for messages sent by pagure
Owner: Sergio de Almeida Cipriano Junior <firstname.lastname@example.org>
X-Debbugs-Cc: email@example.com, firstname.lastname@example.org
* Package name : pagure-messages
Version : 0.0.6
Upstream Author : Pierre-Yves Chibon <email@example.com>
* 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
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:
The latest version of pagure (5.13.2) needs pagure-messages, my goal is to help
package the new dependencies of pagure.