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

transfer package:gcloud #14

Merged
merged 276 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
86c5413
Number of updates to the storage API
sgjesse Oct 31, 2014
2b59743
Remove unused code from test.
sgjesse Oct 31, 2014
245f1e6
Remove Pub/Sub for now
sgjesse Oct 31, 2014
2e40c1f
Add AclScope cmparison again
sgjesse Oct 31, 2014
a0ee4d4
Cache the calculated hash code
sgjesse Oct 31, 2014
e3b8bdc
Workaround for possible bug in Apiary Datastore Server
mkustermann Oct 31, 2014
fa78dc5
Enable end2end tests for datastore/db
mkustermann Nov 3, 2014
c6064c1
Fix metamodel.dart: Use model's static member
mkustermann Nov 3, 2014
39d8c90
Prepare for publishing v0.1.0
mkustermann Nov 3, 2014
4ce20b4
Increase delay when after eventually consistent operations in datasto…
mkustermann Nov 3, 2014
ebc0e86
Widen pubspec version constraints for googleapis{,_auth,_beta}
mkustermann Nov 6, 2014
1925660
Update models.dart
enyo Nov 6, 2014
a5d6fa0
Merge pull request dart-lang/gcloud#10 from exitlive/master
mkustermann Nov 6, 2014
59c05ab
pkg/gcloud: v0.1.1
kevmoo Nov 7, 2014
b81f407
Fix version number in CHANGELOG
sgjesse Nov 7, 2014
cb4edde
Getting rid of INDEX_UPDATE_DELAY sleeps db/datastore tests
mkustermann Nov 14, 2014
1411b3a
Add context library to package:gcloud and registerX()/get X functions…
mkustermann Nov 19, 2014
90a3029
Disable datastore/storage e2e tests inside build/
mkustermann Nov 21, 2014
cd333c4
Add documentation on supported filter strings
sgjesse Nov 24, 2014
4f1b55f
Prepare pubspec/CHANGELOG for version 0.1.2
mkustermann Nov 28, 2014
daee10b
Widen package:googleapis constraint in pubspec.yaml
mkustermann Dec 3, 2014
db437e2
[datastore] Bugfix in ListProperty(), correctly handle list values of…
mkustermann Dec 3, 2014
ed8bd0e
Change the service scope keys keys to non-private symbols
sgjesse Dec 4, 2014
3a87199
First attempt to deflake package waterfall builders
mkustermann Dec 19, 2014
34b559a
Second attempt to deflake package waterfall builders
mkustermann Dec 19, 2014
61959e3
Third attempt to finally deflake builders on package waterfall
mkustermann Jan 7, 2015
fb6680e
Temporarily remove failing test and remove the timeout which is alrea…
wibling Feb 5, 2015
87b7b1b
Update pubspec.yaml
nicolasgarnier Feb 15, 2015
37c196e
Update pubspec.yaml
nicolasgarnier Feb 15, 2015
93f11e0
Roll googleapis and googleapis_beta dependencies
sgjesse Feb 19, 2015
a52cb64
Add DatastoreDB.replace({defaultPartition})
mkustermann Feb 19, 2015
df6ac27
When running db queries deduce the query-partition automatically from…
mkustermann Feb 19, 2015
607fdcf
Bugfix in sanity check: Prevent null-dereference
mkustermann Feb 19, 2015
d790394
Revert "Remove Pub/Sub for now"
sgjesse Mar 13, 2015
03a3cd7
Update Pub/Sub API to use the v1beta2 google API
sgjesse Mar 13, 2015
06a31bb
Make the API hostname configurable for the mock tests
sgjesse Mar 13, 2015
53b08cc
Update .status for new Cloud Pub/Sub tests
sgjesse Mar 13, 2015
d0acd24
Add more Cloud Pub/Sub tests
sgjesse Mar 17, 2015
e5c5142
Enforce fully populated entity keys in a number of places
mkustermann Mar 24, 2015
58a022d
Change the noWait argument on pull to wait
sgjesse Mar 25, 2015
95010e1
Update the SDK constraint for gcloud to 1.9
sgjesse Mar 25, 2015
42aea64
Update README file.
sgjesse Mar 25, 2015
f066add
Prepare for releasing version 0.2.0
sgjesse Apr 13, 2015
54eccda
Remove dependencies on package:googleapis/common/common.dart
sgjesse Apr 13, 2015
bff22eb
Remove leftover solo_test
sgjesse Apr 15, 2015
dc8b77a
Mark Pub/Sub e2e test as slow
sgjesse Apr 15, 2015
5b2f977
Make test fail if post-processing of leftovers caused errors
sgjesse Apr 20, 2015
31b25f6
Widen constraint on googleapis/googleapis_beta
mkustermann Jun 1, 2015
89df228
Widen constraints to pick up latest googleapis versions.
wibling Jun 12, 2015
414acc1
remove unused members
kevmoo Jun 24, 2015
1fa1fc4
Widen constraints to pick up latest googleapis versions.
sgjesse Jun 25, 2015
0de164d
simplify _MediaUploadStreamSink._onDone
kevmoo Jun 26, 2015
a666fa7
Make sure errors that occur during Storage.read are sent to the retur…
kevmoo Jun 26, 2015
7137ae9
Nit in readme
lukechurch Jul 2, 2015
4b27352
Merge pull request dart-lang/gcloud#30 from dart-lang/lukechurch_read…
sgjesse Jul 2, 2015
5519100
Widen constraints to pick up latest googleapis versions.
sgjesse Aug 5, 2015
4ba506b
Widen constraints to pick up latest googleapis versions.
mkustermann Aug 17, 2015
f4f25c7
Fix bugs in gcloud storage e2e test
sgjesse Sep 3, 2015
7aa29d1
Widen constraints to pick up latest googleapis versions.
kevmoo Sep 9, 2015
ddea462
Widen constraints to pick up latest googleapis versions
sgjesse Sep 14, 2015
dd66bc5
Add the solo_test back
sgjesse Sep 14, 2015
e86f3ec
spelling fixes
kevmoo Sep 21, 2015
7400da0
widen constraints on gcloudapis[_beta] packages
kevmoo Sep 21, 2015
f52a28f
README cleanup
enyo Sep 22, 2015
e1ca878
Merge pull request dart-lang/gcloud#35 from enyo/patch-2
mkustermann Sep 22, 2015
4930a0c
Update README.md to fix minor dart code
mkustermann Oct 23, 2015
03f413d
Implement support for converting db values to datastore values with d…
mkustermann Dec 14, 2015
7ad652c
Address analyzer warnings
mkustermann Dec 17, 2015
9af6b0f
Throw a StateError in case no model was registered for a given kind
mkustermann Mar 8, 2016
3a40438
Update dependencies on googleapis/googlepais_beta packages
sgjesse Apr 11, 2016
60370d1
Removing crypto and upgrading dart sdk and googleapis deps
enyo Apr 11, 2016
d290d3d
Upgrade googleapis_auth dependency
enyo Apr 11, 2016
28faa98
Remove crypto dependency in pubsub test
enyo Apr 11, 2016
3e730af
Merge pull request dart-lang/gcloud#40: Remove crypto dependency and …
mkustermann Jun 8, 2016
9c4e4fd
Roll versions of googleapis/googleapis_beta, fix googleapis_auth depe…
mkustermann Jun 8, 2016
0dfa9f4
Update pubspec.yaml/changelog.
mkustermann Jun 8, 2016
8135b63
Implement missing interface member in mock ModelDB
whesse Aug 18, 2016
31afc0c
Upgrade to use stable `package:googleapis/v1.dart` of datastore
mkustermann Aug 29, 2016
3346db2
Remove FilterRelation.In / "property IN" queries, upgrade googleapis{…
mkustermann Mar 6, 2017
24301d0
Fix entity deserialization error message to show a propertyName corre…
Jun 2, 2017
27fb67e
Standardize license file
kevmoo Sep 13, 2017
544bc41
Run dartfmt on all .dart files
mkustermann Sep 21, 2017
5802e83
Cleanup (dart-lang/gcloud#50)
kevmoo Oct 6, 2017
89cb93a
Align dependencies (dart-lang/gcloud#51)
sestegra Mar 15, 2018
795cfbe
Delete PATENTS
kevmoo Mar 16, 2018
318f89b
Fix Dart 2 runtime issues. (dart-lang/gcloud#53)
jakobr-google May 18, 2018
d4e783a
Add generics support for queries and lookups (dart-lang/gcloud#55)
enyo Aug 1, 2018
ec409af
Update pubspec.yaml to 0.6.0 (dart-lang/gcloud#56)
mkustermann Aug 1, 2018
b3eba3b
Widen sdk constraint to include <3.0.0 (dart-lang/gcloud#57)
mkustermann Aug 1, 2018
cf5f1e2
Fix small bug where if the type is not found in the description table…
jcollins-g Aug 9, 2018
064f543
Documented index requirements for running datastore tests
jonasfj Nov 6, 2018
478e688
Update package:test for dart 2.0 compatibility
jonasfj Nov 6, 2018
008dfb2
Reduced bucket.create request frequency, to improve test reliablility
jonasfj Nov 6, 2018
4c8198b
Fixes from review
jonasfj Nov 6, 2018
836741a
Merge pull request dart-lang/gcloud#63 from jonasfj/test-fixes
jonasfj Nov 6, 2018
59479fc
Update to pubsub v1 API (dart-lang/gcloud#64)
sestegra Dec 5, 2018
a4f96e3
Support pubsub emulator (dart-lang/gcloud#66)
sestegra Dec 5, 2018
6e89798
Support the latest pkg:http (dart-lang/gcloud#67)
kevmoo Jan 11, 2019
3ae6680
dartfmt
kevmoo Jan 11, 2019
c00fdbd
enable and fix a number of lints
kevmoo Jan 11, 2019
4c0cc91
enable travis
kevmoo Jan 11, 2019
24eda97
Fix analyzer warnings with latest SDK, reenable non-pedantic lints
kevmoo Jan 16, 2019
58b69bb
remove codereview settings
kevmoo Jan 16, 2019
933fcc0
Enable non-e2e tests on Travis
kevmoo Jan 16, 2019
98d029c
Bump to 0.6.0+3
jonasfj Apr 1, 2019
62752ca
Merge pull request dart-lang/gcloud#71 from jonasfj/release-lint-fixes
jonasfj Apr 1, 2019
040bf1b
Added an example
jonasfj Apr 1, 2019
0628995
Merge pull request dart-lang/gcloud#72 from jonasfj/add-example
jonasfj Apr 1, 2019
16dabdd
Fix latest pedantic lints
kevmoo May 10, 2019
302c7a3
Test on the oldest supported SDK
kevmoo May 10, 2019
553806e
Enable lints fixed by dartfmt --fix
kevmoo May 10, 2019
cf89139
fix formatting (dart-lang/gcloud#74)
kevmoo May 24, 2019
41c7957
fix return values in anon functions (dart-lang/gcloud#75)
kevmoo Jun 7, 2019
1915009
Update README.md
dnfield Jul 3, 2019
0a9d0eb
Update README.md
dnfield Jul 4, 2019
61ae3c2
make private field final
kevmoo Jul 18, 2019
4f2a956
Merge pull request dart-lang/gcloud#77 from dnfield/patch-1
dnfield Jul 22, 2019
a10bb4e
Various enhancements (dart-lang/gcloud#78)
tvolkert Jul 23, 2019
3b8ad2b
Fix logic in `Transaction.rollback()` (dart-lang/gcloud#79)
tvolkert Jul 25, 2019
8280aa6
Add `DatastoreDB.lookupValue()` (dart-lang/gcloud#80)
tvolkert Jul 29, 2019
67e5597
Fixed datastore test cases
jonasfj Aug 21, 2019
460e3e5
Merge pull request dart-lang/gcloud#81 from jonasfj/fix-datastore-tests
jonasfj Aug 21, 2019
abe82c8
Add possibility to define generic keys
enyo Jul 31, 2018
f2ec369
Refactor _isExpandoClass to use ClassMirror.isSubtypeOf
enyo Sep 25, 2019
9ec71df
Convert to the correct Key generic type from datastore
enyo Sep 25, 2019
63bc08f
Add Key.cast()
enyo Oct 1, 2019
562870e
Bump version and update CHANGELOG
enyo Oct 1, 2019
9136b52
Mention that package doesn't work with Flutter
sigurdm Dec 6, 2019
052895a
Merge pull request dart-lang/gcloud#85 from dart-lang/sigurdm-patch-1
sigurdm Dec 6, 2019
5e279cb
Fix latest pedantic lints (dart-lang/gcloud#89)
kevmoo Feb 28, 2020
11f2b28
Merge remote-tracking branch 'origin/master' into generics-keys-updated
enyo Mar 5, 2020
2fe1172
Fix test that missed the cast implementation
enyo Mar 5, 2020
48545ef
Remove author from pubspec
kevmoo Mar 13, 2020
79dc4f8
Merge branch 'master' into generics-keys-updated
enyo Mar 17, 2020
f684ed3
Merge pull request dart-lang/gcloud#83 from exitlive/generics-keys-up…
jonasfj Apr 29, 2020
488a7a5
0.7.0+1: Correct path separator in Bucket.list() to be '/'.
whesse May 4, 2020
8a55305
Update test expectations after googleapis update (dart-lang/gcloud#97)
kevmoo May 12, 2020
d00a32a
Upgrade _discoveryapis_commons, and fix mocks to work with newer goog…
jonasfj May 7, 2020
df26a8b
Merge pull request dart-lang/gcloud#96 from jonasfj/upgrade-discovery…
jonasfj May 28, 2020
1f32c02
Adding delimiter to Bucket.list and Bucket.page
isoos Jun 3, 2020
ae738c5
Fix tests to work again.
jonasfj Jun 9, 2020
464fbd2
Merge pull request dart-lang/gcloud#103 from jonasfj/fix-tests-locally
jonasfj Jun 10, 2020
45cbd19
Merge pull request dart-lang/gcloud#101 from isoos/delimiter
jonasfj Jun 10, 2020
7aaa2a8
Make ExpandoModel generic
jonasfj May 12, 2020
e9c6015
Revert the isExpandoClass logic from before generic keys
jonasfj Jun 10, 2020
a4f9daf
Merge pull request dart-lang/gcloud#98 from jonasfj/fix-expando-model
jonasfj Jun 10, 2020
2f6ca0b
Really add delimiter to Bucket.list and .page
isoos Jun 10, 2020
8a0ba48
Merge pull request dart-lang/gcloud#104 from isoos/delimiter2
jonasfj Jun 10, 2020
3965797
Fixed reflection logic detecting isExpandoClass.\n\nType arguments me…
jonasfj Jun 11, 2020
67a1ab0
Merge pull request dart-lang/gcloud#105 from jonasfj/fix-generic-model
jonasfj Jun 11, 2020
8ade7ed
Migrate to GitHub Actions (dart-lang/gcloud#107)
athomas Jan 28, 2021
fc36e30
Require latest dependency, start migration
simolus3 Mar 20, 2021
447a3ad
Fix tests
simolus3 Mar 20, 2021
d20eb45
Fix new lints (dart-lang/gcloud#110)
kevmoo Mar 21, 2021
943cea5
Update LICENSE
franklinyow Apr 2, 2021
7c5e035
Merge pull request dart-lang/gcloud#111 from dart-lang/franklinyow-pa…
franklinyow Apr 2, 2021
b0203ad
sort directives
pq Apr 26, 2021
0507f35
Merge pull request dart-lang/gcloud#112 from dart-lang/sort_directives
pq Apr 26, 2021
a741615
Merge pull request dart-lang/gcloud#109 from simolus3/sparkling-nulls
jonasfj May 4, 2021
b66b497
Migrate storage.dart
simolus3 May 4, 2021
20ac336
Use late final for cached hashCode
simolus3 May 4, 2021
f36f0bf
Format example/main.dart
simolus3 May 4, 2021
f958282
Fix storage_test.dart
simolus3 May 4, 2021
3a55dcc
Merge pull request dart-lang/gcloud#113 from simolus3/null-safe-storage
jonasfj May 27, 2021
edd88d5
Support latest googleapis, prepare release
simolus3 May 27, 2021
c472675
Migrated pubsub implementation
jonasfj May 27, 2021
bfe8bf8
Merge pull request dart-lang/gcloud#115 from jonasfj/migrate-pubsub
jonasfj May 27, 2021
7f0751d
Migrated datastore to null-safety
jonasfj May 27, 2021
0bf3369
Merge pull request dart-lang/gcloud#114 from simolus3/support-latest-…
jonasfj May 27, 2021
4050a96
Migrated db to null-safety
jonasfj May 27, 2021
72a27d3
Merge pull request dart-lang/gcloud#116 from jonasfj/migrated-db
jonasfj May 31, 2021
623548d
Prepare 0.8.0 release
jonasfj May 31, 2021
a0277b1
Merge pull request dart-lang/gcloud#117 from jonasfj/prepare-release
jonasfj Jun 1, 2021
9896260
Add dependabot
kevmoo Jun 5, 2021
7afc1f5
Bump dart-lang/setup-dart from 0.3 to 1 (dart-lang/gcloud#118)
dependabot[bot] Jun 5, 2021
f47c3e3
lookupOrNull in DatastoreBD and Transaction
isoos Jun 18, 2021
163d27f
Merge pull request dart-lang/gcloud#119 from isoos/lookup-or-null
jonasfj Jun 18, 2021
ba377c9
Fix typo in error message
jonasfj Jul 15, 2021
3348528
Merge pull request dart-lang/gcloud#121 from jonasfj/fix-typo
jonasfj Jul 16, 2021
faabf94
Fix `Page.next()` when `Page.isLast` is `true`.
jonasfj Jul 16, 2021
6ff639d
Added a constructor to Datastore
jonasfj Jul 17, 2021
cd30a39
Migrated remaining tests
jonasfj Jul 17, 2021
d5ed5c6
Fix review comments
jonasfj Jul 17, 2021
dbfaba9
Fix lints
jonasfj Jul 17, 2021
a3e11e2
Fix formatting
jonasfj Jul 17, 2021
770b267
clean up idFunction
jonasfj Jul 20, 2021
17468be
Fix README.md to reference new factory constructor
jonasfj Jul 20, 2021
3070846
Merge pull request dart-lang/gcloud#122 from jonasfj/fix-page-next-nu…
jonasfj Jul 21, 2021
6ed0917
Support googleapis v4
simolus3 Aug 18, 2021
69e1d10
Support 5.0.0 as well
simolus3 Sep 15, 2021
87a5fa3
Support v3-v5
simolus3 Sep 15, 2021
6465656
Merge pull request dart-lang/gcloud#125 from simolus3/support-googlea…
jonasfj Sep 15, 2021
c927de4
Drop unneeded directives and redundant type checks (dart-lang/gcloud#…
kevmoo Sep 27, 2021
acb50d9
Switch to pkg:lints for lints
kevmoo Oct 13, 2021
d374c07
Merge pull request dart-lang/gcloud#129 from dart-lang/lints
jonasfj Oct 14, 2021
a1a319b
Update googleapis package to latest version (dart-lang/gcloud#128)
keyonghan Oct 14, 2021
57f330a
Support latest googleapis – prepare release (dart-lang/gcloud#132)
kevmoo Nov 2, 2021
cc92ac9
Drop unused ctor param in private class (dart-lang/gcloud#135)
kevmoo Feb 16, 2022
c18915e
Forward pauses for GCS upload with unknown size
simolus3 Feb 7, 2022
33d3081
Bump version, add changelog
simolus3 Feb 7, 2022
d79162e
Make internal buffer private
simolus3 Feb 7, 2022
3690e1a
Bump actions/checkout from 2 to 3 (dart-lang/gcloud#136)
dependabot[bot] Mar 2, 2022
2ec897a
Merge pull request dart-lang/gcloud#134 from simolus3/gcs-upload-fix
jonasfj Mar 3, 2022
1a8e76e
Switch from homepage to repository in pubspec (dart-lang/gcloud#137)
devoncarew Apr 20, 2022
c417c8a
remove an nnbd file exclusion
devoncarew Jun 11, 2022
7b9ba6e
Merge pull request dart-lang/gcloud#139 from dart-lang/remove_nnbd_ex…
devoncarew Jun 13, 2022
901fc67
Prepare release
jonasfj Aug 24, 2022
08ad50d
Merge pull request dart-lang/gcloud#142 from jonasfj/new-release
jonasfj Aug 24, 2022
0ce8b00
Update README.md
mit-mit Aug 25, 2022
bf111b2
Merge pull request dart-lang/gcloud#143 from dart-lang/mit-mit-patch-1
mit-mit Aug 26, 2022
75bfae3
blast_repo fixes (dart-lang/gcloud#146)
kevmoo Nov 9, 2022
8467b1d
Fix dart-lang/gcloud#144 (dart-lang/gcloud#147)
jonasfj Nov 22, 2022
09c52d4
Migrate from no-implicit-casts to strict-casts (dart-lang/gcloud#149)
srawlins Jan 9, 2023
790373f
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/gcloud#148)
dependabot[bot] Jan 11, 2023
0a189ba
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/gcloud#151)
dependabot[bot] Feb 1, 2023
4dd5ac3
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/gcloud#152)
dependabot[bot] Feb 1, 2023
fb96fa7
Add comment about upsert (dart-lang/gcloud#154)
szakarias Feb 7, 2023
ba2c5e7
Enable and fix new team lints, require Dart 2.19 (dart-lang/gcloud#155)
kevmoo Mar 6, 2023
9a22627
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/gcloud#156)
dependabot[bot] Apr 3, 2023
0cd5ea7
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/gcloud#157)
dependabot[bot] Apr 3, 2023
24c4e7b
Prepare release with topics (dart-lang/gcloud#160)
jonasfj May 4, 2023
ddf76d5
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/gcloud#159)
dependabot[bot] May 8, 2023
597fe30
blast_repo fixes (dart-lang/gcloud#161)
devoncarew May 17, 2023
b9716a1
blast repo changes: auto-publish (dart-lang/gcloud#165)
devoncarew Jun 21, 2023
f873d20
allow latest pkg:http and pkg:googleapis (dart-lang/gcloud#164)
felangel Jun 21, 2023
02066dd
widen the sdk constraint (dart-lang/gcloud#166)
devoncarew Jun 21, 2023
bdd4244
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/gcloud#167)
dependabot[bot] Jul 1, 2023
0b7c4bb
Support retrying Datastore operations. (dart-lang/gcloud#168)
isoos Jul 21, 2023
1652eef
Fix missing retries in Page.next (dart-lang/gcloud#170)
jonasfj Aug 10, 2023
cb792d8
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/gcloud#171)
dependabot[bot] Sep 1, 2023
3c455ca
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/gcloud#173)
dependabot[bot] Oct 1, 2023
6c26969
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/gcloud#172)
dependabot[bot] Oct 3, 2023
a4bd14b
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/gcloud#175)
dependabot[bot] Nov 1, 2023
e70fb39
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/gcloud#176)
dependabot[bot] Nov 1, 2023
6bbb1e2
Extend version constraint to allow googleapis 12.x (dart-lang/gcloud#…
jonasfj Jan 10, 2024
f3249e1
type (dart-lang/gcloud#177)
jarrodcolburn Jan 10, 2024
20b889d
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/gcloud#180)
dependabot[bot] Feb 1, 2024
197e5a1
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/gcloud#183)
dependabot[bot] Apr 1, 2024
9171859
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/gcloud#184)
dependabot[bot] May 1, 2024
c2290d9
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/gcloud#185)
dependabot[bot] May 1, 2024
498ef77
blast_repo fixes (dart-lang/gcloud#186)
devoncarew May 6, 2024
bccde7a
Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group…
dependabot[bot] May 6, 2024
2676806
Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group…
dependabot[bot] Jun 1, 2024
835f979
Bump the github-actions group with 2 updates (dart-lang/gcloud#190)
dependabot[bot] Jul 1, 2024
8e80241
Upgrade googleapis constraint (dart-lang/gcloud#192)
isoos Sep 5, 2024
355b010
Spelling (dart-lang/gcloud#189)
jsoref Sep 11, 2024
535244d
Spelling api (dart-lang/gcloud#193)
jsoref Sep 11, 2024
c061502
Add support for metadata in Storage.copyObject (dart-lang/gcloud#194)
jonasfj Sep 27, 2024
61c038d
Merge package:gcloud into shared labs repository
devoncarew Sep 27, 2024
a42de7f
update package:gcloud metadata and CI config
devoncarew Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .github/workflows/gcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: package:gcloud
permissions: read-all

on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/gcloud.yml'
- 'pkgs/gcloud/**'
push:
branches: [ main ]
paths:
- '.github/workflows/gcloud.yml'
- 'pkgs/gcloud/**'
schedule:
- cron: '0 0 * * 0' # weekly

env:
PUB_ENVIRONMENT: bot.github

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/gcloud
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
# 2. release channel: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: pkgs/gcloud
strategy:
fail-fast: false
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [2.19.0, dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm -P ci
if: always() && steps.install.outcome == 'success'
6 changes: 6 additions & 0 deletions pkgs/gcloud/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.dart_tool/
pubspec.lock
packages
.pub
.packages
.idea
39 changes: 39 additions & 0 deletions pkgs/gcloud/.status
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
*/packages/*: Skip
*/*/packages/*: Skip
*/*/*/packages/*: Skip

# We do not run the e2e tests inside the build/ directory in order to prevent
# ./tools/test.py from running several e2e in parallel.
build/test/db_all_e2e_test: Skip
build/test/storage/e2e_test: Skip
build/test/pubsub/pubsub_e2e_test: Skip

# This test is slow because
# - eventual consistency forces us to put in sleep()s
# - it does e2e testing
# - it combines several tests to avoid concurrent tests touching the same data
test/db_all_e2e_test: Slow, Pass

# This test is slow because
# - it does e2e testing
test/pubsub/pubsub_e2e_test: Slow, Pass

[ $browser ]
build/test/storage/e2e_test: Skip
test/storage/e2e_test: Skip

build/test/db_all_e2e_test: Skip
test/db_all_e2e_test: Skip

build/test/pubsub/pubsub_e2e_test: Skip
test/pubsub/pubsub_e2e_test: Skip

# Imports common_e2e.dart, which uses dart:io
build/test/storage/storage_test: Skip
test/storage/storage_test: Skip

build/test/pubsub/pubsub_test: Skip
test/pubsub/pubsub_test: Skip

[ $compiler == dart2js ]
*: Skip
6 changes: 6 additions & 0 deletions pkgs/gcloud/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Below is a list of people and organizations that have contributed
# to the Dart project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
264 changes: 264 additions & 0 deletions pkgs/gcloud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
## 0.8.14
- Support override metadata properties in `copyObject`.

## 0.8.13
- Support the latest version `^13.0.0` of the `googleapis` package.

## 0.8.12
- Support the latest version 12.0.0 of the `googleapis` package.

## 0.8.11
- After the first `Page` created by `Datastore.withRetry()` retries were not
happening. This is now fixed, ensuring that `Page.next()` will always retry
when `Datastore` is wrapped with `Datastore.withRetry()`.
- Calling with `wait: false` in `Subscription.pull(wait: false)` for `PubSub`
have been deprecated.

## 0.8.10

- Widen the SDK constraint to support Dart 3.0
- Support retrying Datastore operations.

## 0.8.9

- Support the latest version 1.0.0 of the `http` package.
- Support the latest version 12.0.0 of the `googleapis` package.

## 0.8.8

- Require Dart 2.19
- Add topics in `pubspec.yaml`.

## 0.8.7

- Fix `Bucket.write` when size is below 1MB.

## 0.8.6

- Throttle streams piped into `Bucket.write` when the size is not known
beforehand.
- Support the latest version 9.0.0 of the `googleapis` package.

## 0.8.5

- Support the latest version 7.0.0 of the `googleapis` package.

## 0.8.4

- Support the latest version 6.0.0 of the `googleapis` package.

## 0.8.3

- Support the latest version of the `googleapis` package.

## 0.8.2

* **BREAKING CHANGE:** `Page.next()` throws if `Page.isLast`, this change only
affects code not migrated to null-safety, when paging through results in
pub-sub and storage without checking `Page.isLast`.
Code fully migrated to null-safety will have experienced a runtime null check
error, and paging code for datastore already throw an `Error`.

## 0.8.1

* `lookupOrNull` method in `DatastoreDB` and `Transaction`.

## 0.8.0

* Require Dart 2.12 or later
* Migration to null safety.

## 0.7.3
* Fixed issue in reflection code affecting `Model<int>` and `Model<String>`,
but not `Model<dynamic>`.

## 0.7.2

* Added `delimiter` to `Bucket.list` and `Bucket.page`
(`0.7.1` only added them the implementation).

## 0.7.1

* Added `delimiter` to `Bucket.list` and `Bucket.page`.
* Fix typing of `ExpandoModel` to `ExpandoModel<T>` as we should have done in
version `0.7.0`.

## 0.7.0+2

* Upgrade dependency on `_discoveryapis_commons`, changing `ApiRequestError`
from an `Error` to an `Exception`. Version constraints on
`_discoveryapis_commons` allows both new and old versions.

## 0.7.0+1

* Fix path separator in Bucket.list().

## 0.7.0

* **BREAKING CHANGE:** Add generics support for `Model.id`.
It is now possible to define the type of the id a model has (either `String`
or `int`). A model can now be defined as
`class MyModel extends Model<String> {}` and `myModel.id` will then
be of type `String` and `myModel.key` of type `Key<String>`.

## 0.6.4

* Require minimum Dart SDK `2.3.0`.

## 0.6.3

* Added `DatastoreDB.lookupValue()`

## 0.6.2

* Fixed bug in `Transaction.rollback()`.

## 0.6.1

* Added examples.
* Fixed formatting and lints.
* Allow `Model` classes to contain constructors with optional or named
arguments (as long as they're annotated with `@required`).
* Add generics support to `withTransaction()`.

## 0.6.0+4

* Updated package description.
* Added an example showing how to use Google Cloud Storage.

## 0.6.0+3

* Fixed code formatting and lints.

## 0.6.0+2

* Support the latest `pkg:http`.

## 0.6.0+1

* Add explicit dependency to `package:_discoveryapis_commons`
* Widen sdk constraint to <3.0.0

## 0.6.0

* **BREAKING CHANGE:** Add generics support. Instead of writing
`db.query(Person).run()` and getting back a generic `Stream<Model>`, you now
write `db.query<Person>().run()` and get `Stream<Person>`.
The same goes for `.lookup([key])`, which can now be written as
`.lookup<Person>([key])` and will return a `List<Person>`.

## 0.5.0

* Fixes to support Dart 2.

## 0.4.0+1

* Made a number of strong-mode improvements.

* Updated dependency on `googleapis` and `googleapis_beta`.

## 0.4.0

* Remove support for `FilterRelation.In` and "propertyname IN" for queries:
This is not supported by the newer APIs and was originally part of fat-client
libraries which performed multiple queries for each item in the list.

* Adds optional `forComparison` named argument to `Property.encodeValue` which
will be set to `true` when encoding a value for comparison in queries.

* Upgrade to newer versions of `package:googleapis` and `package:googleapis_beta`

## 0.3.0

* Upgrade to use stable `package:googleapis/datastore/v1.dart`.

* The internal [DatastoreImpl] class takes now a project name without the `s~`
prefix.

## 0.2.0+14

* Fix analyzer warning.

## 0.2.0+13

* Remove crypto dependency and upgrade dart dependency to >=1.13 since
this dart version provides the Base64 codec.

## 0.2.0+11

* Throw a [StateError] in case a query returned a kind for which there was no
model registered.

## 0.2.0+10

* Address analyzer warnings.

## 0.2.0+9

* Support value transformation in `db.query().filter()`.
* Widen constraint on `googleapis` and `googleapis_beta`.

## 0.2.0+8

* Widen constraint on `googleapis` and `googleapis_beta`.

## 0.2.0+4

* `Storage.read` now honors `offset` and `length` arguments.

## 0.2.0+2

* Widen constraint on `googleapis/googleapis_beta`

## 0.2.0+1

* Fix broken import of package:googleapis/common/common.dart.

## 0.2.0

* Add support for Cloud Pub/Sub.
* Require Dart version 1.9.

## 0.1.4+2

* Enforce fully populated entity keys in a number of places.

## 0.1.4+1

* Deduce the query partition automatically from query ancestor key.

## 0.1.4

* Added optional `defaultPartition` parameter to the constructor of
`DatastoreDB`.

## 0.1.3+2

* Widened googleapis/googleapis_beta constraints in pubspec.yaml.

## 0.1.3+1

* Change the service scope keys to non-private symbols.

## 0.1.3

* Widen package:googleapis dependency constraint in pubspec.yaml.
* Bugfix in `package:appengine/db.dart`: Correctly handle ListProperties
of length 1.

## 0.1.2

* Introduced `package:gcloud/service_scope.dart` library.
* Added global getters for getting gcloud services from the current service
scope.
* Added an `package:gcloud/http.dart` library using service scopes.

## 0.1.1

* Increased version constraint on googleapis{,_auth,_beta}.

* Removed unused imports.

## 0.1.0

* First release.
Loading