Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firestore: implement listen conformance #6934

Closed
wants to merge 3,215 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3215 commits
Select commit Hold shift + click to select a range
b532a33
Fix client_info bug, update docstrings via synth. (#6442)
tseaver Nov 7, 2018
6ae7747
Implementing `GeoPtProperty` in `ndb`. (#6432)
dhermes Nov 7, 2018
77ef8a4
Harden teardown in system tests. (#6444)
tseaver Nov 7, 2018
5c56e7d
NDB: Async context (#6429)
Nov 8, 2018
be5a93e
Override client classmethod factories inherited from GAPIC. (#6453)
tseaver Nov 8, 2018
7f99171
Implementing `JsonProperty` in `ndb`. (#6447)
dhermes Nov 8, 2018
639d3a6
Implementing `DateTimePropery` in `ndb`. (#6448)
dhermes Nov 8, 2018
0a32a0d
Implementing `DateProperty` and `TimeProperty` in `ndb`. (#6452)
dhermes Nov 8, 2018
2dce877
Update Dataproc docs URL (#6455)
alixhami Nov 8, 2018
1896dff
Add 'mock' to unit test dependencies for autogen libs. (#6402)
tseaver Nov 8, 2018
41977e7
Implement `get_event_loop`. (#6456)
Nov 8, 2018
0dbae1e
Add 'result_end_time', docstring changes via synth. (#6462)
yoshi-automation Nov 9, 2018
357ce5b
Docstring changes, 'account' -> 'workspace', via synth. (#6461)
yoshi-automation Nov 9, 2018
bbd652f
label some spanner system tests (#6466)
crwilcox Nov 9, 2018
cc25e02
Spanner: rationalize 'all_types' round-trip systest (#6379)
tseaver Nov 9, 2018
f99bec0
Fix anonymous usage when run with Bigtable emulator (#6385)
sumit-ql Nov 9, 2018
b475597
Release bigtable 0.31.1 (#6378)
sduskis Nov 9, 2018
c4778af
remove hyphen from named extra in api_core (#6468)
crwilcox Nov 9, 2018
86e986d
Release api_core 1.5.2 (#6471)
crwilcox Nov 9, 2018
405365d
Release 1.6.0 (#6469)
crwilcox Nov 9, 2018
7e99098
Release 1.6.1 (#6472)
crwilcox Nov 9, 2018
2e3d720
Docstring changes via synth. (#6473)
yoshi-automation Nov 10, 2018
f9d29c5
Firestore: Add Watch Support (#6191)
crwilcox Nov 12, 2018
93f4e7e
Import stdlib ABCs from 'collections.abc' rather than 'collections'. …
tseaver Nov 12, 2018
be963cf
Update synth.py yaml location (#6480)
crwilcox Nov 12, 2018
962bcd0
Release 0.35.0 (#6485)
crwilcox Nov 13, 2018
74cea82
Synth Cloud scheduler (#6482)
crwilcox Nov 13, 2018
616db21
Add support for 'array_contains' query operator. (#6481)
RohanTalip Nov 13, 2018
f4f4d4d
Implementing `KeyProperty` in `ndb`. (#6457)
dhermes Nov 13, 2018
5a9ce6e
Implementing `BlobKeyProperty` in `ndb`. (#6445)
dhermes Nov 13, 2018
6bdf19d
Release 0.1.0 (#6486)
crwilcox Nov 13, 2018
db873c2
Ndb eventloop helpers (#6459)
Nov 14, 2018
887794b
Pick up fixes in GAPIC generator. (#6489)
yoshi-automation Nov 14, 2018
4079cf1
Pick up fixes in GAPIC generator. (#6490)
yoshi-automation Nov 14, 2018
6509409
Pick up fixes in GAPIC generator. (#6491)
yoshi-automation Nov 14, 2018
0a55b02
Pick up fixes in GAPIC generator. (#6493)
yoshi-automation Nov 14, 2018
6ec1732
Pick up fixes in GAPIC generator. (#6494)
yoshi-automation Nov 14, 2018
04441f4
Pick up fixes in GAPIC generator. (#6495)
yoshi-automation Nov 14, 2018
8227529
Pick up changes in GAPIC generator. (#6499)
yoshi-automation Nov 14, 2018
aab8078
Language: pick up fixes to GAPIC generator. (#6521)
tseaver Nov 15, 2018
9cfb18c
Pick up fixes to GAPIC generator. (#6513)
tseaver Nov 15, 2018
daf28d2
Error reporting: pick up fixes to GAPIC generator. (#6522)
tseaver Nov 15, 2018
a82a998
Firestore: pick up fixes to GAPIC generator. (#6523)
tseaver Nov 15, 2018
90975a3
Refactor conformance tests. (#6291)
tseaver Nov 15, 2018
2ca4ef9
Fix typo (#6532)
di Nov 15, 2018
a5b0b57
Implementing `ModelKey` for `ndb`. (#6487)
dhermes Nov 16, 2018
9d5ffa5
Generalize `_eventloop.async_context` into `_runstate.ndb_context`. (…
Nov 16, 2018
2e45b5a
NDB: Use type(o) instead of o.__class__ (#6540)
Nov 16, 2018
b7a4c3d
Suppress deprecation warnings for 'assertRaisesRegexp'. (#6543)
tseaver Nov 16, 2018
f05d459
Pick up fixes to the GAPIC generator. (#6501)
yoshi-automation Nov 19, 2018
9fe28f6
Pick up fixes to GAPIC generator. (#6503)
yoshi-automation Nov 19, 2018
4f33af9
Pick up fixes to GAPIC generator. (#6504)
yoshi-automation Nov 19, 2018
ee78f53
Pick up fixes to GAPIC generator. (#6505)
yoshi-automation Nov 19, 2018
b506cb4
Pick up changes to GAPIC generator. (#6506)
yoshi-automation Nov 19, 2018
4b41d99
Pick up fixes to GAPIC generator. (#6575)
tseaver Nov 19, 2018
b6aa10b
Pick up fixes to GAIPC generator. (#6508)
yoshi-automation Nov 19, 2018
f29d79f
Pick up changes to GAPIC generator, drop 'Code' enum. (#6509)
yoshi-automation Nov 19, 2018
93884a5
Pick up fixes to GAPIC generator. (#6510)
yoshi-automation Nov 19, 2018
32e85d3
Spanner: pick up fixes to GAPIC generator. (#6576)
tseaver Nov 19, 2018
e24bf4b
Trace: pick up fixes to GAPIC generator. (#6577)
tseaver Nov 19, 2018
b404f44
Add synth metadata. (#6570)
yoshi-automation Nov 19, 2018
9516543
Add synth metadata. (#6569)
yoshi-automation Nov 19, 2018
487e166
Add synth metadata. (#6568)
yoshi-automation Nov 19, 2018
f0908c0
Add synth metadata. (#6567)
yoshi-automation Nov 19, 2018
5fe07bb
Add synth metadata. (#6566)
yoshi-automation Nov 19, 2018
962e787
Add synth metadata. (#6565)
yoshi-automation Nov 19, 2018
814f391
Add synth metadata. (#6564)
yoshi-automation Nov 19, 2018
3fc2407
Add synth metadata. (#6563)
yoshi-automation Nov 19, 2018
0f1c13d
Add synth metadata. (#6562)
yoshi-automation Nov 19, 2018
ed48f2d
Add synth metadata. (#6561)
yoshi-automation Nov 19, 2018
54c2b32
Add synth metadata. (#6560)
yoshi-automation Nov 19, 2018
9dfd6de
Videointelligence: pick up fixes to GAPIC generator. (#6578)
tseaver Nov 19, 2018
daec397
Add tags to DML system tests (#6580)
crwilcox Nov 19, 2018
768607f
Pick up changes to GAPIC client config. (#6589)
yoshi-automation Nov 20, 2018
f522271
Add timeout + retry settings to Sessions/Snapshots (#6536)
crwilcox Nov 20, 2018
07bf336
add templating to asset synth.py (#6606)
crwilcox Nov 20, 2018
3c89b1d
Pick up enum fixes in the GAPIC generator. (#6607)
yoshi-automation Nov 21, 2018
50b28cd
Pick up enum fixes in the GAPIC generator. (#6608)
yoshi-automation Nov 21, 2018
8b130f2
Pick up enum fixes in the GAPIC generator. (#6609)
yoshi-automation Nov 21, 2018
af46dcc
Pick up enum fixes in the GAPIC generator. (#6610)
yoshi-automation Nov 21, 2018
e8886cd
Pick up enum fixes in the GAPIC generator. (#6611)
yoshi-automation Nov 21, 2018
1432849
Pick up enum fixes in the GAPIC generator. (#6612)
yoshi-automation Nov 21, 2018
8ade319
Pick up enum fixes in the GAPIC generator. (#6614)
yoshi-automation Nov 21, 2018
0b1822a
Pick up changes to GAPIC method configuration (#6615)
yoshi-automation Nov 21, 2018
3f9c4dc
Pick up enum fixes in the GAPIC generator. (#6616)
yoshi-automation Nov 21, 2018
92a8965
Pick up new methods from protos. (#6613)
yoshi-automation Nov 21, 2018
d580664
Bigtable: pick up fixes to GAPIC generator. (#6630)
tseaver Nov 21, 2018
46073d1
Logging: pick up fixes to GAPIC generator. (#6631)
tseaver Nov 21, 2018
74e055e
Vision: pick up fixes to GAPIC generator. (#6632)
tseaver Nov 21, 2018
66e281b
Websecurityscanner: pick up fixes to GAPIC generator. (#6633)
tseaver Nov 21, 2018
a2f6ca7
Container: pick up fixes to GAPIC generator. (#6634)
tseaver Nov 21, 2018
3129230
Add ProductSearchClient to vision.py (#6635)
crwilcox Nov 21, 2018
5cf017a
Release vision 0.35.1 (#6640)
crwilcox Nov 26, 2018
f63e4cf
Remove 'deepcopy' from 'PartialRowData.cells' property. (#6648)
tseaver Nov 26, 2018
b97b465
Adding User and UserProperty in `ndb`. (#6525)
dhermes Nov 26, 2018
8baa0d7
Pass posargs to py.test (#6653)
bmccutchon Nov 27, 2018
c453f42
Firestore: fix delete conformance (#6559)
tseaver Nov 27, 2018
13aa1dd
Add 'WorkflowTemplateServiceClient', optional args; update timeouts (…
tseaver Nov 27, 2018
057085a
Release 0.39.0 (#6656)
crwilcox Nov 27, 2018
c791300
Refactor 'Document.get' to use the 'GetDocument' API. (#6534)
tseaver Nov 27, 2018
d820db7
Firestore: add support for 'ArrayRemove' / 'ArrayUnion' transforms (…
tseaver Nov 27, 2018
04be914
Begin implementation of `ndb.Model` (#6581)
dhermes Nov 27, 2018
b9a1347
Update 'cluster_controller_client' GAPIC config (via synth). (#6659)
yoshi-automation Nov 28, 2018
cfd20b7
Add templates for flake8, coveragerc, noxfile, and black. (#6642)
crwilcox Nov 28, 2018
ca6a2bb
Run Black on Generated libraries (#6666)
crwilcox Nov 28, 2018
362dcbc
Add release jobs (#6663)
busunkim96 Nov 28, 2018
6f454c6
Add 'Client.collections' method. (#6650)
tseaver Nov 29, 2018
e9f232d
blacken api_core and core (#6668)
crwilcox Nov 29, 2018
be48921
Blackening Continued... (#6667)
crwilcox Nov 29, 2018
8e95e3d
Unblack gapic and protos.
yoshi-automation Nov 29, 2018
7154957
Unblack automl gapic and protos.
yoshi-automation Nov 29, 2018
6f6bd82
Unblack bigquery gapic and protos.
yoshi-automation Nov 29, 2018
2b0c73b
Unblack container gapic and protos.
yoshi-automation Nov 29, 2018
96b329b
Unblack dataproc gapic and protos.
yoshi-automation Nov 29, 2018
1b96adb
Unblack datastore gapic and protos.
yoshi-automation Nov 29, 2018
a53080f
Run black at end of synth.py (#6698)
crwilcox Nov 29, 2018
905f140
Add BigQuery Storage API client (currently alpha) (#6696)
tswast Nov 29, 2018
7f38cce
omit local deps (#6701)
crwilcox Nov 29, 2018
463bfe5
Firestore: make cursor-related 'Query' methods accept lists (#6697)
tseaver Nov 29, 2018
a44af6b
Prevent use of transforms as cursor values. (#6706)
tseaver Nov 29, 2018
4cd3758
Release bigquery_storage 0.1.0 (#6705)
tswast Nov 30, 2018
2db5500
Release 0.31.0 (#6700)
crwilcox Nov 30, 2018
e6db96c
Pick up fixes in GAPIC generator. (#6708)
yoshi-automation Nov 30, 2018
c7e69a8
Configure Kokoro for releases (#6733)
tswast Nov 30, 2018
71c9c3f
Move google.cloud.iam (core) to google.api_core.iam (#6740)
crwilcox Nov 30, 2018
7c8c886
Correct release_status for bigquery_storage (#6767)
busunkim96 Nov 30, 2018
a222583
Reject invalid paths passed to 'Query.{select,where,order_by}' (#6770)
tseaver Nov 30, 2018
395aa60
'Query.select([])' implies '__name__'. (#6735)
tseaver Nov 30, 2018
a307bb8
Prevent use of transforms as values passed to 'Query.where'. (#6703)
tseaver Nov 30, 2018
e007f8a
Blacken libraries (#6794)
crwilcox Nov 30, 2018
a02f893
blacken all gen'd libs (#6792)
crwilcox Nov 30, 2018
6abc22f
add blacken to noxfile (#6795)
crwilcox Nov 30, 2018
10e6e4c
Add 'retry' argument to '_AsyncJob.result'. (#6302)
tseaver Dec 1, 2018
508c965
Update noxfile.
yoshi-automation Dec 1, 2018
ca7b274
Update noxfile.
yoshi-automation Dec 1, 2018
26ff56a
Update noxfile.
yoshi-automation Dec 1, 2018
73c6f83
Update noxfile.
yoshi-automation Dec 1, 2018
fba0d9e
Update noxfile.
yoshi-automation Dec 1, 2018
847d972
Update noxfile.
yoshi-automation Dec 1, 2018
68af784
Update noxfile.
yoshi-automation Dec 1, 2018
a210a99
Update noxfile.
yoshi-automation Dec 1, 2018
1e4bd35
Update noxfile.
yoshi-automation Dec 1, 2018
552a933
Update noxfile.
yoshi-automation Dec 1, 2018
5e483e3
Update noxfile.
yoshi-automation Dec 1, 2018
86602aa
Update noxfile.
yoshi-automation Dec 1, 2018
d2cc4cf
Update noxfile.
yoshi-automation Dec 1, 2018
887ef84
Update noxfile.
yoshi-automation Dec 1, 2018
66207a9
Update noxfile.
yoshi-automation Dec 1, 2018
57a1da3
Update noxfile.
yoshi-automation Dec 1, 2018
69519b7
Update noxfile.
yoshi-automation Dec 1, 2018
a83f602
Update noxfile.
yoshi-automation Dec 1, 2018
a0f2c9c
Update noxfile.
yoshi-automation Dec 1, 2018
15dba1e
Update noxfile.
yoshi-automation Dec 1, 2018
ac7b10b
Update noxfile.
yoshi-automation Dec 1, 2018
a663e54
Update noxfile.
yoshi-automation Dec 1, 2018
52c2f08
Update noxfile.
yoshi-automation Dec 1, 2018
855d6c8
Update noxfile.
yoshi-automation Dec 1, 2018
285ea9f
Allow setting partition expiration to 'None'. (#6823)
tswast Dec 3, 2018
0aca8de
Add avro logical type control for load jobs. (#6827)
shollyman Dec 3, 2018
3c9a677
Release api_core 1.6.0 (#6769)
crwilcox Dec 3, 2018
75b10e1
BigQuery: add avro load samples (#6832)
alixhami Dec 3, 2018
5b40045
Use moved iam.policy now at google.api_core.iam.policy (#6741)
crwilcox Dec 3, 2018
33e054f
NDB: No longer excluding `__repr__` and abstract methods in coverage.…
dhermes Dec 3, 2018
5f9d15a
remove iam module from core (#6775)
crwilcox Dec 3, 2018
ac800cb
Release core 0.29.0 (#6834)
crwilcox Dec 4, 2018
15c63d9
For queries ordered on '__name__', expand field values to full paths.…
tseaver Dec 4, 2018
6718a82
Update dependency to google-cloud-core (#6835)
crwilcox Dec 4, 2018
de5fc70
Lint NDB on CI (#6822)
crwilcox Dec 4, 2018
17fd9f7
Implement comparison helpers for `ndb.Model` (#6695)
dhermes Dec 4, 2018
574eb4c
Add 'operation_id' parameter to 'Database.update_ddl'. (#6825)
potiuk Dec 4, 2018
0160a1e
s/GoogleCloudPlatform/googleapis (#6844)
brianquinlan Dec 5, 2018
b7d341d
Change the url to the canonical one (#6843)
brianquinlan Dec 5, 2018
b84828d
Add to_bqstorage to convert from Table[Reference] google-cloud-bigque…
tswast Dec 5, 2018
b8abb8f
BigQuery: Fix exception type in comment (#6847)
alixhami Dec 5, 2018
90a2865
Release 0.2.0 (#6841)
tseaver Dec 5, 2018
3bb8dec
Blacken. (#6846)
yoshi-automation Dec 5, 2018
3827302
Release 0.20.0 (#6850)
crwilcox Dec 5, 2018
8b7c5cf
Add option to use BQ Storage API with to_dataframe (#6854)
tswast Dec 6, 2018
ed8cb8d
Deserialize an entity from a protobuffer. (#6738)
Dec 6, 2018
af5547d
Update version of google-cloud-core (#6858)
liyanhui1228 Dec 6, 2018
58d34ed
Clarify passed arguments in speech examples. (#6857)
nnegrey Dec 6, 2018
e25ebfd
API Core: fix pytype build (#6873)
tseaver Dec 7, 2018
ba39891
Fix trace client memory leak (#6856)
c24t Dec 7, 2018
c6cffad
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
2cffe40
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
20df949
[CHANGE ME] Re-generated texttospeech to pick up changes in the API o…
yoshi-automation Dec 7, 2018
1235a24
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
df449b0
[CHANGE ME] Re-generated speech to pick up changes in the API or clie…
yoshi-automation Dec 7, 2018
1788a6b
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
c166bc0
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
d1206fa
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
c6136c7
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
3699ba1
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
b71e426
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
79876c7
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
24dae33
Add baseline for synth.metadata
yoshi-automation Dec 7, 2018
e577c6e
Pick up docstring fix via synth. (#6874)
tseaver Dec 7, 2018
84cecaa
Release 0.20.1 (#6877)
crwilcox Dec 8, 2018
e91cb07
Fix copy/paste typos in noxfile comments (#6831)
alixhami Dec 10, 2018
0fcb348
Add usage example for 'google.api_core.iam.Polcy'. (#6855)
tseaver Dec 10, 2018
400cf9a
Add PingingPool and TransactionPingingPool to toplevel module (#6886)
crwilcox Dec 10, 2018
3da3f6f
Release bigtable 0.32.0 (#6891)
crwilcox Dec 10, 2018
ddeeac0
Release 1.7.0 (#6896)
crwilcox Dec 10, 2018
993d085
Release bigquery 1.8.0 (#6890)
crwilcox Dec 10, 2018
c91057a
Release datastore 1.7.2 (#6889)
crwilcox Dec 10, 2018
a6c2b13
Release dns 0.29.1 (#6892)
crwilcox Dec 10, 2018
3761e2b
Release runtimeconfig 0.28.2 (#6895)
crwilcox Dec 10, 2018
ab1dddb
Release logging 1.9.0 (#6893)
crwilcox Dec 10, 2018
7ed5907
Release resource_manager 0.28.2 (#6894)
crwilcox Dec 11, 2018
bc3c003
Release translate 1.3.2 (#6898)
crwilcox Dec 11, 2018
26f258b
Release storage 1.13.1 (#6897)
crwilcox Dec 11, 2018
0aac2de
Port changelog from 30.1 branch to master (#6903)
crwilcox Dec 11, 2018
e189c56
conformance tests, run, but aren't assertion-checked
mcdonc Dec 12, 2018
a4f0437
begin to make assertions
mcdonc Dec 12, 2018
c59d9e4
Add protoc-generated descriptor changes from updated .proto files. (#…
yoshi-automation Dec 12, 2018
9b606f1
Firestore: normalize FieldPath parsing / escaping (#6904)
tseaver Dec 12, 2018
8f5fb91
Initialize 'StreamingPullFuture._cancelled' as True (#6901)
brunoais Dec 12, 2018
2fb52e3
Impose required semantics for snapshots as cursors: (#6837)
tseaver Dec 12, 2018
084e0a3
Firestore: add driver for query conformance tests. (#6839)
tseaver Dec 12, 2018
202de60
Update Blob.update_storage_class to support rewrite tokens (#6527)
erikwebb Dec 12, 2018
55c987c
Add Client Library for IAM (#6905)
crwilcox Dec 12, 2018
13eff1a
Fix docs build (#6913)
crwilcox Dec 13, 2018
c268c1a
these are query watches, not document watches
mcdonc Dec 13, 2018
02309aa
handle error cases
mcdonc Dec 13, 2018
399e902
clean up comments and long lines
mcdonc Dec 13, 2018
624c664
Release iam 0.1.0 (#6911)
crwilcox Dec 13, 2018
24fb47a
trove classifier fix (#6922)
crwilcox Dec 13, 2018
5423b45
Release iam 0.1.0 (#6923)
crwilcox Dec 13, 2018
4e75ec3
Api_core: Convert 'DatetimeWithNanos' to / from 'google.protobuf.time…
tseaver Dec 13, 2018
e814f04
fix minor bug caught by conformance test by breaking apart document_d…
mcdonc Dec 13, 2018
4c4bb94
Update link for Scheduler Docs (#6925)
averikitsch Dec 13, 2018
084f8ad
Document timeouts for 'Query.get' / 'Collection.get'. (#6853)
tseaver Dec 13, 2018
8e3c43e
Improve linkage between container docs pages. (#6852)
tseaver Dec 13, 2018
53149d5
Emphasize that returned futures may differ from stdlib futures. (#6875)
tseaver Dec 13, 2018
05f90b4
Docs/fixit: normalize docs for 'page_size' / 'max_results' / 'page_to…
tseaver Dec 13, 2018
e27b9e6
one failure unearthed by making better assertions
mcdonc Dec 14, 2018
350a6d5
Logging: allow setting name, args on default handler (post-blacken) (…
tseaver Dec 14, 2018
857a0cc
Ensure that `ManagedZone:exists()` does not misreport `True` result. …
charles-salmon Dec 14, 2018
8d3d3cd
Document Python 2 deprecation (#6910)
crwilcox Dec 14, 2018
3c43f59
Skip signing tests for insufficient credentials (#6917)
crwilcox Dec 14, 2018
38260f0
fix merge conflicts with master
mcdonc Dec 14, 2018
5216ddd
blacken
mcdonc Dec 14, 2018
1b879e7
better info about which snapshot/change we are dealing with
mcdonc Dec 14, 2018
de7467f
Include grpc config in manifest (#6928)
crwilcox Dec 14, 2018
9f207ec
Release spanner 1.7.1 (#6929)
crwilcox Dec 14, 2018
d616af8
NDB: Start in on `ndb.client.Client` (#6876)
Dec 17, 2018
1776c60
Show use of 'batch.begin()' in docstring example. (#6932)
sorced-jim Dec 17, 2018
0fa42c4
Add snippets for table operations. (#6484)
sangramql Dec 17, 2018
70a1329
fix bug in _reset_docs which put snapshot objects instead of document…
mcdonc Dec 17, 2018
4660080
Merge remote-tracking branch 'upstream/master' into 6533-implement-li…
mcdonc Dec 17, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
version: 2
jobs:
build:
docker:
- image: gcr.io/cloud-devrel-public-resources/python:latest
steps:
- checkout
- run:
name: Add GitHub public key to known hosts
command: |
mkdir -p ~/.ssh/
if [[ ! -f ~/.ssh/known_hosts ]] || ! grep "github.com" ~/.ssh/known_hosts; then
echo "
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
" >> ~/.ssh/known_hosts
fi
- run:
name: Make sure google-cloud setup.py is valid
command: |
nox -s lint_setup_py
- deploy:
name: Update the docs
command: nox -s docs
- deploy:
name: Push to PyPI (if this is a release tag).
command: test_utils/scripts/circleci/twine_upload.sh
working_directory: /var/code/gcp/

deployment:
tag_build_for_cci2:
# 1.0 style config for tag builds workaround
# For context, see:
# - https://discuss.circleci.com/t/build-on-tag/9864/30
# - https://discuss.circleci.com/t/git-tag-deploys-in-2-0/9493/8
# - https://circleci.com/gh/keybits/circulate/58#config/containers/0
# See "test_utils/scripts/circleci/get_tagged_package.py" for info on REGEX
tag: /(([a-z]+)-)*([0-9]+)\.([0-9]+)\.([0-9]+)/
commands:
- true
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ omit =
*/_generated/*.py
# Packages in the "google.cloud" package that we don't own.
*/google/cloud/gapic/*
fail_under = 100
*/google/cloud/grpc/*
*/google/cloud/proto/*
show_missing = True
exclude_lines =
# Re-enable the standard pragma
Expand Down
43 changes: 43 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.

# Chris Wilcox is the default owner for anything not explicitly
# taken by someone else.
* @crwilcox

# Danny Hermes is the primary author of the original core library, as
# well as most of the testing code. He is (currently) handling the
# rewrite of `ndb`.
core/* @dhermes
test_utils/* @dhermes
ndb/* @dhermes

# Thea Flowers is the author of the new google.api_core library.
api_core/* @theacodes
docs/core/* @theacodes

# Tim Swast and Alix Hamilton share responsibility for BigQuery.
bigquery/* @tswast @alixhami

# Danny Hermes and Tres Seaver co-authored the BigTable library.
bigtable/* @dhermes @tseaver

# Danny Hermes is the primary maintainer of the Datastore library.
datastore/* @dhermes

# Bill Prin is the primary maintainer of the Stackdriver libraries.
error_reporting/* @waprin
monitoring/* @waprin @supriyagarg @rimey
logging/* @waprin @tseaver

# Danny Hermes is the primary author of resource manager
resourcemanager/* @dhermes

# Tim Swast is the primary author of Runtime Config.
runtimeconfig/* @tswast

# Vikas Kedia is the product owner and Tres Seaver the author for Spanner.
spanner/* @vkedia @tseaver

# Doug Greiman and Angela Li are the owners of trace.
trace/* @liyanhui1228 @duggelz
28 changes: 28 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# How to Contribute

We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution;
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.

## Code reviews

All submissions, including submissions by project members, require review. We
use GitHub pull requests for this purpose. Consult
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
information on using pull requests.

## Community Guidelines

This project follows [Google's Open Source Community
Guidelines](https://opensource.google.com/conduct/).
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/google-cloud-python/issues
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-python

If you are still having issues, please be sure to include as much information as possible:

#### Environment details

1. Specify the API at the beginning of the title (for example, "BigQuery: ...")
General, Core, and Other are also allowed as types
2. OS type and version
3. Python version and virtual environment information: `python --version`
4. google-cloud-<service> version: `pip show google-<service>` or `pip freeze`

#### Steps to reproduce

1. ?

#### Code example

```python
# example
```

#### Stack trace
```
# example
```

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/support_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ pip-log.txt

# Unit test / coverage reports
.coverage
.nox
.tox
.cache
.pytest_cache
htmlcov

# Translations
*.mo
Expand All @@ -42,8 +45,13 @@ pip-log.txt
# JetBrains
.idea

# VS Code
.vscode

# Built documentation
docs/_build
docs/_build_doc2dash
bigquery/docs/generated

# Virtual environment
env/
Expand All @@ -53,10 +61,12 @@ coverage.xml
system_tests/local_test_setup

# Make sure a generated file isn't accidentally committed.
scripts/pylintrc_reduced
pylintrc
pylintrc.test

# Directories used for creating generated PB2 files
generated_python/
cloud-bigtable-client/
googleapis-pb/
grpc_python_venv/
pytype_output/
29 changes: 29 additions & 0 deletions .kokoro/build-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

set -eo pipefail

cd ${KOKORO_ARTIFACTS_DIR}/github/google-cloud-python
pwd
ls
env

# Kokoro currently uses 3.6.1
pyenv global 3.6.1

# Kokoro exposes this as a file, but the scripts expect just a plain variable.
export GITHUB_TOKEN=$(cat ${KOKORO_GFILE_DIR}/${GITHUB_TOKEN_FILE})

# Add github to known hosts.
ssh-keyscan github.com >> ~/.ssh/known_hosts

# Activate the ssh key for dpebot. This is used to clone
# repositories using the ssh:// protocol.
eval `ssh-agent -s`
chmod 600 ${KOKORO_GFILE_DIR}/id_rsa
ssh-add ${KOKORO_GFILE_DIR}/id_rsa

# Install Requirements
pip install --upgrade -r docs/requirements.txt

# Build and Publish Documentation
bash test_utils/scripts/update_docs.sh kokoro
56 changes: 56 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/bin/bash

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

cd github/google-cloud-python

# Disable buffering, so that the logs stream through.
export PYTHONUNBUFFERED=1

# Debug: show build environment
env | grep KOKORO

# Setup firestore account credentials
export FIRESTORE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/firebase-credentials.json

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json

# Setup project id.
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")

# Find out if this package was modified.
# Temporarily use Thea's fork of ci-diff-helper w/ Kokoro support.
python3.6 -m pip install --quiet git+https://github.com/theacodes/ci-diff-helper.git
python3.6 test_utils/scripts/get_target_packages_kokoro.py > ~/target_packages
cat ~/target_packages

if [[ ! -n $(grep -x "$PACKAGE" ~/target_packages) ]]; then
echo "$PACKAGE was not modified, returning."
exit;
fi

cd "$PACKAGE"

# Remove old nox
python3.6 -m pip uninstall --yes --quiet nox-automation

# Install nox
python3.6 -m pip install --upgrade --quiet nox
python3.6 -m nox --version

python3.6 -m nox
7 changes: 7 additions & 0 deletions .kokoro/continuous/api_core.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "api_core"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/asset.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "asset"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/automl.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "automl"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/bigquery.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "bigquery"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/bigquery_datatransfer.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "bigquery_datatransfer"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/bigquery_storage.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "bigquery_storage"
}
7 changes: 7 additions & 0 deletions .kokoro/continuous/bigtable.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "PACKAGE"
value: "bigtable"
}
Loading