[Rock-dev] moving scripts to base/scripts
Sylvain Joyeux
sylvain.joyeux at dfki.de
Mon Mar 19 15:45:23 CET 2012
On 03/19/2012 03:34 PM, Alexander Duda wrote:
> As the manifest of base/scripts states it is the place for "scripts that
> are generally useful in a Rock installation"
>
> Therefore I would like to move scripts which are pretty valuable but
> scattered into different packages into this package.
>
> Example:
> asguard/orogen/.../gps.rb
>
> Any thoughts?
-1
In my mind, it is what bundles are meant for. There was two deployment
ideas:
1) either we store common scripts such as the gps one you are
referring to in $ROCK_ROOT/bundles/rock/scripts, with a meaningful
folder structure OR
2) we make $PREFIX/share/rock a bundle that is available to the
complete system, and make the packages install their scripts there
(also in a meaningful folder structure ;-))
Then,
rock-run --scripts
Would discover which scripts are available (needs to be created) and
rock-run gps/display
Would run the gps/display.rb script stored in scripts/gps/ in an
available bundle (already does that).
--
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list