aboutsummaryrefslogtreecommitdiffstats
path: root/git_updater.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove remote if it is not consistent with METADATAHaibo Huang2020-05-291-13/+15
| | | | Change-Id: I3166b87445dfdd5f3966086e32f71e7f6e69e730
* Refactor updater for more type annotationHaibo Huang2020-05-291-69/+28
| | | | Change-Id: I3ab3463c6f1fd1cdc4df099e8dff21685cbc722b
* [Updater] Merge by SHA instead of branchHaibo Huang2019-02-021-27/+2
| | | | | | | | aosp/upstream-master may be old. In that case, the version name written to METADATA file will be wrong. Test: local run Change-Id: Icd87299e4d3f656c66f9e99daa6d11d1888eea82
* [Updater] Optionally commit and upload changeHaibo Huang2019-01-291-1/+2
| | | | | | Test: ./updater.sh update --force --branch_and_commit --push_change googletest Test: aosp/889542 Change-Id: I1025e2ded65000ce34e2f02f84052e7871e425d3
* [Updater] Send email when a new version is foundHaibo Huang2019-01-281-7/+16
| | | | | | | | | | | Bug: 109748616 Test: ./updater.sh check kotlinc googletest --json_output=/tmp/res.json Test: out/soong/host/linux-x86/bin/external_updater_notifier \ --result_file=/tmp/res.json \ --history ~/updater/history \ --recipients=hhb@google.com Change-Id: I27a4c1c2604d38106a08ce3eee1bcd03fdce80d7
* [Updater] Automatically run `git merge`Haibo Huang2019-01-181-7/+1
| | | | | Test: updater.sh update xz-java Change-Id: I3924b5651f2fac3c5d7493964b570f2f39bc4777
* [Updater] Support git tagHaibo Huang2018-09-011-23/+43
| | | | | | | | | If the upstream is GIT and version is not a hash, updater will try to list upstream tags to find a newer version. And suggest to merge from that tag. Change-Id: I34651815c761c78fd0485df0a84adc086a810e9e Test: Change googletest/METADATA to follow upstream releases. And run updater.
* Support GIT upstreamandroid-p-preview-5Haibo Huang2018-06-291-0/+118
Add the support to check how far a project is behind upstream git. Still need to manually run git merge. But this tool can help update METADATA. :) Test: ./updater.sh update perf_data_converter Change-Id: Ic46a0eb723ae22f0fc7d61a67a14299761b564a4