Commit Graph

648 Commits

Author SHA1 Message Date
Sebastian Thiel
dd4bfe3de0 fix(lib): more idiomatic swapping of values 2017-05-22 20:57:24 +02:00
Sebastian Thiel
73043ef6f6 Merge branch 'LegNeato-master' 2017-05-22 20:49:30 +02:00
Sebastian Thiel
c6d67daa81 fix(conflict): use latest gen/ from origin/master
that fixes a conflict when merging
2017-05-22 20:48:47 +02:00
Sebastian Thiel
9cff808362 chore(json): update all apis
And bring in 5 new ones, including cloudkms.
Also update dependencies to make things compile again.
2017-05-22 20:42:37 +02:00
Sebastian Thiel
18f0cae1d0 Fix gitignore 2017-05-22 20:01:03 +02:00
Christian Legnitto
9ffa241f37 feat(hub): Allow overriding rootUrl and baseUrl
Allow the hub to override `rootUrl` and `baseUrl` for the service.
This is useful for pointing at localhost for testing or a proxy.
2017-05-06 17:59:05 -07:00
Sebastian Thiel
3d64db2e9c Merge pull request #167 from Michael-F-Bryan/master
Updated index.html documentation template
2017-04-01 16:06:50 +02:00
Michael-F-Bryan
ef070eef59 fix(index.html.mako): Added an assert to detect when docs need updating 2017-04-01 21:48:37 +08:00
Michael-F-Bryan
de6528be98 fix(index.html.mako): Finished adjustments to index.html template (fixes #166)
Summary of changes:

- Converted from using span + br tags for formatting to using tables
- Added Bootstrap stylesheet
- Refactored a lot of the logic which was being done in the html ${...}
  tags out into a block which gets run at the start of each api version.
  (hopefully this will make the template easier to maintain in the long
  run)

Possible issue:

I swapped from looping over each key in `tc.keys()` to assuming the keys
will only ever be ["api", "cli"]. This hard codes the keys instead of
getting them dynamically, but makes it easier to format as a table and
lets you pull a lot of the logic out of the template and into a single
block before each table row.

If the types of application in `tc.keys()` ever changes then this
template will need to be updated accordingly!
2017-04-01 02:55:11 +08:00
Michael-F-Bryan
5bc4141fa5 style(index.html.mako): Fixed up indenting and line length 2017-04-01 02:37:29 +08:00
Michael-F-Bryan
0d655411ab refactor(index.html.mako): Added bootstrap to make things pretty 2017-04-01 02:27:37 +08:00
Michael-F-Bryan
05b442d589 refactor(index.html.mako): Cleaned up a lot of the link logic 2017-04-01 02:20:29 +08:00
Michael-F-Bryan
8934365401 refactor(index.html.mako): Converted data to a table 2017-04-01 02:03:26 +08:00
Michael-F-Bryan
09ce891eeb refactor(index.html.mako) Renamed a couple variables 2017-04-01 01:48:29 +08:00
Sebastian Thiel
c4e363d94c doc(README): remove obsolete notes about linux
We use cargo now as installation method, no need
to provide binaries anymore.

[skip ci]
2017-02-05 06:28:08 +01:00
Sebastian Thiel
83b916e8f9 chore(publish): remaining publishes 2017-02-04 17:06:46 +01:00
Sebastian Thiel
d0eb8f3d9a chore(publish): more crates published 2017-02-04 14:55:27 +01:00
Sebastian Thiel
87c15a7406 chore(publish): intermediate publish
cargo cannot connect to github anymore for some reason

[skip ci]
2017-02-04 14:15:32 +01:00
Sebastian Thiel
d18714e9b2 chore(gen): regen all apis/clis for v1.0.4 api-v1.0.4 cli-v1.0.4 2017-02-04 13:48:45 +01:00
Sebastian Thiel
6cad082b76 chore(version): v1.0.4 - serde upgrade 2017-02-04 13:36:43 +01:00
Sebastian Thiel
364fc9eb18 chore(cargo): remove local override
Should not have been committed in the first place
2017-02-04 13:11:03 +01:00
Sebastian Thiel
1323d0dccb fix(tests): use new serde map implementation
No fun, this one.
2017-02-04 13:03:42 +01:00
Sebastian Thiel
7a611c39aa Adapt to changed Map interface 2017-02-04 11:52:42 +01:00
Sebastian Thiel
26f57948a6 chore(cli): one step closer to getting it compiled 2017-02-03 09:20:01 +01:00
Sebastian Thiel
1756d7dec4 chore(cli): fix error handling 2017-02-03 09:01:30 +01:00
Sebastian Thiel
0337435cd4 imp(serde): upgrade to v0.9
This provides proc macros, greatly simplifying the build
projects.
2017-02-03 08:23:00 +01:00
Sebastian Thiel
0e6ecb997c chore(publish): latest release api-v1.0.3 cli-v1.0.3 2017-02-01 19:55:22 +01:00
Sebastian Thiel
8876209143 chore(gen): regen all cli for new version 2017-02-01 08:36:58 +01:00
Sebastian Thiel
d3c1faf1f4 chore(version-up): patch bump to v1.0.3
To bring in support for hyper v0.10
2017-02-01 07:07:41 +01:00
Sebastian Thiel
d1ebc0ff0b imp(cli): use hyper-rustls instead of openssl
The only openssl dependency left would be coming from yup-oauth2!
2017-02-01 07:07:05 +01:00
Lewin Bormann
fd6815997d chore(deps): Update hyper for generated crates to ^0.10
You guessed it, again related to the openssl upgrade in
dermesser/yup-oauth2#51. As long as the API crates depend on openssl 0.7
via hyper 0.9, any client using the APIs won't build :( For example,
examples/drive_example/ in dermesser/yup-oauth2.

Please regenerate and publish afterwards, if possible.
2017-01-31 19:15:14 +01:00
Sebastian Thiel
429a333a20 Merge pull request #159 from gdvalle/typo-fix
Fix typo Requst->Request
2017-01-12 21:07:26 +01:00
Greg Dallavalle
8f47126103 Fix typo Requst->Request 2017-01-12 12:33:33 -06:00
Sebastian Thiel
7a4d59d197 chore(publish): published all v1.0.2
For the sole purpose of getting the documentation onto
docs.rs after applying a bugfix.
cli-v1.0.2 api-v1.0.2
2016-12-27 09:56:32 +01:00
Sebastian Thiel
ab4410d913 chore(codegen): v1.0.2 2016-12-27 07:48:18 +01:00
Sebastian Thiel
ac325e4de0 chore(version): v1.0.2 2016-12-27 07:43:28 +01:00
Sebastian Thiel
99789de208 fix(doc-index): build better data
Really just what is needed right now to make it work.

[skip ci]
api-v1.0.1 cli-v1.0.1
2016-12-24 22:02:29 +01:00
Sebastian Thiel
629b1c2143 chore(publish): cli 2016-12-24 21:48:06 +01:00
Sebastian Thiel
082e51e16e fix(publish): make cli publishing work
It really needs allow-dirty.
Let's hope that won't publish too much.
2016-12-24 19:27:55 +01:00
Sebastian Thiel
64be016881 chore(publish): all api 2016-12-24 17:35:48 +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
73038b2c66 chore(changelog): update 2016-12-24 15:46:12 +01:00
Sebastian Thiel
75316f4c84 chore(version): api-cli lock-step; depend on specific version
As they are usually meant to work hand-in-hand anyway.
This simplifies the way this works a lot, and is probably
more correct as well.
2016-12-24 15:42:39 +01:00
Sebastian Thiel
52a1dd23c1 chore(version): v1.0.1
* cli: now refers to just version 1 of API
* api: updates the documentation URLs in cargo.toml
2016-12-24 15:37:32 +01:00
Sebastian Thiel
b68b2a6bf5 fix(cli): try to depend on major version of api
Previously that didn't work due to a bug in carg,
but should work now.
2016-12-24 15:35:20 +01:00
Sebastian Thiel
5e28a06dc0 fix(versions): cli + api use a single base version
That way we get rid of the duplication at least.
Probably it would be enough to just refer to version 1 of the
library respectively, and let semver do the rest.
2016-12-24 15:23:09 +01:00
Sebastian Thiel
cc30a2e20b doc(index): don't use relative links
Instead we link to the absolute location.

tech debt: we now use http://byron.github.io/google-apis-rs
multiple times and thus duplicate that information.
2016-12-24 15:16:59 +01:00
Sebastian Thiel
6279fd8f5d doc(index): improve UX
Better help alert when copying an installation script to clipboard.
Better looks.
2016-12-24 14:08:46 +01:00
Sebastian Thiel
09805e59ad doc(index): better install script + blacklist
We now consider the blacklist, which is probably what the previous
implementation achieved as it checked for existence of files on disk.
We do the same, but more directly.

A complete installation script is provided for those who don't yet
have rustup installed.
2016-12-24 13:56:31 +01:00
Sebastian Thiel
fad9d3b0ca doc(index): link to doc.rs for APIs
We also link more specifically to crates.io.

Some debt was taken on as the build_version is special and
duplicated right now.
2016-12-24 13:44:06 +01:00