mirror of
https://github.com/containers/skopeo.git
synced 2025-07-18 08:41:41 +00:00
README.md: add dependencies management tips
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
fb61d0c98f
commit
6ec338aa30
22
README.md
22
README.md
@ -146,6 +146,28 @@ NOT TODO
|
|||||||
-
|
-
|
||||||
- provide a _format_ flag - just use the awesome [jq](https://stedolan.github.io/jq/)
|
- provide a _format_ flag - just use the awesome [jq](https://stedolan.github.io/jq/)
|
||||||
|
|
||||||
|
CONTRIBUTING
|
||||||
|
-
|
||||||
|
|
||||||
|
### Dependencies management
|
||||||
|
|
||||||
|
`skopeo` uses a custom bash script for dependencies management. This script is located at `hack/vendor.sh`.
|
||||||
|
|
||||||
|
In order to add a new dependency to this project:
|
||||||
|
|
||||||
|
- add a new line to `hack/vendor.sh` (e.g. `clone git github.com/pkg/errors master`)
|
||||||
|
- run `hack/vendor.sh`
|
||||||
|
|
||||||
|
In order to update an existing dependency (or more):
|
||||||
|
|
||||||
|
- update the relevant dependency line in `hack/vendor.sh`
|
||||||
|
- run `hack/vendor.sh`
|
||||||
|
|
||||||
|
In order to test out new PRs from [containers/image](https://github.com/containers/image) to not break `skopeo`:
|
||||||
|
|
||||||
|
- update `hack/vendor.sh`. Find out the `containers/image` dependency; update it to vendor from your own branch and your own repository fork (e.g. `clone git github.com/containers/image my-branch https://github.com/runcom/image`)
|
||||||
|
- run `hack/vendor.sh`
|
||||||
|
|
||||||
License
|
License
|
||||||
-
|
-
|
||||||
skopeo is licensed under the Apache License, Version 2.0. See
|
skopeo is licensed under the Apache License, Version 2.0. See
|
||||||
|
Loading…
Reference in New Issue
Block a user