[Rock-dev] autoproj selects wrong branch
Christian Rauch
Christian.Rauch at dfki.de
Wed Aug 14 11:46:26 CEST 2013
If we do this for bundles/virgo autoproj requests that all dependencies
are also on next (e.g. orogen/virgo).
Is there a way to just use bundles/virgo on next (as this is specific to
roby and syskit on next) but to use master for our own packages?
Am 14.08.2013 10:19, schrieb Sylvain Joyeux:
> On 08/13/2013 02:28 PM, Raul Dominguez wrote:
>> we are bootstraping our software installation on the branch next but two
>> packages (data_processing/type_to_vector and our bundle) are taken from
>> the master branch of the repository instead of from next.
>>
>> We haven't set any override to do that, and these two packages have a
>> "next" branch.
>>
>> Does anyone knows why this could be happening? Should it be stated
>> somewhere (apart of in the bootstrap.sh) that we want the packages to be
>> from "next"?
> Packages need to be declared as part of the 'next' flavor with
>
> in_flavor 'master', 'next' do
> # Put package declaration here
> end
>
> *and* the source.yml file must say
>
> branch: $ROCK_FLAVOR
>
> for these packages in order to having autoproj pick the "flavored" branch.
>
> type_to_vector is in principle in next already, so that should be
> covered. Don't forget that you have to run aup --all to switch all
> branches properly after you change the flavor (not needed if you
> bootstrap, of course).
>
> A good way to debug this is to run
>
> autoproj show <package name>
>
> For instance,
>
> $ autoproj show data_processing/type_to_vector
> source package data_processing/type_to_vector
> imported from
> type: git
> url: git://gitorious.org/rock-data-processing/type_to_vector.git
> branch: master
> push_to: git at gitorious.org:/rock-data-processing/type_to_vector.git
> retry_count: 10
> first match: in rock
> branch: $ROCK_FLAVOR
> gitorious: rock-data-processing/$PACKAGE_BASENAME
> is not directly selected by the manifest
> reverse dependencies: bundles/virgo,
> data_processing/orogen/type_to_vector, virgo/orogen/averager,
> virgo/orogen/filter, virgo/orogen/predictor_statespace, virgo/orogen/virgo
> selected by way of
>
> virgo>virgo/orogen/virgo>virgo/orogen/predictor_statespace>data_processing/orogen/type_to_vector>data_processing/type_to_vector
> directly depends on: typelib, utilmm
>
> (So, you can see that the first and only match is using $ROCK_FLAVOR
> *and* the final branch is master since I am using master)
>
--
Christian Rauch
Space Robotics
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel: +49 (0)421 178 45-6619
Empfang: +49 (0)421 178 45-6611
Fax: +49 (0)421 178 45-4150
E-Mail: Christian.Rauch at dfki.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list