Skip to content

Commit 158ae29

Browse files
committed
Add updateUpstream.sh script to help with updating upstream (Waterfall).
1 parent b9b44ca commit 158ae29

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

hyperfall

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ case "$1" in
1919
"w" | "wiggle")
2020
scripts/wigglePatch.py
2121
;;
22+
"u" | "updateUpstream")
23+
scripts/updateUpstream.sh
24+
;;
2225
*)
2326
echo "HyperFall build tool command. This provides a variety of commands to control the Travertine"
2427
echo "build. View below for details of the available commands."
@@ -31,5 +34,6 @@ case "$1" in
3134
echo " | The bootstrap artifact can be found in Travertine-Proxy/bootstrap/target/"
3235
echo " * e, edit | Runs git rebase -i for Waterfall, allowing patches to be easily modified"
3336
echo " * w, wiggle | Helps to apply patches that fail to using default Git."
37+
echo " * u, updateUpstream| Update Upstream (Waterfall)"
3438
;;
3539
esac

scripts/updateUpstream.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
echo Merging upstream...
4+
./hyperfall m
5+
echo Merged upstream!
6+
read -rsp $'Press enter to continue...\n'
7+
echo Applying all the patches to Waterfall...
8+
./hyperfall p
9+
echo Applied all the patches to Waterfall!
10+
echo Check to see if there is any conflicts and fix them if there are by fixing it in HyperFall-Proxy and running git am --continue.
11+
read -rsp $'Press enter to continue...\n'
12+
echo Rebuilding the patches...
13+
./hyperfall rb
14+
echo Rebuilt the patches!
15+
read -rsp $'Press enter to continue...\n'

0 commit comments

Comments
 (0)