File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,13 @@ Patchable uses a two-level configuration system:
36
36
1 . A product-level config file at ` docker-images/<PRODUCT>/stackable/patches/patchable.toml `
37
37
2 . A version-level config file at ` docker-images/<PRODUCT>/stackable/patches/<VERSION>/patchable.toml `
38
38
39
- The product-level config typically contains:
39
+ The product-level config contains:
40
40
- ` upstream ` - the URL of the upstream repository (such as ` https://github.com/apache/druid.git ` )
41
41
- ` mirror ` - optional URL of a mirror repository (such as ` https://github.com/stackabletech/druid.git ` )
42
42
43
- The version-level config typically contains:
43
+ The version-level config contains:
44
44
- ` base ` - the commit hash of the upstream base commit
45
45
46
- Fields in the version-level config override those in the product-level config if both are specified.
47
-
48
46
### Template
49
47
50
48
If you're adding a completely new product, you need to create the product-level config once:
@@ -54,13 +52,11 @@ upstream = "https://github.com/apache/druid.git"
54
52
mirror = " https://github.com/stackabletech/druid.git"
55
53
```
56
54
57
- If you just want to add a new version, simply initiatilize it with patchable:
55
+ If you just want to add a new version, initiatilize the version-level config with patchable:
58
56
```
59
57
cargo patchable init druid 28.0.0 --base=druid-28.0.0 --mirror
60
58
```
61
59
62
- Using the ` --mirror ` flag will push the base ref to the mirror URL specified in the product-level config.
63
-
64
60
## Glossary
65
61
66
62
- Images repo/directory - The checkout of stackabletech/docker-images
You can’t perform that action at this time.
0 commit comments