Api roll 4: 2014-10-20

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//663113002
149 files changed
tree: aa9653f7d29c463f47eb7bc1eda6942be57743d5
  1. discovery/
  2. generated/
  3. resources/
  4. .gitignore
  5. AUTHORS
  6. codereview.settings
  7. config.yaml
  8. LICENSE
  9. PATENTS
  10. pubspec.lock
  11. pubspec.yaml
  12. README.md
README.md

Google Cloud Platform

Repository for building the googleapis packages

Manual process

Here is the current workflow of generating new APIs

  • Maybe update ‘pubspec.yaml’ with new commit hash of the generator.

    $ vim pubspec.yaml

  • Run ‘pub upgrade’ in this directory:

    $ rm -rf .pub $ pub upgrade

  • Download & Generate APIs using the config.yaml configuration:

    $ pub run discovery_api_client_generator:generate run_config

  • Diff with previous apis and determine wheter to do minor or major version update

  • Update config.yaml with new version and generate again

  • Run tests

  • Commit downloaded discovery documents and generated packages

  • Upload packages to pub