Skip to main content

python-oops-datedir2amqp: Bridge a datedir repo to amqp

Copyright (c) 2011, Canonical Ltd

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 <http://www.gnu.org/licenses/>.

The oops_datedir2amqp package provides a script that will retransmit OOPS reports (http://pypi.python.org/pypi/oops) stored in a datedir repo over amqp, cleaning up the repo as it goes.

Dependencies

  • Python 2.6+

  • oops_datedir_repo

  • oops_amqp

Testing Dependencies

Usage

Install the package in a virtualenv (or similar):

$ virtualenv oops-datedir2amqp
$ oops-datedir2amqp/bin/pip install oops-datedir2amqp

Run the script:

$ oops-datedir2amqp/bin/datedir2amqp \
  --host XX --username XX --password XX --vhost XX --exchange XX --repo XX

Note that the repo should be the same path you are supplying to your DateDirRepo in whatever process is creating OOPSes.

A common use for this setup is as a fallback: in your application report to AMQP directly, with a DateDirRepo configured as fallback, then use datedir2amqp to pickup and respool any OOPS reports that were generated while your AMQP server is unavailable.

Development

Upstream development takes place at https://launchpad.net/python-oops-datedir2amqp.

To run the tests, use tox.

Metadata

Release files for oops-datedir2amqp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oops-datedir2amqp 0.1.0
File Size Uploaded Provenance Actions
oops_datedir2amqp-0.1.0.tar.gz 3.6 kB Without provenance Details for oops_datedir2amqp-0.1.0.tar.gz

Release files / oops_datedir2amqp-0.1.0.tar.gz

Download URL oops_datedir2amqp-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7d180a8990a1b3ff264a7445e1fe896b53bc2674a05142968250905bb9747b6c
BLAKE2b-256 checksum
How to use checksums
bc3e9a9c296c27375533ec526b54a03f573c938cb2b5db31a04bf0963f8a9584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

Security for oops-datedir2amqp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page