Skip to content

Commit ea871e7

Browse files
committed
Merge remote-tracking branch 'common-upstream/main' into common-automatic-update
2 parents 5cf6d54 + 7d184fb commit ea871e7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

common/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ main:
3434
## Start Here
3535
3636
This repository is never used as standalone. It is usually imported in each pattern as a subtree.
37-
In order to import the common/ the very first time you can use
38-
`https://github.com/validatedpatterns/multicloud-gitops/blob/main/common/scripts/make_common_subtree.sh`
37+
In order to import the common subtree the very first time you can use the script
38+
[make_common_subtree.sh](scripts/make-common-subtree.sh).
3939
4040
In order to update your common subtree inside your pattern repository you can either use
4141
`https://github.com/validatedpatterns/utilities/blob/main/scripts/update-common-everywhere.sh` or
42-
do it manually by doing the following:
42+
do it manually with the following commands:
4343

4444
```sh
45-
git remote add -f upstream-common https://github.com/validatedpatterns/common.git
46-
git merge -s subtree -Xtheirs -Xsubtree=common upstream-common/main
45+
git remote add -f common-upstream https://github.com/validatedpatterns/common.git
46+
git merge -s subtree -Xtheirs -Xsubtree=common common-upstream/main
4747
```
4848

4949
## Secrets

common/scripts/make_common_subtree.sh common/scripts/make-common-subtree.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ "$1" = "-h" ]; then
77
echo "$0 <subtree_repo> <subtree_branch> <subtree_remote_name>"
88
echo
99
echo "Run without arguments, the script would run as if these arguments had been passed:"
10-
echo "$0 https://github.com/hybrid-cloud-patterns/common.git main common-subtree"
10+
echo "$0 https://github.com/validatedpatterns/common.git main common-upstream"
1111
echo
1212
echo "Please ensure the git subtree command is available. On RHEL/Fedora, the git subtree command"
1313
echo "is in a separate package called git-subtree"
@@ -41,7 +41,7 @@ fi
4141
if [ "$1" ]; then
4242
subtree_repo=$1
4343
else
44-
subtree_repo=https://github.com/hybrid-cloud-patterns/common.git
44+
subtree_repo=https://github.com/validatedpatterns/common.git
4545
fi
4646

4747
if [ "$2" ]; then
@@ -53,7 +53,7 @@ fi
5353
if [ "$3" ]; then
5454
subtree_remote=$3
5555
else
56-
subtree_remote=common-subtree
56+
subtree_remote=common-upstream
5757
fi
5858

5959
git diff --quiet || (echo "This script must be run on a clean working tree" && exit 1)

0 commit comments

Comments
 (0)