Giter VIP home page Giter VIP logo

Comments (5)

dirk-thomas avatar dirk-thomas commented on August 22, 2024

For cloning a repo the first time this should be easy to implement.

Currently it requires a version since it also works when you already have a working copy cloned. Then vcstool needs to check if the version checked out is the same as requested in the yaml file and if not switch to the desired version.

It looks like with some more logic for the second case the "default" remote HEAD can be determined to make the version fully optional. I will look into creating a patch for this in the near future.

from vcstool.

dirk-thomas avatar dirk-thomas commented on August 22, 2024

I have created pull request #21 to implement the feature you requested. Can you please give it a try and confirm that it works for your use case?

from vcstool.

dirk-thomas avatar dirk-thomas commented on August 22, 2024

Closed by #21.

from vcstool.

 avatar commented on August 22, 2024

Thank you for your work on this. I look forward to testing this version when it makes its way into apt.

from vcstool.

dirk-thomas avatar dirk-thomas commented on August 22, 2024

The Debian package is already available: http://packages.ros.org/ros/ubuntu/pool/main/p/python-vcstool/

from vcstool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.