New to Kubepack? Please start here.
Scenario-2
This docs trying to explain the behavior of Pack
This section explain test-2.
If you look into this test’s dependency-list.yaml file.
$ cat dependency-list.yaml
items:
- package: github.com/kubepack/kube-a
  branch: test-2
You’ll see it depends on branch test-2 of repository kube-a.
You can see the whole dependencies in below image.

Explanation
- kube-a depends on branch - test-2of kube-b repository.- kube-acontains the patch of- kube-b’s- nginx-deployment.yamlfile.
- kube-b depends on branch - test-2of kube-c repository.- kube-bcontains the patch of- kube-c’s- nginx-deployment.yamlfile.
When run $ pack dep -f . in test-2, following things happen.
- Get all the dependencies, reading dependency-list.yamlfile.
- kube-b’s- nginx-deployment.yamlfile is combination of patch (exists in- kube-arepository) and original file (exists in- kube-brepository).
- kube-c’s- nginx-deployment.yamlfile is combination of patch (exists in- kube-brepository) and original file (exists in- kube-crepository).