Commit Graph

124 Commits

Author SHA1 Message Date
Sebastian Thiel
ab4410d913 chore(codegen): v1.0.2 2016-12-27 07:48:18 +01:00
Sebastian Thiel
7fe6e698ba chore(gen): update code to latest version
required before publishing
2016-12-24 15:52:23 +01:00
Sebastian Thiel
a0a264f4c3 chore(gen-code): get fixes into README
This will provide a proper link to the readme.
2016-12-17 19:49:42 +01:00
Sebastian Thiel
06caa1de02 chore(json): fetch latest json and re-gen all code 2016-12-16 11:25:26 +01:00
Sebastian Thiel
3c5a07c7be chore(api-version-up) 2016-10-16 19:17:51 +02:00
Lewin Bormann
0f14aa966e fix(api types): Add an unused field to empty API types.
Null structs (struct Foo;) cause the following error when trying to
deserialize an empty JSON object `{}` into them:

`JsonDecodeError("{}\n", Syntax(InvalidType(Map), 1, 1))` (also known as
`invalid type: map at line 1 column 1: {}`). The optional struct member
prevents this error.
2016-09-21 21:52:44 +02:00
Sebastian Thiel
4a92a47bed chore(publish): publish remaining cli
Seems there are a few inconsistencies that needed to be
ironed out manually.
2016-09-11 20:57:50 +02:00
Sebastian Thiel
93d053b2d6 chore(gen): prepare cli for publish 2016-09-11 13:58:32 +02:00
Sebastian Thiel
d2495405c5 chore(Cargo): specify version to allow cli publishing
Let's see if we can actually get away with a '*' ... .
2016-09-11 12:08:57 +02:00
Sebastian Thiel
45d86f31f2 chore(code-gen): update to latest version
Which is to be published
2016-09-11 10:13:33 +02:00
Sebastian Thiel
b9f237eec0 chore(publish): latest version to crates.io
Also update the latest source-code, which is just a cleanup.
2016-07-17 17:34:01 +02:00
Sebastian Thiel
ae276438ae chore(code): update code to latest version 2016-07-17 13:05:43 +02:00
Sebastian Thiel
c6f9205758 chore(update): make regen-apis
Fixes #151
2016-05-30 08:38:10 +02:00
Sebastian Thiel
e0de1b4c10 chore(code-update): to latest schema version 2016-04-10 14:08:43 +02:00
Sebastian Thiel
df301c1c75 chore(code): update after version-up 2016-02-28 08:37:00 +01:00
Sebastian Thiel
b0c0196f50 chore(code): update code matching latest jsons
This was particularly interesting as APIs went away
2016-02-28 08:20:08 +01:00
Sebastian Thiel
75076acf16 chore(code): updated to latest state 2016-01-30 14:08:25 +01:00
Sebastian Thiel
06e1d4bff6 chore(code): update with latest changes 2015-12-24 15:46:51 +01:00
Sebastian Thiel
e3f4fcadad chore(versionup): support for latest hyper 2015-12-06 17:51:06 +01:00
Sebastian Thiel
5612d004b9 chore(code): update everything to latest google API versions 2015-10-18 19:30:37 +02:00
Sebastian Thiel
a8d333f916 chore(codegen): code compiles with rust 1.3/serde 0.6 2015-09-29 11:35:13 +02:00
Sebastian Thiel
08d65ba62b chore(source): add source at latest version 2015-08-08 11:50:37 +02:00
Sebastian Thiel
e46535917c chore(code-update): upgrade to latest hyper+clap 2015-07-15 09:52:55 +02:00
Sebastian Thiel
7d58d66025 chore(json-update): update json and regen all code 2015-06-26 16:08:25 +02:00
Sebastian Thiel
3484fecf9c chore(code-update):added latest version of api+cli
APIs have additional files thanks to the build-script
requirement.
CLI has just seen minor changes though, making it
usable with a stable compiler.
2015-06-19 13:27:40 +02:00
Sebastian Thiel
9e6c9537a5 chore(code-up): latest version of all code 2015-05-10 12:07:12 +02:00
Sebastian Thiel
d2a4e2ff8b fix(CLI): added latest reference CLI code
Just to have something to link to
2015-05-02 10:22:55 +02:00
Sebastian Thiel
9a8ae4b7d6 fix(clap): upload some code to help debugging
We get a stack-overflow when trying to run the dfa-reporting program,
and right now I don't know how to workaround it.

This could be preventing us from using clap.
2015-04-29 09:07:14 +02:00
Sebastian Thiel
c2dd9c7a02 fix(version-up): code updated to v0.1.6, latest CLI
* also includes publishing tag files
2015-04-26 13:42:31 +02:00
Sebastian Thiel
f8689be451 fix(all): update all code to latest version
* add new APIs
* remove old ones
* add latest json files
2015-04-24 20:07:12 +02:00
Sebastian Thiel
4cf0720ef1 fix(checkin): latest version of all APIs
Now CLI and API and the same level
2015-04-16 22:51:07 +02:00
Sebastian Thiel
3e0a24db0d fix(api-update): 'bytes ...' -> 'bytes=...'
* update all APIs to contain said change. It's not worth a republish
  though.
2015-04-12 08:56:48 +02:00
Sebastian Thiel
34d0a7aad3 fix(README): corrected absolute links
This only affected links in readme files, not the relative ones
in the actual documentation
2015-04-08 17:19:04 +02:00
Sebastian Thiel
a399488c27 fix(version-up): v0.1.5
* fix documentation link in Cargo.toml
* adjust to latest hyper. It's not even out yet, but people
  can't build the APIs anyway.
2015-04-08 16:54:50 +02:00
Sebastian Thiel
dd1d191966 fix(publish): v0.1.4
* macro 'alias' was renamed to 'rename'
* fixed `cargo test` on main project

The latter pointed me to the serde issue, which would have made
everything fail when actually used to communicate with google servers.
2015-04-07 15:53:30 +02:00
Sebastian Thiel
99f8b65f75 fix(api-version-up): version 0.1.3
* builds with latest beta/nightly

Fixes #46
2015-04-07 12:05:48 +02:00
Sebastian Thiel
91861dcb71 fix(rustup): rustc (be9bd7c93 2015-04-05)
* using std::convert
* update to latest hyper (and other dependencies)

Related to #46
2015-04-07 11:59:10 +02:00
Sebastian Thiel
a2ca1cb28e fix(version-up): check-in of latest sources
This also includes crate files to remember which
crates we have published already.

Related to #44
2015-03-25 14:26:30 +01:00
Sebastian Thiel
cefd606b53 feat(make): cli depends on API, generically
This allows us to build efficiently. CLI programs can now have their
own cmn.rs implementation, which we can test standalone with
`cargo test`.

The primary makefile currently just explicitly pulls in the type-*.yaml,
one day we could possibly put it into a loop.

Fixes #11
2015-03-24 12:56:24 +01:00
Sebastian Thiel
04f4c95688 fix(mbuild): upload size now taken properly
Previously, it would query the size from the wrong dict and obtain
the value 0 all the time. This would have made every upload fail with
`UploadSizeLimitExeeded`.
Now we obtain the actual size limit, and will ignore it if unset/0
for some reason.

Patch += 1
2015-03-22 22:39:36 +01:00
Sebastian Thiel
3bc930ae47 fix(version-up): 0.1.0 release
* Added all APIs to source control
* upped crate version
2015-03-22 20:30:01 +01:00
Sebastian Thiel
556906ca60 fix(docs): re-export types used by delegate
Otherwise, delegate implementation might not actually be possible.
2015-03-22 13:28:28 +01:00
Sebastian Thiel
030c40d269 fix(cargo): repository/source-code link
Previously it pointed to a timestamp file. Unified repository
source code link generation, and simplified 'deps.mako'.

Related to #38
2015-03-22 10:51:06 +01:00
Sebastian Thiel
8ad316bda3 feat(cargo): crate version +<revision>
That way, crate names reveal exact inforamtion about the contained
API revision.

* crate version: code gen version
* +<revision> (build-metadata): exact version of API schema

Fixes #38
2015-03-22 10:40:59 +01:00
Sebastian Thiel
9ea85273cd feat(mbuild): improved delegate calls
The delegate will be asked for an upload URL, that he may store during
yet another call.
2015-03-21 18:25:59 +01:00
Sebastian Thiel
4bf280079e fix(mbuild): simplification and cleanup
* renamed `*MethodsBuilder` type to `*Methods` type
* renamed `*CallBuilder` type to `*Call` type
* greatly simplified `doit()` signature if uploads are involved
* pass `auth` to upload helper
2015-03-21 16:27:41 +01:00
Sebastian Thiel
307d3f487c feat(mbuild): resumable-upload infrastructure
Layout the `ResumableUploadHelper` and implement the entire logic
with the mbuild renerator.

All that's left to be done is to implement the 'chunked upload' method.

The borrow checker helped me to prevent a bug as well.
2015-03-21 13:55:15 +01:00
Sebastian Thiel
80161f72be fix(types):prune unused and ToParts trait
* do not emit unused types. Sometimes though, rustc doesn't seem to
  detect that attributses are actually used
* ToParts trait is used and implemented only when needed.

Linters are back to 'normal'.

Fixes #35
2015-03-21 10:23:40 +01:00
Sebastian Thiel
9abf0eb64a chore(youtube): add latest version
* json takes delegate errors
2015-03-20 20:11:58 +01:00
Sebastian Thiel
10dfeeb1aa fix(name): MethodBuilder -> CallBuilder
Find-and-replace. It seems to build and work correctly, still
2015-03-20 18:20:50 +01:00