aosp-merger: s/LineageOS//
No need to brand simple console logs Change-Id: Id2224ecc4b414919212328b2b25f0a7e3ccd4c6e
This commit is contained in:
committed by
Chirayu Desai
parent
041e617cee
commit
559a794b49
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
4. Every project in your tree should now be one of:
|
4. Every project in your tree should now be one of:
|
||||||
* \<newaosptag> if the project was tracking AOSP
|
* \<newaosptag> if the project was tracking AOSP
|
||||||
* a staging branch if the project was a LineageOS 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
|
* the default repo lineage branch for `.repo/manifests/snippets.xml` projects
|
||||||
5. Restore your local branches and merge in the staging branch:
|
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 build environment (needed for aospremote)
|
||||||
source "${TOP}/build/envsetup.sh"
|
source "${TOP}/build/envsetup.sh"
|
||||||
|
|
||||||
# Build list of LineageOS forked repos
|
# Build list of forked repos
|
||||||
PROJECTPATHS=$(grep "name=\"LineageOS/" "${MANIFEST}" | sed -n 's/.*path="\([^"]\+\)".*/\1/p')
|
PROJECTPATHS=$(grep "name=\"LineageOS/" "${MANIFEST}" | sed -n 's/.*path="\([^"]\+\)".*/\1/p')
|
||||||
|
|
||||||
echo "#### Old tag = ${OLDTAG} Branch = ${BRANCH} Staging branch = ${STAGINGBRANCH} ####"
|
echo "#### Old tag = ${OLDTAG} Branch = ${BRANCH} Staging branch = ${STAGINGBRANCH} ####"
|
||||||
|
|
||||||
# Make sure manifest and forked repos are in a consistent state
|
# 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
|
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||||
cd "${TOP}/${PROJECTPATH}"
|
cd "${TOP}/${PROJECTPATH}"
|
||||||
aospremote | grep -v "Remote 'aosp' created"
|
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} ####"
|
echo "#### Branch = ${BRANCH} Staging branch = ${STAGINGBRANCH} ####"
|
||||||
|
|
||||||
# Make sure manifest and forked repos are in a consistent state
|
# 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
|
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||||
cd "${TOP}/${PROJECTPATH}"
|
cd "${TOP}/${PROJECTPATH}"
|
||||||
if [[ -n "$(git status --porcelain)" ]]; then
|
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} ####"
|
echo "#### Branch = ${BRANCH} Squash branch = ${SQUASHBRANCH} ####"
|
||||||
|
|
||||||
# Make sure manifest and forked repos are in a consistent state
|
# 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
|
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||||
cd "${TOP}/${PROJECTPATH}"
|
cd "${TOP}/${PROJECTPATH}"
|
||||||
if [[ -n "$(git status --porcelain)" ]]; then
|
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} ####"
|
echo "#### Squash branch = ${SQUASHBRANCH} ####"
|
||||||
|
|
||||||
# Make sure manifest and forked repos are in a consistent state
|
# 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
|
for PROJECTPATH in ${PROJECTPATHS} .repo/manifests; do
|
||||||
cd "${TOP}/${PROJECTPATH}"
|
cd "${TOP}/${PROJECTPATH}"
|
||||||
if [[ -n "$(git status --porcelain)" ]]; then
|
if [[ -n "$(git status --porcelain)" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user