Commit Graph

610 Commits

Author SHA1 Message Date
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
Sebastian Thiel
fdc0141fbc doc(index): button to copy install-script 2016-12-24 11:48:08 +01:00
Sebastian Thiel
d6accb8f61 doc(index): remove all download links
Instead refer to cargo install for installation.

[skip ci]
2016-12-24 10:49:37 +01:00
Sebastian Thiel
e646898137 feat(binaries): remove download information 2016-12-24 10:40:50 +01:00
Sebastian Thiel
fc34337ee4 doc(lib): use docs.rs for library documentation
We will still need to host the CLI docs though.
2016-12-24 10:35:48 +01:00
Sebastian Thiel
684233ccee chore(ignore): DS_Store
[skip ci]
2016-12-24 10:35:15 +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
f3d0ef45d2 fix(license): correct link to license on github
[skip ci]
2016-12-17 17:07:56 +01:00
Sebastian Thiel
ad919460cd chore(publish): re-publish as much as possible 2016-12-16 21:42:22 +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
e04b6d023d chore(cleanup): remove .DS_Store files 2016-12-16 11:07:10 +01:00
Sebastian Thiel
eecab2ff05 Merge pull request #158 from compressed/dollar_sign
fix(discovery): handle discovery urls with $
2016-12-16 11:02:57 +01:00
Christopher Brickley
0ba9535a11 fix(discovery): handle discovery urls with $
Some google discovery URLs contain `$discovery` or other variants,
causing the calls to wget to interpret `$d` as an environment variable
instead of a literal. An example is:
`https://logging.googleapis.com/$discovery/rest?version=v2`.

To fix this, the `$` has been escaped so that wget fetches the URL as
expected.
2016-12-15 11:44:34 -05:00
Sebastian Thiel
d898f14974 Merge pull request #157 from Morsicus/fix_readme_multirust_deprecated
Fix: multirust is deprecated - use rustup :)
2016-11-08 11:28:22 +01:00
Mickaël Fortunato
f31ef51a61 Fix: multirust is deprecated - use rustup :) 2016-11-08 07:45:55 +01:00
Sebastian Thiel
d9970513cb chore(changelog): update 2016-10-29 17:52:56 +02:00
Sebastian Thiel
7cf4034a41 chore(publish-cli): all CLIs and APIs are available in v1.0 now! cli-v1.0.0 api-v1.0.0 2016-10-29 17:49:09 +02:00
Sebastian Thiel
dd63b0fa67 chore(publish-cli): all clis except for one
google-serviceregistryalpha for some reason can't be found
in version 1.0.0 even though it is there.
2016-10-22 10:13:14 +02:00
Sebastian Thiel
c3bd076c0f chore(shared): ignore cloudtrace 2016-10-22 10:00:41 +02:00
Sebastian Thiel
0d3adb658b chore(cli-publish): keep state
It uses timestamp files to remember which crates have already been
published.
2016-10-17 10:38:31 +02:00
Sebastian Thiel
ceceb8c6e5 chore(cli-version-up) 2016-10-17 10:38:31 +02:00
Sebastian Thiel
4258fd5590 chore(crates.io): add api publish notes
That way already published crates will not be retried.
2016-10-16 20:54:28 +02:00
Sebastian Thiel
3c5a07c7be chore(api-version-up) 2016-10-16 19:17:51 +02:00
Sebastian Thiel
96e07a35da chore(version): keep things stable in v1.0
I think the current API is quite useable, therefore there is
no need to keep it below v1 artificially.
2016-10-16 18:17:13 +02:00
Sebastian Thiel
43d028950e chore(travis): allow failure on nightly
It appears someone in the dependency chain is pulling in a
failing aster. Ideally, we review this or try to make a PR
to fix this in our upstream dependencies.

For now though, I want this badge green.
2016-10-09 16:47:38 +02:00
Sebastian Thiel
73f0e83086 chore(deps): use serde_derive 2016-10-09 15:58:11 +02:00
Sebastian Thiel
bc582e5761 chore(deps): use yup-oauth2 1.0
Celebrations !
2016-10-09 15:40:52 +02:00
Sebastian Thiel
8f59b9ba79 chore(dependencies): use latest of yup-oauth2
Seems to work just fine.
2016-09-26 06:54:48 +02:00
Sebastian Thiel
b21d96177d Merge pull request #155 from dermesser/parse-empty-correctly
fix(api types): Add an unused field to empty API types.
2016-09-25 19:36:48 +02:00
Sebastian Thiel
0acd71f1b6 Merge pull request #154 from dermesser/no-urlencoded-slash
URL-encoding '/' in URLs is not accepted by Google APIs
2016-09-25 19:32:20 +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
Lewin Bormann
36db66bf3c chore(all): Regenerate APIs 2016-09-21 13:07:58 +02:00
Lewin Bormann
292dd2f34f fix(template): URL-encoding '/' in URLs is not accepted by Google APIs. 2016-09-21 09:49:01 +02:00
Sebastian Thiel
4a92a47bed chore(publish): publish remaining cli
Seems there are a few inconsistencies that needed to be
ironed out manually.
api-v0.1.15
2016-09-11 20:57:50 +02:00
Sebastian Thiel
569e8029e1 chore(publish): all cli
Some could not be uploaded as we went out-of-memory.
Will redo those on a stronger system
2016-09-11 17:14:00 +02:00
Sebastian Thiel
93d053b2d6 chore(gen): prepare cli for publish 2016-09-11 13:58:32 +02:00
Sebastian Thiel
91a657b8cf feat(cli): can now be published
This works as the API version is now explicitly specified,
allowing cargo-publish to work as usual.
2016-09-11 13:58:32 +02:00
Sebastian Thiel
c4c49015f5 chore(publish): latest APIs
The only difference to the previous version is that they
are referring to the latest versions of serde.
2016-09-11 13:54:30 +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