Comments (5)
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.
@ciriarte we wouldnt expect to modify anything other dependencies -- even if they were modified on disk, intentionally or unintentionally -- right?
from vendir.
@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.
Currently
vendir sync
only syncs an entire vendir.yml file.
You can usevendir 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:
- It does sync local dirs if used with
dir/sub-dir[=local-dir]
I'm not really interested in this workflow at the moment 🚫 - 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.
included in https://github.com/k14s/vendir/releases/tag/v0.10.0
from vendir.
Related Issues (20)
- vendir does not respect existing environment variables HOT 17
- Empower vendir to make an informed decision on what the overall semver of a directory is HOT 14
- :bird: Please Tweet about v0.28.1 :pray: HOT 2
- Support tilde in semver constraints HOT 5
- Function tryTarWithGzip (carvel-vendir/pkg/vendir/fetch/archive.go) loses link/symlink/mode/UID/GID/etc. in extracting .tar and .tar.gz files HOT 2
- Support s3:// protocol HOT 3
- Publish `v0.30.0` through the Carvel Homebrew tap HOT 2
- :bird: Please tweet about v0.31.0 release :pray: HOT 3
- clearer error message if path for githubrelease archive does not exist
- `vendir` should retain directory permissions HOT 14
- Vendir is failing to sync a dir if the previous sync has `disableUnpack: true` HOT 1
- Project contains AGPL code, which sets off license scanners HOT 4
- Vendir fails with a misterious error HOT 7
- Authenticate to git provider using single sigin-on HOT 3
- Error parsing empty yaml documents HOT 1
- Support for unpacking .xz archives HOT 3
- helm chart vendoring should also allow for vendoring dependencies HOT 1
- vendir doesn't load correct keychains when provided with the environment variables
- support for Gitlab Releases as source
- Sync fails when providing the same secret more than once
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vendir.