File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -37,23 +37,27 @@ Patchable uses a two-level configuration system:
37372 . A version-level config file at ` docker-images/<PRODUCT>/stackable/patches/<VERSION>/patchable.toml `
3838
3939The product-level config contains:
40+
4041- ` upstream ` - the URL of the upstream repository (such as ` https://github.com/apache/druid.git ` )
4142- ` default_mirror ` - optional: default URL of a mirror repository (such as ` https://github.com/stackabletech/druid.git ` )
4243
4344The version-level config contains:
45+
4446- ` base ` - the commit hash of the upstream base commit
4547- ` mirror ` - optional: URL of the mirror repository for this version, if mirroring is enabled
4648
4749### Template
4850
4951If you're adding a completely new product, you need to create the product-level config once:
52+
5053``` toml
5154# docker-images/druid/stackable/patches/patchable.toml
5255upstream = " https://github.com/apache/druid.git"
5356mirror = " https://github.com/stackabletech/druid.git"
5457```
5558
5659If you just want to add a new version, initialize the version-level config with patchable:
60+
5761``` sh
5862cargo patchable init druid 28.0.0 --base=druid-28.0.0 --mirror
5963```
You can’t perform that action at this time.
0 commit comments