Commit Graph

1413 Commits

Author SHA1 Message Date
Guy Taylor
4faa5f6203 Add first type inferance tests
This slightly changes to code under test by:
* Adding __init__.py files to create modules
* Converts for a.b to a['b'] to allow object or dict types
2018-10-28 11:39:29 +01:00
Guy Taylor
a793af5586 Make utils.method_params private as it is not used.
This removed it been improted into Mako templates and renames it
_method_params to make it clear.
2018-10-28 11:39:29 +01:00
Guy Taylor
ca11d495fb Merge pull request #207 from TheBiggerGuy/python_testing
Improve Python testing by using PyTest
2018-10-21 22:48:43 +01:00
Guy Taylor
081cceecb7 Wire Python testing into Travis 2018-10-21 22:37:39 +01:00
Guy Taylor
9867b260e1 Improve Python testing
Introduce pytest, wire it into Make and convert previous tests.

Note this is not wired into Travis
2018-10-21 22:37:39 +01:00
Guy Taylor
19e9943279 Move to Python requirements.txt file
This also links the requirments.txt file to the Venv via Make. So any
change to it will trigger the Make rule to install the new packages.
2018-10-21 22:36:19 +01:00
Guy Taylor
43ac8d7e29 Merge pull request #209 from TheBiggerGuy/fix-travis-yaml
The Travis Yaml file was invalid after #205 also fix the cache
locations.
2018-10-21 22:28:25 +01:00
Guy Taylor
8325ac1313 Fix Travis Yaml file
The Travis Yaml file was invalid after #205 also fix the cache
locations.
2018-10-21 21:10:32 +01:00
Sebastian Thiel
0360e61c27 Merge branch 'update_url_to_1_7_1' of https://github.com/edelangh/google-apis-rs into edelangh-update_url_to_1_7_1 2018-10-21 12:08:26 +02:00
edelangh
0403e19476 Update dep url to 1.7.1 2018-10-16 23:52:34 +02:00
Sebastian Thiel
1487e6caa2 Remove an API without corresponding json file
This prevented github-pages from being generated.
Don't quite know how that could happen.
2018-10-14 13:48:48 +02:00
Sebastian Thiel
cdfd978fc3 Publish of v1.0.8 cli-v1.0.8 api-v1.0.8 2018-10-14 13:29:18 +02:00
Sebastian Thiel
bce4f08554 Bump version to 1.0.8 - the previous one was already published somehow 2018-10-14 11:12:24 +02:00
Sebastian Thiel
dd893eb29a After publishing the latest versions api-v1.0.7 cli-v1.0.7 2018-10-14 10:52:45 +02:00
Sebastian Thiel
255c7f5ad5 Update to latest versions of API declarations 2018-10-13 13:49:14 +02:00
Sebastian Thiel
5a67475b54 Merge branch 'photoslibrary' of https://github.com/TheBiggerGuy/google-apis-rs into TheBiggerGuy-photoslibrary 2018-10-13 12:16:10 +02:00
Guy Taylor
d202f9792b ichore(blacklist): blacklist versions that do not exist 2018-10-13 11:49:16 +02:00
Guy Taylor
38f086ebb5 chore(gen): clean up after failed wget
Wget leaves empty files when getting a 404. This causes JSON parse errors later on instead of the expected file not found message.
2018-10-13 11:49:16 +02:00
Bryan Burgers
7a041ecf2d docs(LIB): Add dependencies to README
In the section that describes setting up the Cargo.toml, add the
required dependencies, and note that `hyper` and `hyper-rustls` are not
the latest versions. This helps new users get started quicker and
easier.
2018-10-13 11:47:34 +02:00
Guy Taylor
f2363df5b5 chore(gen): add photoslibrary v1 code 2018-10-11 19:55:54 +01:00
Guy Taylor
4603769ca6 chore(manually_added): Add support for adding unlisted APIs
The photoslibrary API is not listed however is still available.
This adds a method of manually adding APIs to the shared.yaml and adds the photoslibary API info.

Fixes #198
2018-10-11 19:55:53 +01:00
Guy Taylor
4ba9dbd03c Merge pull request #205 from TheBiggerGuy/fix_travis
core(ci): Fix version of Python used on Travis
2018-10-11 19:51:46 +01:00
Guy Taylor
2740810b2a core(ci): Fix version of Python used on Travis
mkdocs depends on tornado that fails to compile on Python before 2.7.9.
When running in Travis not using the Python language a very old version
of Python is used.

This commit adds pyenv and uses it to ensure Travis Python is viable and
stable.
2018-10-11 19:26:10 +01:00
Guy Taylor
b7d2e021f1 chore(deps): Update virtualenv
Update virtualenv from 12.0.7 to 16.0.0
2018-10-11 19:22:59 +01:00
Sean Leather
8f0435ae4f docs(contributing.md): fix body and footer headers 2018-07-11 17:30:21 +02:00
Lewin Bormann
7ef8049d29 chore(deps): Pin hyper and mime crates to fix compilation. 2018-04-03 19:24:13 +02:00
Sebastian Thiel
83843dd796 publish newly un-blacklisted crates
[skip CI]
2018-02-01 20:23:10 +01:00
Sebastian Thiel
58c0133879 Merge pull request #185 from mdaffin/enable-working-apis
Enable working apis
2018-02-01 18:45:31 +01:00
Michael Daffin
a0d6551dea chore(gen): adds all missing apis
With recent changes in the generator and or rust a bunch of api are now
working that were blacklisted. This commit adds the generated files for
those apis.
2018-02-01 16:47:10 +00:00
Michael Daffin
9e92a3c188 chore(blacklist): remove working apis from blacklist
With recent changes to rust and or the generator a bunch of api are now
working. This commit removes them from the blacklist.
2018-02-01 16:44:52 +00:00
Sebastian Thiel
c3cdc16fba Merge pull request #184 from mdaffin/enable-compute1
Enable compute1
2018-01-31 20:24:57 +01:00
Michael Daffin
9330ca140a chore(gen): added compute1 2018-01-31 13:31:32 +00:00
Michael Daffin
eff8aac1ed chore(blacklist): remove compute1 from blacklist 2018-01-31 13:31:28 +00:00
Sebastian Thiel
8362289bd9 publish 'sheets' crates 2018-01-28 17:14:48 +01:00
Faddi
d6d8d6037e chore(gen): added sheets 2018-01-28 16:54:05 +01:00
Faddi
deaf8f5049 chore(blacklist): removed sheets from blacklist 2018-01-28 16:54:05 +01:00
Faddi
d042fcf1a7 fix(util.py): iteration over dicts with 'values' key
Sheets api has a 'values' key in resources.spreadsheets.resources which
collides with values().
2018-01-28 16:54:05 +01:00
Sebastian Thiel
50da2152d0 Remove obsolete paragraphs from README
[skip CI]
2017-12-13 18:25:50 +01:00
Sebastian Thiel
d238041cf7 Mild reorganization of the README file
[skip CI]
2017-12-13 18:20:46 +01:00
Sebastian Thiel
f6700f6943 Code for latest release 2017-12-12 17:58:06 +01:00
Sebastian Thiel
cfafe4c6d1 Publish latest version of everything 2017-12-12 17:57:47 +01:00
Sebastian Thiel
5a457b1b26 Update to release v1.0.7 2017-12-12 16:05:40 +01:00
Sebastian Thiel
dfe263bb56 Bump patch level just to allow using new releases
Should remember it's not enough to just update the
api versions (major.minor.patch+X, where X is the API version)
as it is not enough to be a different version in the sense of
semver, for some reason.
2017-12-12 15:59:05 +01:00
Sebastian Thiel
ff31a4a749 Fix makefile 2017-12-12 15:57:37 +01:00
Sebastian Thiel
ad3f30855a Releases so far...
For some reason, most of the API tarballs don't have a valid checksum.
What is going on there?
2017-12-12 15:20:51 +01:00
Sebastian Thiel
357a0e650e Upgrade to latest API versions + code regen 2017-12-12 14:30:54 +01:00
Sebastian Thiel
dc30217711 Restrict mkdocs to the last known working version
0.17 seems to change the configuration format, which is
nothing I want to deal with right now.
2017-12-12 14:29:57 +01:00
Sebastian Thiel
059d6700dd Publish latest versions of all APIs 2017-09-27 14:54:55 +02:00
Sebastian Thiel
3a6ef3db41 Finish publishing latest version cli-v1.0.6 api-v1.0.6 2017-09-27 12:11:13 +02:00
Sebastian Thiel
7bb8beed06 Intermediate result of latest publish 2017-09-27 10:42:15 +02:00