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

Merge with master to pick up bugfix #937

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
35ea69a
Add missing case for start_cursor
Oct 16, 2015
af6ab8f
Merge pull request #212 from ajkannan/v1beta3-query-update
aozarov Oct 16, 2015
02a56a8
Don't allow user to set project id or namespace to null
Oct 16, 2015
a98d096
remove extra firstNonNull in KeyFactory
Oct 16, 2015
8245607
Merge pull request #269 from ajkannan/nonnull-projID-namespace
aozarov Oct 16, 2015
f6eeddd
Support GeoPoint value in Datastore v1beta3
Oct 19, 2015
3ccc7ed
Add getters, remove filtering
Oct 20, 2015
d75b0da
rename accessors in geopoint
Oct 20, 2015
241960f
rename geopoint to latlng
Oct 20, 2015
9e4692d
Merge pull request #270 from ajkannan/geopoint-value
aozarov Oct 20, 2015
50a5a66
Query continuation implemented for GqlQuery + tests
Oct 19, 2015
b270c64
Set namespace in Gql's nextQuery and add another batch to tests
Oct 21, 2015
6ffe927
remove changes to structured query's builder and instead use fromPb i…
Oct 21, 2015
b54c501
Merge pull request #273 from ajkannan/gql-pagination
aozarov Oct 22, 2015
bba6925
pull updates from upstream/master into update-datastore branch
Oct 22, 2015
482954f
Merge pull request #277 from ajkannan/pull-updates
aozarov Oct 22, 2015
3d7ea2c
update afterCursor javadoc
Jan 15, 2016
0864393
Merge pull request #555 from ajkannan/add-cursor-after-docs
ajkannan Jan 16, 2016
2bf4925
Initial project for Google Cloud DNS in gcloud-java
mderka Jan 16, 2016
fe4e137
Added DnsRecord as a part of the basic data model.
mderka Jan 16, 2016
f652277
Implemented comments by @mziccard
mderka Jan 19, 2016
b29945f
Second round of comments from @mziccard
mderka Jan 20, 2016
1fc0e32
Implemented comments by @aozarov. Also removed incomplete
mderka Jan 21, 2016
01662be
Implements comments by @ajkannan
mderka Jan 21, 2016
1c65715
Removed the method for removing a record by index.
mderka Jan 21, 2016
f994057
Another round of comments from @aozarov.
mderka Jan 22, 2016
7493f1a
Merge pull request #559 from mderka/gcloud-dns
aozarov Jan 22, 2016
1c69b05
Merge pull request #574 from GoogleCloudPlatform/master
mderka Jan 22, 2016
e8dd142
Created a ManagedZoneInfo class as part of the model.
mderka Jan 20, 2016
c95c3aa
Implemented comments by @aozarov.
mderka Jan 23, 2016
dacea19
Another round of comments from @aozarov.
mderka Jan 25, 2016
20f325b
Merge pull request #575 from mderka/dns-managed-zone
aozarov Jan 26, 2016
273b441
Implemented ChangeRequest.
mderka Jan 26, 2016
35cfd61
Added test for ChangeRequest.
mderka Jan 26, 2016
6f9e1c0
Implements comments from @ajkannan and @aozarov.
mderka Jan 27, 2016
438c05a
Merge pull request #587 from mderka/dns-change
mderka Jan 27, 2016
9b4ff48
Added ProjectInfo.
mderka Jan 26, 2016
a47158d
Fixed serialization, javadoc and checkstyle.
mderka Jan 27, 2016
9db27d4
Implements comment from @aozarov and @ajkannan into ProjectInfo.
mderka Jan 28, 2016
4412c73
Changed documentation @code to @link where applicable.
mderka Jan 28, 2016
2c87334
Merge pull request #590 from mderka/dns-project
mderka Jan 28, 2016
81a46d8
Renames ManagedZone to Zone. Acommodates codecheck. Fixes #579.
mderka Jan 28, 2016
c364ff3
Modified ttl to accept time unit. Fixed #581.
mderka Jan 28, 2016
7bcff48
Implemented comments by @aozarov.
mderka Jan 28, 2016
a2fdb69
Merge pull request #592 from mderka/dns-polishing
mderka Jan 28, 2016
f9b6f6a
Added DnsService interface.
mderka Jan 28, 2016
4fdc8ee
Added AbstractOption.
mderka Jan 28, 2016
06becd8
Added DnsException.
mderka Jan 28, 2016
81cedc4
Added DnsServiceRpc.
mderka Jan 29, 2016
bf1361c
Added DnsServiceOptions and necessary dependencies.
mderka Jan 29, 2016
ec57eb2
Merge changes from upstream/master
Jan 29, 2016
465f532
Modified DnsException to pass tests.
mderka Jan 29, 2016
71d91aa
Fixed missed merge conflict
Jan 29, 2016
a8bee9c
Implements comments by @aozarov.
mderka Jan 30, 2016
762483b
Makes ProjectInfo.Quota serializable. Fixed #599.
mderka Jan 30, 2016
e17bedb
Implemented DnsOptions up to two unavailable classes.
mderka Jan 30, 2016
adf5c1c
Added test for AbstractOption.
mderka Feb 1, 2016
a9cc927
Implemented comments by @aozarov. Added test for option accessors.
mderka Feb 1, 2016
6ecde35
Comments by @aozarov second round.
mderka Feb 2, 2016
c5566eb
Merge pull request #597 from mderka/dns-options
mderka Feb 2, 2016
a69101a
Added Dns methods. Fixes #596. Added Zone and ZoneTest
mderka Feb 2, 2016
fbe5a1d
Merge remote-tracking branch 'upstream/master' into update-datastore
Feb 2, 2016
d27d567
Fix ServiceOptions merge bug, remove unnecessary protected modifier f…
Feb 2, 2016
667e606
Merge pull request #598 from ajkannan/update-datastore
aozarov Feb 2, 2016
e083dfd
Fixed documentation and some code formatting. Declared exceptions to be
mderka Feb 2, 2016
d6daf09
Adjusted documentation, removed getProjectId and getProjectNumber
mderka Feb 3, 2016
e3686e3
Merge pull request #606 from mderka/dns-options
mderka Feb 3, 2016
0338ead
Completes DnsRpc interface by adding methods and doc.
mderka Feb 3, 2016
bc4b820
Implements DefaultDnsRpc. Progress in #595.
mderka Feb 3, 2016
896de75
Fixed documentation and null returns from rpc.
mderka Feb 3, 2016
3ae0f21
Change Tuple<X,Y> into ListResult<X>, added NAME option.
mderka Feb 4, 2016
35dbb34
Merge pull request #616 from mderka/dns-options
aozarov Feb 4, 2016
71f5ae2
Makes name of Zone mandatory and removes id-based methods.
mderka Feb 4, 2016
3183f4a
Added field options for zone create method.
mderka Feb 4, 2016
4057dcd
Fixed doc after refactoring. Made zone name mandatory in fields.
mderka Feb 5, 2016
d722635
Javadoc fixed.
mderka Feb 5, 2016
b128548
Merge pull request #620 from mderka/dns-options
mderka Feb 5, 2016
5be58b3
Makes Zone subclass of ZoneInfo. Fixes #605.
mderka Feb 7, 2016
d1c4512
Added implementation of Dns and test. Renamed getProjectInfo.
mderka Feb 7, 2016
c0c5451
Included options attribute to Zone. Fixed symmetry of toPb and fromPb.
mderka Feb 8, 2016
ee5bb8f
Removed zone.get() and optimized retries.
mderka Feb 9, 2016
86b4356
Merge pull request #629 from mderka/rpc-default
aozarov Feb 9, 2016
db52e09
Made nameServerSet read only and setters package private.
mderka Feb 9, 2016
fa081ac
Merge pull request #633 from mderka/rpc-default
mderka Feb 9, 2016
a1ec7f4
Added local implementation of the service and tests.
mderka Feb 19, 2016
04f354a
Added RPC layer of tests for local helpers. Closes #665.
mderka Feb 23, 2016
cbf737d
Added integration tests.
mderka Feb 24, 2016
75269ff
Removed unnecessary integration tests. Adjusted deleting objects.
mderka Feb 26, 2016
7e498c1
Remove userinfo scope from DatastoreOptions
Mar 1, 2016
b4bd1b9
Merge pull request #690 from ajkannan/remove-user-info-scope
aozarov Mar 1, 2016
c95e5e7
Allow eventual consistency for Datastore reads
Feb 18, 2016
76e3b3e
Clean up test code and javadoc formatting
Mar 1, 2016
0d794ea
Improve eventual consistency javadoc
Mar 1, 2016
47aae51
Merge pull request #691 from ajkannan/v1beta3-read-consistency
ajkannan Mar 1, 2016
9b6929b
Added retryable errors.
mderka Mar 1, 2016
22153aa
Added sleep and renamed change completion check.
mderka Mar 1, 2016
44b1998
Merge pull request #674 from mderka/integration
mderka Mar 2, 2016
4f28101
Added retries for userRateLimitExceeded and rateLimitExceeded.
mderka Mar 2, 2016
030e819
Merge pull request #700 from mderka/retries
mderka Mar 3, 2016
5a1d93f
Merge branch 'master' into merge-master
mderka Mar 3, 2016
5858809
pom.xml version edit
mderka Mar 3, 2016
d163bfb
Merge pull request #707 from mderka/merge-master
ajkannan Mar 3, 2016
8684506
Added missing waits for change completion.
mderka Mar 3, 2016
8e6aeef
Merge pull request #708 from mderka/integration
mderka Mar 3, 2016
b8031e1
Adjusted clear not to collide when parallel test are running.
mderka Mar 4, 2016
481db7a
Merge pull request #713 from mderka/integration
mderka Mar 4, 2016
1f06caf
The following has been done within multiple iterations:
mderka Feb 24, 2016
53e87fe
Merge pull request #656 from mderka/dummy
mderka Mar 9, 2016
3cf0722
Switched ZoneInfo.builder(). to ZoneInfo.of(). Fixes #698.
mderka Mar 1, 2016
90897f3
Renamed a test method and a variable.
mderka Mar 10, 2016
a26bd59
Merge pull request #736 from mderka/zone-of
mziccard Mar 10, 2016
ac1ba66
Add more detailed javadoc to Blob and Storage signUrl
mziccard Mar 11, 2016
ddb1ade
Rephrase signUrl javadoc for better clarity
mziccard Mar 13, 2016
d97c188
Rename maxResults to pageSize
mziccard Mar 14, 2016
767be65
LocalDnsHelper adds the default change upon creating a zone.
mderka Mar 14, 2016
86e23d5
Fix flaky RemoteGcsHelperTest.testForceDeleteTimeout
mziccard Mar 14, 2016
f5c0587
Merge pull request #746 from mderka/local-adjustment
mderka Mar 14, 2016
9e5c173
Merge pull request #745 from mziccard/rename-max-results
mderka Mar 14, 2016
646f3c9
Merge pull request #747 from mziccard/master
aozarov Mar 14, 2016
96e380c
Moved spi package to dns.spi as per #742
mderka Mar 14, 2016
6be68bc
Merge pull request #748 from mderka/spi-refactor
ajkannan Mar 14, 2016
4e0248f
Add better javadoc for signUrl examples
mziccard Mar 15, 2016
3b083a6
Merge pull request #743 from mziccard/signurl-javadoc
mziccard Mar 15, 2016
886a8bd
Added a DNS example and documentation.
mderka Mar 2, 2016
8e82f35
Fixed based on first round of comments:
mderka Mar 10, 2016
da877d8
Added code snippets for DNS.
mderka Mar 10, 2016
3cdc3a4
Merge pull request #717 from mderka/example
mderka Mar 15, 2016
baee7d7
Added integration test for invalid change request.
mderka Mar 14, 2016
736b6e1
Merge pull request #749 from mderka/spi-refactor
mderka Mar 15, 2016
c2c6628
Add get, replace, and test for IAM
Mar 1, 2016
7d48ec7
Merge pull request #718 from ajkannan/get-set-test-iam
ajkannan Mar 15, 2016
8ae8a1b
Create base class for serialization tests
mziccard Mar 16, 2016
f7f4de8
Added READMEs. This includes:
mderka Mar 1, 2016
17442b0
Merge pull request #750 from mderka/readme
mderka Mar 16, 2016
967c5c5
Add tests for restorable classes. Fix serialization issues
mziccard Mar 17, 2016
034432a
Remove serialization test for ApplicationDefaultAuthCredentials
mziccard Mar 17, 2016
ce59793
Add restorableObjects method to BaseSerializationTest
mziccard Mar 17, 2016
0a113cd
Remove default contentType from Storage's compose
mziccard Mar 18, 2016
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
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
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
f2f93bc
Release v0.1.6
Mar 29, 2016
3df14dd
Merge pull request #799 from ajkannan/release-0.1.6
ajkannan 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
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
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
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
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
5644d92
Merge with master to pick up bugfix
jean-philippe-martin Apr 18, 2016
c138bf0
Move gcloud->cloud (issue #877) and update version number
jean-philippe-martin Apr 18, 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
  •  
  •  
  •  
9 changes: 6 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 @@ -43,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
201 changes: 141 additions & 60 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