[Rock-dev] [rock] #322: Autoproj snapshot local path minor problem

rock noreply at opendfki.de
Tue Aug 20 15:58:45 CEST 2013


#322: Autoproj snapshot local path minor problem
------------------------+---------------------------------------------
 Reporter:  rdominguez  |      Owner:  rock-dev-mailing-list
     Type:  defect      |     Status:  new
 Priority:  minor       |  Milestone:
Component:  base        |   Keywords:  autoproj_snapshot overrides.yml
------------------------+---------------------------------------------
 Hello,

 I just made an autoproj snapshot and everything went well excepting that
 the generated overrides.yml had a problem with the local paths.

 After replacing the contents of the autoproj folder for the ones from a a
 snapshot I get the following error on aup:

 {{{
 Build failed
 invalid URL
 /home/rdominguez/Workspace_virgo/VirGo4_from_snapshot/autoproj/sisl-4.5.0.tar.gz
 (local files must be prefixed with file://): Autobuild::ConfigException
 }}}


 My overrides.yml contains for this instance the following line:
 {{{
 - external/sisl:
     url: $AUTOPROJ_SOURCE_DIR/sisl-4.5.0.tar.gz
 }}}

 To make autoproj update work I changed all local references by prefixing
 "file://" and appending "/archives" to the
 "$AUTOPROJ_SOURCE_DIR" variable.

 Like here
 {{{
 - external/sisl:
     url: file://$AUTOPROJ_SOURCE_DIR/archives/sisl-4.5.0.tar.gz
 }}}

 I would rather have changed the variable itself or declared a new one but
 I
 didn't find were to do it. Maybe somebody knows how to improve this.


 Greetings,
 Raúl

-- 
Ticket URL: <http://rock.opendfki.de/ticket/322>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list