mirror of https://github.com/CalyxOS/scripts
aosp-merger: s/CalyxOS//
No need to brand simple console logs Change-Id: Id2224ecc4b414919212328b2b25f0a7e3ccd4c6e
This commit is contained in:
parent
344ff1254f
commit
d830353741
|
@ -15,7 +15,7 @@
|
|||
|
||||
4. Every project in your tree should now be one of:
|
||||
* \<newaosptag> if the project was tracking AOSP
|
||||
* a staging branch if the project was a CalyxOS fork from AOSP (check `merged_repos.txt` for status and whether there are conflicts to resolve)
|
||||
* a staging branch if the project was a fork from AOSP (check `merged_repos.txt` for status and whether there are conflicts to resolve)
|
||||
* the default repo lineage branch for `.repo/manifests/snippets.xml` projects
|
||||
5. Restore your local branches and merge in the staging branch:
|
||||
|
||||
|
|
|
@ -59,13 +59,13 @@ STAGINGBRANCH="staging/${BRANCHSUFFIX}"
|
|||
# Source build environment (needed for aospremote)
|
||||
source "${TOP}/build/envsetup.sh"
|
||||
|
||||
# Build list of CalyxOS forked repos
|
||||
# Build list of forked repos
|
||||
PROJECTPATHS=$(grep "name=\"CalyxOS/" "${MANIFEST}" | sed -n 's/.*path="\([^"]\+\)".*/\1/p')
|
||||
|
||||
echo "#### Old tag = ${OLDTAG} Branch = ${BRANCH} Staging branch = ${STAGINGBRANCH} ####"
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on CalyxOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
aospremote | grep -v "Remote 'aosp' created"
|
||||
|
|
|
@ -51,7 +51,7 @@ PROJECTPATHS=$(cat ${MERGEDREPOS} | grep -w merge | awk '{printf "%s\n", $2}')
|
|||
echo "#### Branch = ${BRANCH} Staging branch = ${STAGINGBRANCH} ####"
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on LineageOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
if [[ -n "$(git status --porcelain)" ]]; then
|
||||
|
|
|
@ -47,7 +47,7 @@ echo "#### Upstream branch = ${UPSTREAMBRANCH} ####"
|
|||
read -p "Press enter to continue."
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on CalyxOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
if [[ -n "$(git status --porcelain)" ]]; then
|
||||
|
|
|
@ -57,7 +57,7 @@ PROJECTPATHS=$(cat ${MERGEDREPOS} | grep -w merge | awk '{printf "%s\n", $2}')
|
|||
echo "#### Branch = ${BRANCH} Squash branch = ${SQUASHBRANCH} ####"
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on CalyxOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
if [[ -n "$(git status --porcelain)" ]]; then
|
||||
|
|
|
@ -44,7 +44,7 @@ PROJECTPATHS=$(cat ${MERGEDREPOS} | grep -w merge | awk '{printf "%s\n", $2}')
|
|||
echo "#### Staging branch = ${STAGINGBRANCH} ####"
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on CalyxOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
if [[ -n "$(git status --porcelain)" ]]; then
|
||||
|
|
|
@ -59,7 +59,7 @@ PROJECTPATHS=$(cat ${MERGEDREPOS} | grep -w merge | awk '{printf "%s\n", $2}')
|
|||
echo "#### Squash branch = ${SQUASHBRANCH} ####"
|
||||
|
||||
# Make sure manifest and forked repos are in a consistent state
|
||||
echo "#### Verifying there are no uncommitted changes on CalyxOS forked AOSP projects ####"
|
||||
echo "#### Verifying there are no uncommitted changes on forked AOSP projects ####"
|
||||
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||
cd "${TOP}/${PROJECTPATH}"
|
||||
if [[ -n "$(git status --porcelain)" ]]; then
|
||||
|
|
Loading…
Reference in New Issue