Git Product home page Git Product logo

Comments (5)

cari-lynn avatar cari-lynn commented on August 22, 2024

Hey @ciriarte!
Let us know if this captures your intent.

Currently vendir sync only syncs an entire vendir.yml file.
You can use vendir sync --directory to override contents of particular directories by pointing them to local directories. However, this does not update the lock file.

To support syncing only a subset of the dependencies in the vendir.yml, vendir sync would provide the ability to target the given dependencies, and update the vendir.lock.yml with the new metadata.

from vendir.

cppforlife avatar cppforlife commented on August 22, 2024

@ciriarte we wouldnt expect to modify anything other dependencies -- even if they were modified on disk, intentionally or unintentionally -- right?

from vendir.

ciriarte avatar ciriarte commented on August 22, 2024

@ciriarte we wouldnt expect to modify anything other dependencies -- even if they were modified on disk, intentionally or unintentionally -- right?

My expectation is that vendir will only update the directory it is managing and I've instructed in the vendir sync -d some_dir call.

from vendir.

ciriarte avatar ciriarte commented on August 22, 2024

Currently vendir sync only syncs an entire vendir.yml file.
You can use vendir sync --directory to override contents of particular directories by pointing them to local directories. However, this does not update the lock file.

@pivotal-dean

My understanding is that vendir sync -d has a couple of options per the help command:

  1. It does sync local dirs if used with dir/sub-dir[=local-dir] I'm not really interested in this workflow at the moment 🚫
  2. It synchronizes with a remote if the optional [=local-dir] is omitted. This does something close to my desired outcome

If my understanding of 2 is correct, then you captured my wishes perfectly in the following sentence:

To support syncing only a subset of the dependencies in the vendir.yml, vendir sync would provide the ability to target the given dependencies, and update the vendir.lock.yml with the new metadata.

from vendir.

cppforlife avatar cppforlife commented on August 22, 2024

included in https://github.com/k14s/vendir/releases/tag/v0.10.0

from vendir.

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.