<br><br><div class="gmail_quote">On 21 October 2011 21:11, Thibault Kruse <span dir="ltr"><<a href="mailto:kruset@in.tum.de">kruset@in.tum.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi Daniel,<br>
    <br>
    yes, current yaml ignores uri for elements of type "other".<br>
    <br>
    You can call "rosinstall . <a href="http://rnd.yujinrobot.com/ycs.rosinstall" target="_blank">http://rnd.yujinrobot.com/ycs.rosinstall</a>".
    By calling this again you also get updates from <a href="http://rnd.yujinrobot.com/ycs.rosinstall" target="_blank">http://rnd.yujinrobot.com/ycs.rosinstall</a>
    (only adding new locations or changing urls/versions, but not
    removing anything).<br>
    <br>
    If <a href="http://rnd.yujinrobot.com/ycs.rosinstall" target="_blank">ycs.rosinstall</a>
    has elements with localnames such as <br>
    <br>
    - git: <br>
         local-name: ycs/foo<br>
         uri: <a href="https://win-ros-pkg.googlecode.com/svn/stacks/win_ros/trunk" target="_blank">https://somewhere.com/foo.git</a><br>
    <br>
    I think you can have most of what you want already.<br>
    <br>
    You can then maintain several such rosinstall files and keep merging
    them into your environment (by calling rosinstall . <a href="http://rnd.yujinrobot.com/ycs.rosinstall" target="_blank">http://rnd.yujinrobot.com/ycs.rosinstall</a>",
    which can be in a script)<br>
    <br>
    That's maybe not exactly what you want, but close.<br></div></blockquote><div><br></div><div>It seems there are two uses for .rosinstall files - 1) as a snippet that is not useful standalone 2) as representative of a complete, standalone ros buildable source tree.</div>
<div><br></div><div>2) is convenient. I did think of using scripts to do as you say, but it's still awkward. You'd be using custom scripts + rosinstalls - two tools where one would be simpler and less to remember.  In addition, if you wanted the flexibility of letting them target the script to a location of their choice, or running it with a nobuild option (or any of rosinstall's usual arguments), you then have to repeat all the rosinstall logic inside your scripts.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000">
    Else, maybe describe your workflow also.<br></div></blockquote><div> </div><div>Essentially we setup a .rosinstall for each robot, or environment. Being able to include other .rosinstalls would let us track moving changes in dependant .rosinstalls (e.g. the .rosinstall generated by ros' variants) and remove alot of copy/pasting commonly used stacks now that our rosinstall scripts are getting largish.</div>
<div><br></div><div>Daniel.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000">
    cheers,<br>
      Thibault<div><div></div><div class="h5"><br>
    <br>
    <br>
    On 10/21/2011 10:46 AM, Daniel Stonier wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">
      <div><br>
      </div>
      Hi all,
      <div><br clear="all">
        <div>Pretty sure this can't be done with the current yaml so I
          guess it falls in the area of a feature request. </div>
        <div><br>
        </div>
        <div>e.g. envisioning a rosinstall file that would look
          something like:</div>
        <div><br>
        </div>
        <div>
          <div>- other: </div>
          <div>    local-name: /opt/ros/electric/ros</div>
          <div><br>
          </div>
          <div>- other: </div>
          <div>    local-name: ycs</div>
          <div>    uri: <a href="http://rnd.yujinrobot.com/ycs.rosinstall" target="_blank">http://rnd.yujinrobot.com/ycs.rosinstall</a></div>
          <div><br>
          </div>
          <div>- svn:</div>
          <div>    local-name: win_ros</div>
          <div>    uri: <a href="https://win-ros-pkg.googlecode.com/svn/stacks/win_ros/trunk" target="_blank">https://win-ros-pkg.googlecode.com/svn/stacks/win_ros/trunk</a></div>
          <div>
            <br>
          </div>
          <div>- git:</div>
          <div>    uri: <a href="https://github.com/stonier/qt_ros.git" target="_blank">https://github.com/stonier/qt_ros.git</a></div>
          <div>    local-name: qt_ros</div>
          <div>    version: master</div>
          <div><br>
          </div>
          <div>where ycs.rosinstall conveniently collects and maintains
            its own working set. This would be fairly convenient to our
            workflow, would it be a useful addition for others in
            general?</div>
        </div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Daniel Stonier.</div>
        <div><br>
        </div>
      </div>
      </div></div><pre><fieldset></fieldset>
</pre></blockquote></div></blockquote></div><br>