File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ Patchable uses a two-level configuration system:
38
38
39
39
The product-level config contains:
40
40
- ` upstream ` - the URL of the upstream repository (such as ` https://github.com/apache/druid.git ` )
41
- - ` mirror ` - optional URL of a mirror repository (such as ` https://github.com/stackabletech/druid.git ` )
41
+ - ` default_mirror ` - optional: default URL of a mirror repository (such as ` https://github.com/stackabletech/druid.git ` )
42
42
43
43
The version-level config contains:
44
44
- ` base ` - the commit hash of the upstream base commit
45
+ - ` mirror ` - optional: URL of the mirror repository for this version, if mirroring is enabled
45
46
46
47
### Template
47
48
@@ -52,11 +53,14 @@ upstream = "https://github.com/apache/druid.git"
52
53
mirror = " https://github.com/stackabletech/druid.git"
53
54
```
54
55
55
- If you just want to add a new version, initiatilize the version-level config with patchable:
56
- ```
57
- cargo patchable init druid 28.0.0 --base=druid-28.0.0
56
+ If you just want to add a new version, initialize the version-level config with patchable:
57
+ ``` sh
58
+ cargo patchable init druid 28.0.0 --base=druid-28.0.0 --mirror
58
59
```
59
60
61
+ This will initialize the version-level config with the base commit hash and the default mirror URL from the product-level config.
62
+ You can optionally provide the ` --ssh ` flag to use SSH instead of HTTPS for Git operations.
63
+
60
64
## Glossary
61
65
62
66
- Images repo/directory - The checkout of stackabletech/docker-images
You can’t perform that action at this time.
0 commit comments