Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
501 commits
Select commit Hold shift + click to select a range
8840b33
Remove default contentType from Bucket's create
mziccard Mar 18, 2016
5c4e288
Make NoAuthCredentials constructor private
mziccard Mar 18, 2016
19e0c6e
Add IamPolicy to SerializationTest
mziccard Mar 18, 2016
83ddb08
Add equals and hashCode to exceptions. Add exceptions to serializatio…
mziccard Mar 18, 2016
353d2db
Merge pull request #754 from mziccard/serialization-tests
aozarov Mar 18, 2016
95a1f90
Bundling descriptor for Publish
garrettjonesgoogle Mar 18, 2016
22636e2
Remove checks for contentType in CopyRequest
mziccard Mar 18, 2016
3e5db7a
Refactor CopyRequest: remove targetId, add boolean overrideInfo
mziccard Mar 20, 2016
1855ae1
Add better javadoc to Storage.copy and CopyWriter
mziccard Mar 20, 2016
5dd0292
Rephrase RewriteChannel and Storage.copy javadoc. Add final to CopyWr…
mziccard Mar 20, 2016
fa64fa5
Merge pull request #762 from mziccard/remove-compose-content-type
mziccard Mar 20, 2016
3e9e1a0
IAM docs and functional methods for policies
Mar 16, 2016
c05e738
Add binding entries as necessary in IamPolicy.Builder
Mar 21, 2016
7bbe67f
Take care of minor changes
Mar 21, 2016
5fbb41c
Merge pull request #760 from ajkannan/iam-docs-and-cleanup
ajkannan Mar 21, 2016
3a97ae1
Make role and permission strings to allow for service-specific values
Mar 22, 2016
52bf6c1
remove varargs for testPermissions and other minor fixes
Mar 22, 2016
a78f0a7
Merge pull request #772 from ajkannan/support-more-iam-roles
ajkannan Mar 22, 2016
b7c6da4
Rename startPageToken to pageToken in Storage and BigQuery
mziccard Mar 22, 2016
689bbb4
Merge pull request #774 from mziccard/rename-next-page-token
ajkannan Mar 22, 2016
e369b3c
Regenerating (fixing style issues)
garrettjonesgoogle Mar 22, 2016
1a0e970
Merge pull request #776 from garrettjonesgoogle/pubsub-alpha
garrettjonesgoogle Mar 22, 2016
d974887
Merge remote-tracking branch 'upstream/master' into dns-alpha
mderka Mar 23, 2016
e946b76
Updated the version in pom.
mderka Mar 23, 2016
9ac6a82
Merge pull request #782 from mderka/merge-master
ajkannan Mar 23, 2016
5c3fc94
Refactored the serialization test to use the base test
mderka Mar 23, 2016
2f90e7e
Merge pull request #783 from mderka/newserialization
ajkannan Mar 23, 2016
1a5aade
Renamed DnsRecord to RecordSet. Fixes #779.
mderka Mar 23, 2016
96e28d6
Merge pull request #784 from mderka/rename-dns-record
mderka Mar 24, 2016
01e2310
Turned ChangeRequest into a functional object.
mderka Mar 24, 2016
de8bf4b
Addressed comments. This includes:
mderka Mar 25, 2016
104f9e5
Merge pull request #789 from mderka/change-request-functional
mderka Mar 26, 2016
59c3215
Merge pull request #795 from ajkannan/merge-dns-alpha
ajkannan Mar 29, 2016
f3502a6
Merge branch 'master' into pubsub-alpha
shinfan Mar 29, 2016
f2f93bc
Release v0.1.6
Mar 29, 2016
a1b6c65
Update pom version to fix the build.
shinfan Mar 29, 2016
3df14dd
Merge pull request #799 from ajkannan/release-0.1.6
ajkannan Mar 29, 2016
fc5d091
Merge pull request #798 from shinfan/pubsub-alpha
aozarov Mar 29, 2016
0fcafa5
Update with latest surface fixes based Java export review.
shinfan Mar 29, 2016
7004918
Updating version in README files. [ci skip]
Mar 29, 2016
d2dc5e7
Update version to 0.1.7-SNAPSHOT
Mar 29, 2016
f97385f
Merge pull request #801 from ajkannan/pom-version-0.1.7-SNAPSHOT
ajkannan Mar 29, 2016
4ee0e32
update pom.xml to include DNS in javadoc groups
aozarov Mar 29, 2016
249cac6
Merge pull request #802 from aozarov/master
ajkannan Mar 29, 2016
7849e6e
Add pkg info for dns
Mar 29, 2016
2819942
Merge pull request #805 from ajkannan/dns-testing-pkg-info
ajkannan Mar 29, 2016
712b255
Add common interface for field selectors
mziccard Mar 29, 2016
69476eb
Add comment about releasing new modules
Mar 29, 2016
6747274
Merge pull request #806 from ajkannan/releasing-new-module
ajkannan Mar 29, 2016
2b52294
Merge conflict resolution.
Mar 29, 2016
489aca2
Update pom to fix the dependency issues.
shinfan Mar 29, 2016
732163e
Merge pull request #800 from shinfan/pubsub-alpha
aozarov Mar 29, 2016
24328ed
Update the grpc dependency of pubsub java.
shinfan Mar 29, 2016
564f181
Merge pull request #820 from shinfan/pubsub-alpha
aozarov Mar 30, 2016
1ca9616
Merge pull request #817 from ajkannan/bring-v1beta3-up-to-speed
ajkannan Mar 30, 2016
4d7cb29
Check if record added
Mar 30, 2016
1710a4c
Refactor field selection and helpers
mziccard Mar 30, 2016
80268f7
allow cleanup if record not added
Mar 30, 2016
acacd1d
Update codacy configuration
mziccard Mar 30, 2016
45c4665
Merge pull request #822 from ajkannan/improve-dns-it
aozarov Mar 30, 2016
637860c
Update dependencies
Mar 30, 2016
98c6974
Merge pull request #825 from ajkannan/update-deps
aozarov Mar 31, 2016
a248465
Merge pull request #823 from mziccard/codacy-conf
aozarov Mar 31, 2016
8db4b9b
Minor refactoring for SelectorHelper
mziccard Mar 30, 2016
4b1a4fd
Merge pull request #807 from mziccard/field-selector
mziccard Mar 31, 2016
379a0a8
Get projectId from gcloud active config
mziccard Mar 31, 2016
6cbddff
Merge pull request #831 from mziccard/active-gcloud-project
aozarov Apr 1, 2016
3324808
Rename id to generatedId for BigQuery resources
mziccard Apr 1, 2016
d4faad3
Rename id to generatedId for Storage resources
mziccard Apr 1, 2016
8df138b
Rename id to generatedId for Dns resources
mziccard Apr 1, 2016
5fea95f
Merge pull request #832 from mziccard/rename-id
ajkannan Apr 1, 2016
bf918e5
Merge remote-tracking branch 'upstream/update-datastore' into merge-v…
Apr 1, 2016
c70d9d7
Merge pull request #833 from ajkannan/merge-v1beta3
aozarov Apr 1, 2016
883c60e
rename QueryStage id to generatedId
Apr 1, 2016
43b2ef9
Release 0.1.7
Apr 1, 2016
0849646
Merge pull request #834 from ajkannan/rename-query-stage-id
aozarov Apr 1, 2016
9a8d156
Remove flaky tests
Apr 1, 2016
e1a17f0
Merge pull request #837 from ajkannan/comment-out-bigquery-its
aozarov Apr 1, 2016
df86a44
Fix endpoint
Apr 1, 2016
ba07c3f
Merge pull request #838 from ajkannan/fix-endpoint
aozarov Apr 1, 2016
106fae9
Merge pull request #835 from ajkannan/release-0.1.7
ajkannan Apr 1, 2016
6f54be2
Updating version in README files. [ci skip]
Apr 1, 2016
85d0188
Update to version 0.1.8-SNAPSHOT
Apr 2, 2016
545f099
Merge pull request #842 from ajkannan/version-0.1.8-snapshot
ajkannan Apr 2, 2016
59cdf37
Update ruby logo
mziccard Apr 4, 2016
d17e325
Extract projectId from GOOGLE_APPLICATION_CREDENTIALS if set
mziccard Apr 4, 2016
560d0b6
Modified methods in ChangeRequest.
mderka Apr 4, 2016
25ccf08
Fix Storage API activation instructions
ajkannan Apr 5, 2016
3e7069a
Addressed codacy issues in DNS.
mderka Apr 5, 2016
33a81a0
Job.isDone() returns true if the job does not exist
mziccard Apr 5, 2016
b29df66
Merge pull request #853 from mziccard/fix-job-isdone
mziccard Apr 5, 2016
804d447
Add ServiceAccountSigner interface, enable signing for AE credentials
mziccard Apr 6, 2016
29b1ea5
Merge pull request #854 from mziccard/signing-auth-interface
mziccard Apr 6, 2016
254fcc3
Add getting-started-java repo to releasing docs
ajkannan Apr 7, 2016
fae2908
Add examples
ajkannan Apr 7, 2016
5b4ea32
Remove check for empty list and add deprecated to javadoc for meaning…
ajkannan Apr 7, 2016
a8ec412
Fix checkstyle issues in gcloud-java-core (#871)
mziccard Apr 7, 2016
bdc472a
Add default retry params that align with SLA (#860)
ajkannan Apr 7, 2016
6987b00
Remove unnecessary project ID normalization (#875)
ajkannan Apr 7, 2016
53a60d1
Clean up LocalGcdHelper and docs (#821)
ajkannan Apr 8, 2016
1eb3522
Add javadoc for meaning deprecation (#878)
ajkannan Apr 8, 2016
af18b50
Suppress unchecked warning for defaultServiceFactory, defaultRpcFacto…
mziccard Apr 8, 2016
5dadf6a
Move test helpers' tests to testing package (#891)
mziccard Apr 11, 2016
099ada0
Add expiration date to App Engine credentials (#894)
ajkannan Apr 11, 2016
e9888a6
Update pubsub client with latest surface changes. (#885)
shinfan Apr 11, 2016
de23a12
Add release profile and use it to deploy artifacts (#889)
mziccard Apr 12, 2016
67609ee
Cleanup build scripts (#858)
ajkannan Apr 12, 2016
2fc3c21
Rename com.google.gcloud to com.google.cloud (#899)
ajkannan Apr 12, 2016
d947afb
Release 0.2.0 with repackaging note (#904)
ajkannan Apr 12, 2016
f652533
Updating version in README files. [ci skip]
Apr 12, 2016
74d6fd9
update version to 0.2.1-SNAPSHOT (#905)
ajkannan Apr 12, 2016
22e5665
Rename com.google.gcloud to com.google.cloud (#907)
garrettjonesgoogle Apr 12, 2016
37a16ae
Remove unused apt files and fix homepage URLs (#906)
mziccard Apr 12, 2016
8785cc5
reorder imports
Apr 12, 2016
81278d6
fix remaining checkstyle issues
Apr 12, 2016
e8854d8
Merge branch 'pubsub-alpha' of https://github.com/GoogleCloudPlatform…
aozarov Apr 13, 2016
613f19d
update pubsub pom
aozarov Apr 13, 2016
9a64e63
Merge pull request #913 from aozarov/pubsub-temp
aozarov Apr 13, 2016
13ab36f
Merge pull request #912 from ajkannan/linter-fixes
aozarov Apr 13, 2016
fd740ea
Marked exceptions for create and deletes in DNS as non-idempotent. (#…
mderka Apr 14, 2016
7d7b799
Enable mocking of functional classes and configurations (#892)
mziccard Apr 14, 2016
527c656
Added DNS helper to testing documentation. (#926)
mderka Apr 14, 2016
8b766e6
Documentation on supporting new services (#923)
ajkannan Apr 15, 2016
9de36ed
Add prefixes field to field selector when listing blobs (#933)
mziccard Apr 15, 2016
996aa47
ListValue: add static methods and builder setters for specific types
mziccard Apr 18, 2016
d18e7bb
Merge pull request #934 from mziccard/datastore-list-value
aozarov Apr 18, 2016
5e0de55
Add options(namespace) method to LocalDatastoreHelper (#936)
mziccard Apr 18, 2016
e213176
Add support for batches to DNS (#940)
mziccard Apr 20, 2016
0a6c6f7
Chain cause exception to service exception in translateAndThrow (#946)
mziccard Apr 21, 2016
d829e97
Update gcloud pubsub. (#951)
shinfan Apr 22, 2016
121783a
Make DNS batch get zone/changerequest return null for NOT_FOUND (#953)
mziccard Apr 22, 2016
8e914de
Add custom port support to LocalPubsubHelper (#956)
shinfan Apr 25, 2016
766a76d
Revert maven-source-plugin to version 2.4 to speed up builds (#961)
mziccard Apr 28, 2016
0cb8e3e
Add PubSub API prototype and related classes (#962)
mziccard Apr 28, 2016
90894b3
Add gcloud-java-compute module
mziccard Feb 22, 2016
a566ef4
Add Compute Engine immutable resources
mziccard Feb 22, 2016
c9f028e
Add DeprecationStatus to disk and machine type, other fixes
mziccard Feb 22, 2016
35fc77d
Migrate IDs from Long to BigInteger
mziccard Feb 23, 2016
d34490f
Add deprecation status to zone and region
mziccard Feb 24, 2016
785c3fe
Add test for missing fields, fix NPE, minor docs and lint fixes
mziccard Feb 24, 2016
feec3f1
Add matchesUrl method to identity objects. Add tests
mziccard Feb 24, 2016
9bd877a
Refactor Compute immutable resources' identities and classes
mziccard Feb 29, 2016
bf2a408
Remove tab indentation from compute's pom.xml
mziccard Feb 29, 2016
41f7ab7
Replace com.google.api.client.util.DateTime with Joda formatter
mziccard Mar 1, 2016
7fc133e
Add service methods for immutable Compute resources
mziccard Mar 1, 2016
566c581
Add RemoteComputeHelper and integration tests
mziccard Mar 1, 2016
c9add80
Refactor compute service
mziccard Mar 4, 2016
e1712e9
Add support for Compute's operations
mziccard Mar 8, 2016
091d7a8
Fix Compute operations issues
mziccard Mar 10, 2016
29f2bad
Rename maxResults to pageSize, add tests for pagination
mziccard Mar 13, 2016
8fad79d
Refactor compute operations
mziccard Mar 15, 2016
ba4fcf0
Remove final from immutable resource classes
mziccard Mar 15, 2016
de30a25
Operations: better javadoc for delete, stricter parsing of identities
mziccard Mar 16, 2016
3565376
Add support for Compute's addresses
mziccard Mar 16, 2016
f3c30f1
Provide better javadoc to address related classes
mziccard Mar 17, 2016
2d691aa
Refactor identity classes
mziccard Mar 21, 2016
6e1a3f9
Refactor Address and AddressInfo classes
mziccard Mar 21, 2016
e56cb4b
Remove unused imports
mziccard Mar 21, 2016
6f9ff34
Refactor Compute service class
mziccard Mar 21, 2016
514e3fe
Better javadoc for RemoteComputeHelper.baseResourceName
mziccard Mar 21, 2016
9cf9309
Make AddressInfo.builder return Builder instead of BuilderImpl
mziccard Mar 21, 2016
1d5f171
Use TO_PB_FUNCTION when possible in ComputeImplTest
mziccard Mar 22, 2016
44fedd6
Remove repeated casts in identities'equals method
mziccard Mar 22, 2016
f36d92c
Replace 'an unique' with 'the unique' everywhere
mziccard Mar 22, 2016
4c8f888
Add SnapshotInfo, related classes and tests
mziccard Mar 22, 2016
65fdd48
Add SnapshotInfo and related classes to SerializationTest, minor fixes
mziccard Mar 23, 2016
36ddd14
Add functional methods for snapshots and Snapshot class
mziccard Mar 23, 2016
f66ea60
Fix minor issues with functional snapshot methods and tests
mziccard Mar 24, 2016
de2a6b4
Add missing final, fix codacy issues
mziccard Mar 25, 2016
2d8d0ec
Better javadoc for aggregated list methods
mziccard Mar 25, 2016
5d2c682
Add ImageInfo and related non-functional classes
mziccard Mar 31, 2016
cd08330
Add functional methods for images and Image class
mziccard Apr 2, 2016
e7866b2
Add DiskInfo, disk configurations and test classes
mziccard Apr 7, 2016
f085a41
Add functional methods for disks and Disk class (#870)
mziccard Apr 11, 2016
5bb3e9d
Move Compute's spi package to compute.spi (#901)
mziccard Apr 12, 2016
382ab77
Add RemoteComputeHelperTest (#900)
mziccard Apr 12, 2016
6e2c262
Compute Operation: remove creationTimestamp field and fix isDone() (#…
mziccard Apr 13, 2016
a4f9f2d
Fix compute homepage URL (#927)
mziccard Apr 15, 2016
282f1fc
Add SubnetworkInfo, NetworkId, SubnetworkId and test classes (#895)
mziccard Apr 19, 2016
e15ed45
Add NetworkInfo, configuration classes and tests (#941)
mziccard Apr 19, 2016
ec9c0f1
Add functional methods for networks and subnetworks (#944)
mziccard Apr 20, 2016
19227df
Chain cause in ComputeException.translateAndThrow, add tests (#948)
mziccard Apr 20, 2016
4fb78d8
Add NetworkInterface, AccessConfig classes and related tests (#947)
mziccard Apr 22, 2016
428fdbd
Add AttachedDisk class, related configurations and tests (#917)
mziccard Apr 25, 2016
20032e7
Add InstanceInfo, related classes and tests (#955)
mziccard Apr 26, 2016
cdf660c
Rename type name getters (#957)
mziccard Apr 26, 2016
9d1d455
Add functional methods for instances, Instance class and tests (#959)
mziccard Apr 27, 2016
b8989f3
Add travis_wait directive before verify script (#965)
mziccard Apr 27, 2016
4888e12
Rename id to generatedId for Compute resources (#966)
mziccard Apr 27, 2016
77821f5
Compute: rename get/delete methods to getXxx/deleteXxx (#968)
mziccard Apr 28, 2016
d77974a
Add Compute examples and snippets. Add them to READMEs. (#967)
mziccard Apr 29, 2016
dd0b186
Rename package com.google.gcloud to com.google.cloud
mziccard Apr 29, 2016
17c6eba
Use BaseSerializationTest in compute's serialization test
mziccard Apr 29, 2016
ae0a6d2
Use FieldSelector interface and Helper in compute
mziccard Apr 29, 2016
f0ae430
Update Compute equals methods to support mocking
mziccard Apr 29, 2016
22fb41f
Merge pull request #970 from mziccard/compute-alpha
mziccard Apr 29, 2016
8e38d5b
Release 0.2.1
mziccard Apr 29, 2016
076e5bf
Merge pull request #971 from mziccard/release-0.2.1
mziccard Apr 29, 2016
3c8da93
Updating version in README files. [ci skip]
Apr 29, 2016
ddee42f
update version to 0.2.2-SNAPSHOT
mziccard Apr 29, 2016
82023df
Merge pull request #973 from mziccard/update-to-0.2.2-SNAPSHOT
mziccard Apr 29, 2016
881a078
Add javadoc and unit tests for TopicInfo (#976)
mziccard May 3, 2016
97e4db2
Add AsyncPage implementation and docs. Add related tests (#974)
mziccard May 4, 2016
ae1302c
Updating pubsub to match gax-java 0.0.12 (#981)
michaelbausor May 5, 2016
7857986
Add javadoc and unit tests for SubscriptionInfo (#977)
mziccard May 5, 2016
c339bf8
Re-enable ignored BigQuery integration tests (#986)
mziccard May 6, 2016
6bc34ff
Update LocalPubsubHelper to be compatible with beta emulators. (#992)
shinfan May 6, 2016
9879a16
Add TopicId and SubscriptionId classes (#984)
mziccard May 10, 2016
cd848c0
Add base class for operation options, javadoc and tests (#996)
mziccard May 11, 2016
215a5df
Add options() method and project name to LocalPubsubHelper (#999)
mziccard May 11, 2016
6e0c6c0
Add tests and javadoc for Message and ByteArray (#1000)
mziccard May 12, 2016
a8a88d1
Use new datastore client that permits IP addresses for localhost (#1002)
ajkannan May 12, 2016
8fc4f7a
Make LocalDatastoreHelper use https instead of http (#942)
pehrs May 12, 2016
1eded7e
Add javadoc and tests for PushConfig (#1004)
mziccard May 12, 2016
af79f8f
Refactor Datastore example, add example on embedded entities (#980)
mziccard May 13, 2016
fd387a5
Add base service option classes for gRPC and HTTP services (#1011)
mziccard May 16, 2016
554b03e
Fix StorageImpl.signUrl with object names starting with / (#1013)
mziccard May 17, 2016
2656eb9
Regenerated pubsub surface (#1009)
michaelbausor May 17, 2016
d5cf726
Fix readAllBytes permission error on GAE (#1010)
mziccard May 18, 2016
4c0332e
Move Clock out of ServiceOptions, use it in RetryHelper (#954)
mziccard May 20, 2016
e921bbe
Refactor storage batches to use StorageBatchRequest and BatchResult (…
mziccard May 20, 2016
e835197
Release 0.2.2
mziccard May 20, 2016
838a583
Merge pull request #1019 from mziccard/release-0.2.2
mziccard May 20, 2016
4aa33a1
Updating version in README files. [ci skip]
May 20, 2016
1b913b9
Update version to 0.2.3-SNAPSHOT
mziccard May 20, 2016
fceeb65
Merge pull request #1020 from mziccard/update-to-0.2.3-SNAPSHOT
mziccard May 20, 2016
fe4c90c
Implement Pub/Sub management methods, add javadoc and tests (#1015)
mziccard May 22, 2016
235152e
Implement modifyAckDeadline methods, add javadoc and tests (#1022)
mziccard May 25, 2016
b872399
Fix deleted topic name: _deleted_topic_ -> _deleted-topic_ (#1023)
mziccard May 26, 2016
11f4573
Add OAuth2AuthCredentials class and tests (#1030)
mziccard May 28, 2016
f4055bd
Add javadoc and tests for functional Topic class (#1021)
mziccard May 28, 2016
d3a49ea
Add createTime() to BlobInfo and Blob classes (#1034)
mziccard Jun 1, 2016
6df07ba
Implement ack and nack methods, add javadoc and tests (#1027)
mziccard Jun 1, 2016
9f96cf0
Add javadoc and tests for functional ReceivedMessage class (#1038)
mziccard Jun 1, 2016
e3a6d2e
Add AckDeadlineRenewer class for automatic ack deadline renewal (#1031)
mziccard Jun 3, 2016
2fd2d56
Implement Iterator pull methods, add javadoc and tests (#1041)
mziccard Jun 6, 2016
eb6f182
Add support for incomplete entities to Datastore.put (#1040)
mziccard Jun 8, 2016
f176d81
Extend StorageExample to show how to add ACLs to blobs and buckets (#…
mziccard Jun 8, 2016
3b35a9e
Add whenDone method and CompletionCallback to Job and Operation (#1016)
mziccard Jun 9, 2016
6539fbf
Update bigquery dependency and add support for BYTES datatype (#1045)
mziccard Jun 10, 2016
cb57550
Release 0.2.3
mziccard Jun 10, 2016
539a17d
Merge pull request #1050 from mziccard/release-0.2.3
mziccard Jun 10, 2016
adb2f65
Updating version in README files. [ci skip]
Jun 10, 2016
45e2751
Update version to 0.2.4-SNAPSHOT
mziccard Jun 10, 2016
20e5280
Merge pull request #1051 from mziccard/update-to-0.2.4-SNAPSHOT
mziccard Jun 10, 2016
59be142
Merge branch 'pubsub-alpha' into logging-alpha
mziccard Jun 13, 2016
3208eb3
Merge branch 'master' into master-into-pubsub
mziccard Jun 13, 2016
b137cad
Merge pull request #1053 from mziccard/master-into-pubsub
mziccard Jun 13, 2016
567f544
Merge branch 'pubsub-alpha' into pubsub-into-logging
mziccard Jun 13, 2016
91d320a
Update logging module version and dependencies
mziccard Jun 13, 2016
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before_install:
- cp target/travis/settings.xml ~/.m2/settings.xml
install: mvn install -DskipTests=true -Dgpg.skip=true
script:
- utilities/verify.sh
- travis_wait 30 utilities/verify.sh
after_success:
- utilities/after_success.sh
env:
Expand Down
11 changes: 8 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ Contributing
============

1. **Please sign one of the contributor license agreements below.**
1. Fork the repo, develop and test your code changes, add docs.
1. Make sure that your commit messages clearly describe the changes.
1. Send a pull request.
2. Fork the repo, develop and test your code changes, add docs.
3. Make sure that your commit messages clearly describe the changes.
4. Send a pull request.


Here are some guidelines for hacking on gcloud-java.
Expand Down Expand Up @@ -32,6 +32,8 @@ When changes are made to authentication and project ID-related code, authenticat

Known issue: If you have installed the Google Cloud SDK, be sure to log in (using `gcloud auth login`) before running tests. Though the Datastore tests use a local Datastore emulator that doesn't require authentication, they will not run if you have the Google Cloud SDK installed but aren't authenticated.

**Please, do not use your production projects for executing integration tests.** While we do our best to make our tests independent of your project's state and content, they do perform create, modify and deletes, and you do not want to have your production data accidentally modified.

Adding Features
---------------
In order to add a feature to gcloud-java:
Expand All @@ -41,6 +43,9 @@ The feature must work fully on Java 7 and above.
The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective,
but new dependencies should be discussed).

Adding Support for a New Service
--------------------------------
See [SUPPORTING_NEW_SERVICES](./SUPPORTING_NEW_SERVICES.md) for guidelines on how to add support for a new Google Cloud service to `gcloud-java`.

Coding Style
------------
Expand Down
293 changes: 226 additions & 67 deletions README.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Most of the release process is handled by the `after_success.sh` script, trigger
1. Run `utilities/update_pom_version.sh` from the repository's base directory.
This script takes an optional argument denoting the new version. By default, if the current version is X.Y.Z-SNAPSHOT, the script will update the version in all the pom.xml files to X.Y.Z. If desired, another version can be supplied via command line argument instead.

2. Create a PR to update the pom.xml version.
The PR should look something like [#225](https://github.com/GoogleCloudPlatform/gcloud-java/pull/225). After this PR is merged into GoogleCloudPlatform/gcloud-java, Travis CI will push a new website to GoogleCloudPlatform/gh-pages, push a new artifact to the Maven Central Repository, and update versions in the README files.
2. Create a PR to update the pom.xml version. If releasing a new client library, this PR should also update javadoc grouping in the base directory's [pom.xml](./pom.xml).
PRs that don't release new modules should look something like [#225](https://github.com/GoogleCloudPlatform/gcloud-java/pull/225). PRs that do release a new module should also add the appropriate packages to the javadoc groups "SPI" and "Test helpers", as shown in [#802](https://github.com/GoogleCloudPlatform/gcloud-java/pull/802) for `gcloud-java-dns`. After this PR is merged into GoogleCloudPlatform/gcloud-java, Travis CI will push a new website to GoogleCloudPlatform/gh-pages, push a new artifact to the Maven Central Repository, and update versions in the README files. Do not merge in any non-release-related pull requests between the start of step 2 and the end of step 6. Between these steps, the project version is a non-snapshot version, so any commits to the master branch will cause Travis to spend extra resources attempting to redeploy artifacts.

3. Before moving on, verify that the artifacts have successfully been pushed to the Maven Central Repository. Open Travis CI, click the ["Build History" tab](https://travis-ci.org/GoogleCloudPlatform/gcloud-java/builds), and open the second build's logs for Step 2's PR. Be sure that you are not opening the "Pull Request" build logs. When the build finishes, scroll to the end of the log and verify that the artifacts were successfully staged and deployed. You can also search for `gcloud-java` on the [Sonatype website](https://oss.sonatype.org/#nexus-search;quick~gcloud-java) and check the latest version number. If the deployment didn't succeed because of a flaky test, rerun the build.
3. Before moving on, verify that the artifacts have successfully been pushed to the Maven Central Repository. Open Travis CI, click the ["Build History" tab](https://travis-ci.org/GoogleCloudPlatform/gcloud-java/builds), and open the second build's logs for Step 2's PR. Be sure that you are not opening the "Pull Request" build logs. When the build finishes, scroll to the end of the log and verify that the artifacts were successfully staged and deployed. Search for `gcloud-java` on the [Sonatype website](https://oss.sonatype.org/#nexus-search;quick~gcloud-java) and check the latest version number. In rare cases (when the Maven plugin that determines the version of the repository fails), the artifacts may not be deployed even if the version in the pom.xml files doesn't contain `SNAPSHOT`. If the artifacts weren't deployed due to invalid version parsing or a flaky test, rerun the build.

4. Publish a release on Github manually.
Go to the [releases page](https://github.com/GoogleCloudPlatform/gcloud-java/releases) and open the appropriate release draft. Make sure the "Tag Version" is `vX.Y.Z` and the "Release Title" is `X.Y.Z`, where `X.Y.Z` is the release version as listed in the `pom.xml` files. The draft should already have all changes that impact users since the previous release. To double check this, you can use the `git log` command and look through the merged master branch pull requests. Here is an example of the log command to get non-merge commits between v0.0.12 and v0.1.0:
Expand All @@ -26,7 +26,7 @@ As mentioned before, there is an optional version argument. By default, the scr

6. Create and merge in another PR to reflect the updated project version. For an example of what this PR should look like, see [#227](https://github.com/GoogleCloudPlatform/gcloud-java/pull/227).

7. Be sure to update App Engine documentation and [java-docs-samples](https://github.com/GoogleCloudPlatform/java-docs-samples) code as necessary. See directions [here](https://docs.google.com/a/google.com/document/d/1SS3xNn2v0qW7EadGUPBUAPIQAH5VY6WSFmT17ZjjUVE/edit?usp=sharing).
7. Be sure to update Google Cloud Platform docs, [java-docs-samples](https://github.com/GoogleCloudPlatform/java-docs-samples) code/docs, and [getting-started-java](https://github.com/GoogleCloudPlatform/getting-started-java) code/docs. See directions [here](https://docs.google.com/a/google.com/document/d/1SS3xNn2v0qW7EadGUPBUAPIQAH5VY6WSFmT17ZjjUVE/).

### To push a snapshot version

Expand Down
Loading