[Rock-dev] [Orocos-Dev] Proposal for an update to the autoproj configuration structure

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Sep 24 09:57:48 CEST 2012


Hey Alex

Could you put your alternate proposal on the wiki page ?

Sylvain

On 09/22/2012 01:34 PM, Alexander Duda wrote:
> On 09/22/2012 09:10 AM, Sylvain Joyeux wrote:
>> Please comment on the MLs
>>
>>     http://rock.opendfki.de/wiki/WikiStart/OngoingWork/AutoprojConfigStructure
>>
>> Sylvain
> autoproj/remotes:
> The remote package sets should not be touched by normal users therefore
> I would not show them in the autoproj folder. Another reason against
> them is that if you are changing into the remotes folder you are also
> silently changing the current repository.
> A possible solution would be for me to change remotes into .remotes to
> have a convenient way to access them for the maintainer of the remote
> package sets but to hide them for new uses who can get easily confused.
>
> File structure:
> Why do you stick to the YAML format? The error handling is just a pain
> in the ass especially after they changed from syck to psych. For me YAML
> is fine for everything which is generated by autoproj like the proposed
> options.yml but I would rather go for a nice DSL than plain YAML
> configuration files as in both cases I have to look up the keywords
> anyway but the first one gives you the ability to generate nice error
> messages. Furthermore you could put everything into the proposed
> config.rb. But I guess this is just a matter of taste.
>
> Possible example for the proposed config.rb
>
> #package set section
> source :type => "gitorious", :url => "rock-toolchain/package_set"
> source :type => "spacegit", :url => "csurvey/package_set"
> imoby = source :type => "git", :name => "imoby",  :url =>
> "git://gitorious.com/rock.drivers/autoproj.git", :branch => "next"
>
> #just add a private package
> source :type => "git", name => "my_widget" :url => "git://.../widget.git"
>
> #layout section
> install "rock-toolchain/package_set", "csurvey/package_set" => "sub folder"
> install imoby
> install "my_widget"
> install source(:type => "git", name => "my_widget2" :url =>
> "git://.../widget2.git")
>
> exclude "gui", "ocl"
> move imoby => "sub folder"
>
> init do
> end
> autobuild do
> end
> before_build do
> end
>
> Alex
>
>
>


-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater 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