Skip to content
Snippets Groups Projects
  1. Jan 28, 2019
    • Haibo Huang's avatar
      [Updater] Send email when a new version is found · 39aaab6a
      Haibo Huang authored
      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
      39aaab6a
  2. Oct 02, 2018
    • Haibo Huang's avatar
      [Updater] Support updating to head of github repo · 8845e1e9
      Haibo Huang authored
      If the version in METADATA is a commit (sha1), the tool will try to
      download the latest master from github, instead of latest release.
      
      Test: update METADATA of androidplot and try to update.
      Change-Id: Id12b797ca152f11d16c4d06c44e30758bec40f24
      8845e1e9
  3. Aug 06, 2018
    • Haibo Huang's avatar
      [Updater] Prefer url similar to previous one · 9dcade4c
      Haibo Huang authored
      This change computes edit distant between old url and each of new urls.
      And use the url most like previous one.
      
      Test: update any library
      Change-Id: I959a22168652c7543da2cdb29d36a1d061ade7e9
      9dcade4c
  4. Aug 03, 2018
    • Elliott Hughes's avatar
      Improve error handling. · 1c3a4f46
      Elliott Hughes authored
      Bail out as soon as something goes wrong. Previously if we failed early,
      we'd obliterate the existing version anyway.
      
      Don't remove the temporary directory on failure. Otherwise there's no
      way to debug a failure.
      
      Bug: N/A
      Test: updated external/curl
      Change-Id: I3bf055a8ec514c7b76683baee8e1540deb5a3e5d
      1c3a4f46
  5. Jun 29, 2018
    • Haibo Huang's avatar
      Support GIT upstream · 24950e79
      Haibo Huang authored
      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
      24950e79
  6. Jun 11, 2018
Loading