Giter VIP home page Giter VIP logo

pandoradep's Introduction

pandoradep PyPI version

pandoradep is a python tool for easy deployment of PANDORA packages

Install

Via PyPI:

sudo pip install pandoradep

Or clone the code and install it, running:

python setup.py install

Usage

Start working on a repo with

pandoradep get pandora_vision

This will download the pandora_vision repo with all its dependencies.

Fetching dependencies in a workspace

pandoradep fetch

This will scan and fetch all the dependencies from the current directory.

You can also use pandoradep to create rosinstall files.

Init wstool in your workspace:

wstool init .

Scan and write the dependencies to a rosinstall file:

pandoradep scan repo_root_directory > some_file.rosinstall

Install the dependencies, by running:

wstool merge some_file.rosinstall
wstool update

You can find more info about wstool and rosinstall files here.

pandoradep's People

Contributors

czalidis avatar mujx avatar

Watchers

Miltos avatar James Cloos avatar Andreas Symeonidis avatar Triantafyllos Afouras avatar  avatar Christos Tsirigotis avatar Konstantinos Panayiotou avatar Manos Tsardoulias avatar Dimitris Geromichalos avatar Giannis Lykartsis avatar Spyridon Papatzelos avatar  avatar George Kouros avatar Kostas Peppas avatar Eirini Chatzieleftheriou avatar Eleni Nisioti avatar

pandoradep's Issues

Proper use of --force argument

When trying to run pandoradep on pandora_visualization metapackage (branch: geotiff), I get an error:

Package conflict in pandora_geotiff_plugins
Info: 
{'repo': 'pandora_data_fusion', 'version': None, 'name': 'pandora_data_fusion_msgs'}
{'repo': 'pandora_data_fusion', 'version': 'geotiff_interfaces', 'name': 'pandora_data_fusion_msgs'}

That error was initially caught on an Jenkins job and then reproduced locally.

IMO a version different that None should always override a None version without the need of --force argument. Otherwise, we are going to use the --force argument constantly, which has no point.

Return proper exit code when command fails

When a command fails, pandoradep should return an exit code different than 0. For example when running pandoradep update and for some reason the command fails we should return 1, to mark the Jenkins build as failure.

The problem, in that particular case, is that in utils.py:116 the exception gets caught but not raised again. That might affect other commands, like when running pandoradep scan with a non existent directory as argument.

Originally this issue caught on an import Jenkins job. That job should have been marked as a failure.

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.