Pulp RPM Webhook Plugin
This plugin extends Pulp's functionality by adding webhook notifications when artifacts are published or uploaded.
Features
- Triggers webhooks on artifact publications for following types:
- RPM
- File
- Provides detailed artifact information in webhook payloads
- Supports authentication via secret tokens
- Configurable webhook endpoint URL
Installation
pip install pulp-webhook
Configuration
Add the following to your Pulp settings:
# Webhook endpoint URL
WEBHOOK_URL = "https://your-webhook-endpoint.com"
# Optional secret token for authentication (adds header X-PulpWebhook-Token)
WEBHOOK_SECRET = "your-secret-token"
Usage
RPM
- Create an RPM repository:
pulp rpm repository create --name my-rpm-repo
- Create a distribution:
pulp rpm distribution create --name my-dist --base-path my-dist --repository my-rpm-repo
- Upload or sync RPM packages to the repository. The plugin will automatically trigger webhooks when packages are published.
File
- Create a file repository:
pulp file repository create --name my-file-repo --autopublish
- Create a distribution:
pulp file distribution create --name my-dist --base-path my-dist --repository my-file-repo
- Upload or sync files to the repository. The plugin will automatically trigger webhooks when packages are published.
Webhook Payload Structure
The webhook payload includes:
- Event type ("rpm.published")
- Repository name
- Publication details
- List of added packages with:
- Package metadata (name, version, release, etc.)
- Distribution URLs
- Upstream URLs (if synced from a remote)
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.
Links
Metadata
Release files for pulp-webhook 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pulp_webhook-0.1.0.tar.gz | 11.7 kB | Without provenance | Details for pulp_webhook-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pulp_webhook-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pulp_webhook-0.1.0-py3-none-any.whl |
Total release size: 24.6 kB
Release files / pulp_webhook-0.1.0.tar.gz
| Download URL | pulp_webhook-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bb5189ed20f443b5decd98b49cac571d9ac1aed7c4c06c2538e3886ea954fc3
|
|
BLAKE2b-256 checksum How to use checksums |
b326df753633759af61a907819c4fbbb4b500d89b23af0f402b0c790171f18d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pulp_webhook-0.1.0-py3-none-any.whl
| Download URL | pulp_webhook-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70316067cef79b9970717ae15cfc54f3d98b55b236f5291e33230f36da805db7
|
|
BLAKE2b-256 checksum How to use checksums |
0f6f0e921461648e33b3aaf6e867c92f7624d6b930993e7a0b8e097462a350f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for pulp-webhook 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.