[Rock-dev] moving scripts to base/scripts
Alexander Duda
Alexander.Duda at dfki.de
Mon Mar 19 16:01:38 CET 2012
On Mon, 2012-03-19 at 15:45 +0100, Sylvain Joyeux wrote:
> 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.
For me bundles are scripts which are tightly bundled to specific
tasks/services (need a certain infrastructure to be useful).
I am not sure if it is worth to add the extra complexity for ruby libs
like the gps.rb. Because in this case every ruby lib should be a bundle
(orocos.rb, vizkit) or where is the line which is separating them?
> 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).
I agree this is very useful if there is more than just a lib like extra
display widgets, conversions scripts, etc.
Alex
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-456620
Fax: +49 (0)421 178-454150
E-Mail: alexander.duda 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