• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wehr-lab / autopilot / 531
28%
main: 28%

Build:
Build:
LAST BUILD BRANCH: v0.5.0
DEFAULT BRANCH: main
Ran 27 Jul 2021 12:48AM UTC
Jobs 3
Files 67
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
531

push

travis-ci-com

web-flow
Implement Registries, Plugins, and Wiki Integration (#109)

Very late now, but I believe i have done this: https://github.com/wehr-lab/autopilot/issues/39

I will return tomorrow to write the docs and the PR, but yes it is time.

dump anything that inherits from the appropriate metaclass into `PLUGINDIR` and...

```python
import autopilot

# list all hardware
autopilot.get('hardware')
# or an alias
autopilot.get_hardware()

# get hardware (including from plugins)
autopilot.get('hardware', 'PWM')

# get anything
autopilot.get('task')
autopilot.get('graduation')
autopilot.get('transform')
autopilot.get('children')
```

and as a little bonus...

```python
>>> from autopilot.utils import wiki
>>> wiki.ask('[[HiFiBerry Amp2]]', "Uses GPIO Pin")
[{'Uses GPIO Pin': [3, 5, 7, 12, 35, 38, 40],
  'name': 'HiFiBerry Amp2',
  'url': 'https://wiki.auto-pi-lot.com/index.php/HiFiBerry_Amp2'}]
```

which will serve as the means of submitting plugins and doing some stuff that is truly messed up how cool it is... more soon ;)

* deduplicate utils

formerly had core/utils and a utils module, just have the module now.

* draft simpler registry :)

* moving common utility functions out of __init__

* task and hardware aliases

* proper sorting

* got excited and made a wiki API access module in this branch by accident whoops

* want to get one good build off!

* want to get one good build off!

* tests for registry module

* whoops reverting stuff that was broken at the time of adding it lmao jonny watch the results of the tests jesus christ

* basic test of a plugin

* implementing get throughout rest of library

removing imports and references to hardware and task objects, and finally killed the godforsaken Task List once and for all.
also adding other assorted improvements and bugfixes from the registries branch

* just for shits lets see if other versions work

* fix path traversal through modules whos... (continued)

2386 of 9191 relevant lines covered (25.96%)

0.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 531.1 (DISPLAY=":99.0" QT_DEBUG_PLUGINS=1) 27 Jul 2021 12:48AM UTC 0
26.13
Travis Job 531.1
2 531.2 (DISPLAY=":99.0" QT_DEBUG_PLUGINS=1) 27 Jul 2021 12:51AM UTC 0
26.74
Travis Job 531.2
3 531.3 (DISPLAY=":99.0" QT_DEBUG_PLUGINS=1) 27 Jul 2021 12:51AM UTC 0
26.74
Travis Job 531.3
Source Files on build 531
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #531
  • 13c4c567 on github
  • Prev Build on dev (#519)
  • Next Build on dev (#532)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc