Giter Site home page Giter Site logo

artmello / leapp-repository Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oamg/leapp-repository

0.0 3.0 0.0 442 KB

Leapp-repositories containing actors using the Leapp framework

License: Apache License 2.0

Makefile 2.13% Shell 4.42% Python 93.45%

leapp-repository's Introduction

Before doing anything, please read Leapp framework documentation.


How to write actors

See the tutorial for creating the first actor.

How to write actor tests

Please read documentation about how to unit test actors.

How to install dependencies, run tests & execute actors

Installing actor dependencies

Each actor can now have its own Makefile with the install-deps target. This takes care of installing any dependencies of your actor. If your actor has any dependencies, include them in the Makefile.

See the testing actor's example here.

To install dependencies for all actors, run:

$ make install-deps

Running tests locally

To run all tests from leapp-actors, run the following code from the leapp-actors directory:

$ make test

It is also possible to generate a report in a JUnit XML format:

$ make test REPORT=report.xml

Registering Leapp repositories and executing actors

When you want to execute actor with

$ snactor run my_actor

or run discover feature

$ snactor discover

it is good idea to register everything in repos to avoid possible errors with parsing repository metadata (NOTE: these errors can be sometimes cryptic, but may look like: missing attribute name in .leapp/info, etc.)

$ make register

where register target will run snactor repo find --path repos (you can verify if your repositories are registered in ~/.config/leapp/repos.json).

Troubleshooting

Where can I report an issue or RFE related to the framework or other actors?

For your convenience you can pack all logs with this command:

# tar -czf leapp-logs.tgz /var/log/leapp /var/lib/leapp/leapp.db

Then you may attach only the leapp-logs.tgz file.

Where can I seek help?

We’ll gladly answer your questions and lead you to through any troubles with the actor development.

You can reach us at IRC: #leapp on freenode.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.