================
<img align="right" src="logo.png" width="200" height="200"/>
> *Opinionated BuildBot workflow.*
[](https://travis-ci.org/develersrl/positronic-brain)
[](https://coveralls.io/r/develersrl/positronic-brain)
[](https://waffle.io/develersrl/positronic-brain)
Positronic Brain makes it extremely easy to get up and running with your BuildBot server by dropping
few lines in your `master.cfg` file. Gone are the days of having to figure out how to wire all
pieces together.
Adding a positronic brain to your BuildBot brings you:
* Sensible defaults for your BuildBot master.
* Notification emails sent to _developers_ after a build failure.
* Notification emails sent to _administrators_ for all builds on all projects.
* No need to mess with Change Sources or Schedulers.
* Archiving of artifacts on the master after each successful build.
* Automatic deletion of old artifacts on the master.
Installation
------------
This package is not being published to PyPI, so for the time being you have to install it by
running:
pip install https://github.com/develersrl/positronic-brain/archive/master.zip#egg=positronic-brain
Please note that this package depends on a very specific version of the BuildBot master and you have
to make sure to have it installed first (see [requirements.txt](requirements.txt) for more details).
Usage
-----
In your BuildBot master configuration file (`master.cfg`) import everything from the
"positronic.brain" package and perform some basic initialization:
```python
from positronic.brain import *
# basedir=basedir looks weird, but we need it.
master(basedir=basedir, url='https://buildbot.example.com/')
worker('my-first-worker', 'secretpassword')
worker('my-second-worker', 'anothersecretpassword')
with FreestyleJob('my-project', workers=['my-first-worker', 'my-second-worker']) as j:
j.checkout('project', 'svn+ssh://svn.example.com/svn/project', 'trunk')
j.command('make')
j.command('make', 'check')
j.command('make', 'packages')
j.notify('dev1@example.com')
```
Metadata
Release files for positronic-brain 0.0.1
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 | |
|---|---|---|---|---|
| positronic-brain-0.0.1.tar.gz | 7.5 kB | Without provenance | Details |
Release files / positronic-brain-0.0.1.tar.gz
| Download URL | positronic-brain-0.0.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31d46c76090c21b3c989a02029ac0d25bee9a6c21625cae65f17ede9995b4e15
|
|
BLAKE2b-256 checksum How to use checksums |
23a2119cd227ee5e17fb96980bad6a95cfd27daba94f1287070c9acc3c9123c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for positronic-brain 0.0.1
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.