Add a script to update the forks of AOSP sources#1818
Open
adelva1984 wants to merge 3 commits intogoogle:mainfrom
Open
Add a script to update the forks of AOSP sources#1818adelva1984 wants to merge 3 commits intogoogle:mainfrom
adelva1984 wants to merge 3 commits intogoogle:mainfrom
Conversation
248476d to
cd2dafe
Compare
Databean
approved these changes
Nov 20, 2025
Comment on lines
+55
to
+66
| echo "WARNING: This script MUST be run against an AOSP / publicly released Android tree." | ||
| echo "WARNING: Do not run it against an internal Android tree under any circumstance!" | ||
| echo | ||
| while true; do | ||
| read -p "Do you understand the above instructions? " yn | ||
| case $yn in | ||
| [Yy]* ) break;; | ||
| [Nn]* ) exit;; | ||
| * ) echo "Please answer yes or no.";; | ||
| esac | ||
| done | ||
| echo |
Member
There was a problem hiding this comment.
I'm afraid of getting used to auto-accepting this and accidentally using the wrong one. Is it possible to use a heuristic as a fallback check here? Two options I can think of:
- Checking
git remote -vin one of the source directories has nogoogleplex-androidmember. - Validating that a known internal-only source directory is not present.
vendor/google_devices/cuttlefish_commonmaybe?
Collaborator
Author
There was a problem hiding this comment.
Sure, I will work on this.
cd2dafe to
3bf11ce
Compare
For various code forked from AOSP, some changes have been made. Track them in numbered patch stacks.
Various AOSP sources are fully copied and forked, and some are also patched. Make updating these files easier.
3bf11ce to
101337f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.