Skip to content

Commit fd5f8e4

Browse files
authored
---
yaml --- r: 9089 b: refs/heads/master c: 719b914 h: refs/heads/master i: 9087: 0faa9fc
1 parent 58804f0 commit fd5f8e4

186 files changed

Lines changed: 1291 additions & 9480 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9da108143b605a45d831013f4ea6e27a047a2984
2+
refs/heads/master: 719b914bb713d124c6653fb6b6b761846ee9046e
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 8e9b065ba06cd7a4af306aaea1010aade81670e0
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/APPENGINE.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

trunk/CHANGES.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,3 @@
1414
- `TableResult.getTotalRows()` can be called to obtain the total number of rows across pages.
1515
- Various `Job` statistics are no longer available at `QueryResponse`.
1616
- Use `BigQuery.getJob` then `Job.getStatistics` instead.
17-
# v0.36.0
18-
## Pub/Sub
19-
- `TopicName` is renamed to `ProjectTopicName`, and now inherits from a new base class `TopicName`
20-
- `TopicNameOneOf`, `ProjectNameType` are deleted
21-
- `TopicNameOneOf.parse(String)`: use `TopicNames.parse(String)` instead
22-
- To check the subtype of the new `TopicName` base class, use `instanceof(...)`
23-
- `SubscriptionName` is renamed to `ProjectSubscriptionName`
24-
- `SnapshotName` is renamed to `ProjectSnapshotName`
25-
- Resource name helper methods are removed from request classes:
26-
- `setProjectWithProjectName(myProject)`: use `setProject(myProject.toString())` instead
27-
- `setNameWithTopicName(myTopic)`: use `setName(myTopic.toString())` instead
28-
- `setTopicWithTopicName(myTopic)`: use `setTopic(myTopic.toString())` instead
29-
- `setNameWithSubscriptionName(mySubscription)`: use `setName(mySubscription.toString())` instead
30-
- `setSubscriptionWithSubscriptionName(mySubscription)`: use `setSubscription(mySubscription.toString())` instead
31-
- `setNameWithSnapshotName(mySnapshot)`: use `setName(mySnapshot.toString())` instead
32-
- `setSnapshotWithSnapshotName(mySnapshot)`: use `setSnapshot(mySnapshot.toString())` instead
33-
- `topic.getNameAsTopicName()`: use `ProjectTopicName.parse(topic.getName())`
34-
- `subscription.getTopicAsTopicNameOneof()`: use `TopicNames.parse(subscription.getTopic())`
35-
- `subscription.getNameAsSubscriptionName()`: use `ProjectSubscriptionName.parse(subscription.getName())`
36-
- `snapshot.getNameAsSnapshotName()`: use `ProjectSnapshotName.parse(snapshot.getName())`

trunk/README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,22 @@ The easy way to get started is to add the umbrella package which pulls in all of
5252
dependencies. Note that even though the version of the umbrella package is Alpha, the individual clients are
5353
at different support levels (Alpha, Beta, and GA).
5454

55-
[//]: # ({x-version-update-start:google-cloud:released})
5655
If you are using Maven, add this to your pom.xml file
5756
```xml
5857
<dependency>
5958
<groupId>com.google.cloud</groupId>
6059
<artifactId>google-cloud</artifactId>
61-
<version>0.37.0-alpha</version>
60+
<version>0.35.0-alpha</version>
6261
</dependency>
6362
```
6463
If you are using Gradle, add this to your dependencies
6564
```Groovy
66-
compile 'com.google.cloud:google-cloud:0.37.0-alpha'
65+
compile 'com.google.cloud:google-cloud:0.33.0-alpha'
6766
```
6867
If you are using SBT, add this to your dependencies
6968
```Scala
70-
libraryDependencies += "com.google.cloud" % "google-cloud" % "0.37.0-alpha"
69+
libraryDependencies += "com.google.cloud" % "google-cloud" % "0.33.0-alpha"
7170
```
72-
[//]: # ({x-version-update-end})
7371

7472
It also works just as well to declare a dependency only on the specific clients that you need. See the README of
7573
each client for instructions.
@@ -177,7 +175,7 @@ Credentials in the following locations (in order):
177175
Troubleshooting
178176
---------------
179177
180-
To get help, follow the instructions in the [Troubleshooting document](https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/TROUBLESHOOTING.md).
178+
To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting).
181179
182180
Using a proxy
183181
-------------
@@ -270,29 +268,26 @@ we're working towards their release candidate. We will address issues and reques
270268
a higher priority.
271269
272270
**Alpha**: Libraries defined at an Alpha quality level are still a work-in-progress and
273-
are more likely to get backwards-incompatible updates. Additionally, it's possible for Alpha
274-
libraries to get deprecated and deleted before ever being promoted to Beta or GA.
271+
are more likely to get backwards-incompatible updates.
275272
276273
Version Management
277274
------------------
278275
279276
The easiest way to solve version conflicts is to use google-cloud's BOM. In Maven, add the following to your POM:
280277
281-
[//]: # ({x-version-update-start:google-cloud-bom:released})
282278
```xml
283279
<dependencyManagement>
284280
<dependencies>
285281
<dependency>
286282
<groupId>com.google.cloud</groupId>
287283
<artifactId>google-cloud-bom</artifactId>
288-
<version>0.37.0-alpha</version>
284+
<version>0.35.0-alpha</version>
289285
<type>pom</type>
290286
<scope>import</scope>
291287
</dependency>
292288
</dependencies>
293289
</dependencyManagement>
294290
```
295-
[//]: # ({x-version-update-end})
296291
297292
This BOM is only available starting at version 0.32.0-alpha. If you are having problems with prior versions of
298293
google-cloud, use the following table as a reference to make sure that your versions are compatible. Definitions:

trunk/RELEASING.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,42 +78,41 @@ To push a release version
7878

7979
3. Verify that all unit and integration tests for the last commit have passed.
8080

81-
4. Run `python utilities/bump_versions.py next_release minor` from the repository's base directory. (If there are only bug fixes and no additions to the surface, use `patch` instead of `minor`.) Alternatively, update the versions in `versions.txt` to the correct versions for the next release.
82-
83-
5. Run `python utilities/replace_versions.py` from the repository's base directory. This updates the versions in all `pom.xml` and `README.md` files in preparation for a release. Commit these files locally:
81+
4. Run `utilities/update_versions.sh` from the repository's base directory.
82+
This script takes optional arguments denoting the new versions for each qualifier (alpha, beta and/or GA). By default, if the current version is X.Y.Z-SNAPSHOT, the script will update the version in all the pom.xml and other relevant files to X.Y.Z. Please refer to the documentation in `utilities/update_versions.sh` for more details. Commit this version locally:
8483

8584
```
8685
git add .
8786
git commit -m "Release [VERSION HERE]"
8887
```
8988

90-
6. Make sure you are using Maven version 3.3 or higher to support the Nexus plugin required to stage a release.
89+
1. Make sure you are using Maven version 3.3 or higher to support the Nexus plugin required to stage a release.
9190

92-
7. To ensure a clean build, remove *all* Maven targets (including subdirectories not handled by `mvn clean`) by running `rm -rf target */target`.
91+
1. To ensure a clean build, remove *all* Maven targets (including subdirectories not handled by `mvn clean`) by running `rm -rf target */target`.
9392

94-
8. Run `utilities/stage_release.sh`.
93+
5. Run `utilities/stage_release.sh`.
9594
This script builds and stages the release artifact on the Maven Central Repository, updates the README.md files with the release version + commits them locally, and finally generates a new site version for the gh-pages branch under a temporary directory named `tmp_gh-pages`. If you haven't run the release process before, it's worth verifying everything; check the staged release on the Sonatype website, and verify that the local commits have the right version updates.
9695

9796
If you experience failures, you may need to:
9897
- repeat the clean step above
9998
- remove the temporary directory created to store docs by running `rm -rf tmp_gh-pages`
10099
- remove staged repositories from Sonatype (to prevent them from being released in subsequent steps): if a staged repository appears [here](https://oss.sonatype.org/#nexus-search;quick~com.google.cloud), remove it by running `mvn nexus-staging:drop`.
101100

102-
9. Run `utilities/finalize_release.sh`.
101+
6. Run `utilities/finalize_release.sh`.
103102
This script will release the staged artifact on the Maven Central Repository and push the README.md and gh-pages updates to github.
104103

105-
10. Publish a release on Github manually.
104+
7. Publish a release on Github manually.
106105
Go to the [releases page](https://github.com/GoogleCloudPlatform/google-cloud-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.
107106

108107
Add the commits since the last release into the release draft. Try to group them into sections with related changes. Anything that is a breaking change needs to be marked with `*breaking change*`. Such changes are only allowed for alpha/beta modules and `@BetaApi` features.
109108

110109
Ensure that the format is consistent with previous releases (for an example, see the [0.1.0 release](https://github.com/GoogleCloudPlatform/google-cloud-java/releases/tag/v0.1.0)). After adding any missing updates and reformatting as necessary, publish the draft.
111110

112-
11. Create a new draft for the next release. Note any commits not included in the release that have been submitted before the release commit, to ensure they are documented in the next release.
111+
1. Create a new draft for the next release. Note any commits not included in the release that have been submitted before the release commit, to ensure they are documented in the next release.
113112

114-
12. Run `python utilities/bump_versions next_snapshot patch` to include "-SNAPSHOT" in the current project version (Alternatively, update the versions in `versions.txt` to the correct versions for the next release.). Then, run `python utilities/replace_versions.py` to update the `pom.xml` files. (If you see updates in `README.md` files at this step, you probably did something wrong.)
113+
8. Run `utilities/update_versions.sh` again (to include "-SNAPSHOT" in the project version). Please refer to documentation in `utilities/update_versions.sh` for more details.
115114

116-
13. 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/google-cloud-java/pull/227).
115+
9. 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/google-cloud-java/pull/227).
117116

118117
Improvements
119118
============

trunk/TROUBLESHOOTING.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

trunk/google-cloud-bigquery/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,22 @@ Java idiomatic client for [Google Cloud BigQuery][cloud-bigquery].
1717
1818
Quickstart
1919
----------
20-
[//]: # ({x-version-update-start:google-cloud-bigquery:released})
2120
If you are using Maven, add this to your pom.xml file
2221
```xml
2322
<dependency>
2423
<groupId>com.google.cloud</groupId>
2524
<artifactId>google-cloud-bigquery</artifactId>
26-
<version>0.37.0-beta</version>
25+
<version>0.35.0-beta</version>
2726
</dependency>
2827
```
2928
If you are using Gradle, add this to your dependencies
3029
```Groovy
31-
compile 'com.google.cloud:google-cloud-bigquery:0.37.0-beta'
30+
compile 'com.google.cloud:google-cloud-bigquery:0.35.0-beta'
3231
```
3332
If you are using SBT, add this to your dependencies
3433
```Scala
35-
libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "0.37.0-beta"
34+
libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "0.35.0-beta"
3635
```
37-
[//]: # ({x-version-update-end})
3836

3937
Example Application
4038
-------------------

trunk/google-cloud-bigquery/pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>google-cloud-bigquery</artifactId>
5-
<version>1.19.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquery:current} -->
5+
<version>0.35.1-beta-SNAPSHOT</version>
66
<packaging>jar</packaging>
77
<name>Google Cloud BigQuery</name>
88
<url>https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigquery</url>
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>com.google.cloud</groupId>
1414
<artifactId>google-cloud-pom</artifactId>
15-
<version>0.37.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-pom:current} -->
15+
<version>0.35.1-alpha-SNAPSHOT</version>
1616
</parent>
1717
<properties>
1818
<site.installationModule>google-cloud-bigquery</site.installationModule>
@@ -73,6 +73,11 @@
7373
<artifactId>objenesis</artifactId>
7474
<scope>test</scope>
7575
</dependency>
76+
<dependency>
77+
<groupId>com.google.truth</groupId>
78+
<artifactId>truth</artifactId>
79+
<scope>test</scope>
80+
</dependency>
7681
</dependencies>
7782
<build>
7883
<plugins>

trunk/google-cloud-bigquerydatatransfer/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,22 @@ Transfer][cloud-bigquerydatatransfer].
1919
Quickstart
2020
----------
2121

22-
[//]: # ({x-version-update-start:google-cloud-bigquerydatatransfer:released})
2322
Add this to your pom.xml file
2423
```xml
2524
<dependency>
2625
<groupId>com.google.cloud</groupId>
2726
<artifactId>google-cloud-bigquerydatatransfer</artifactId>
28-
<version>0.37.0-beta</version>
27+
<version>0.35.0-beta</version>
2928
</dependency>
3029
```
3130
If you are using Gradle, add this to your dependencies
3231
```Groovy
33-
compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.37.0-beta'
32+
compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.35.0-beta'
3433
```
3534
If you are using SBT, add this to your dependencies
3635
```Scala
37-
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.37.0-beta"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.35.0-beta"
3837
```
39-
[//]: # ({x-version-update-end})
4038

4139
Authentication
4240
--------------

trunk/google-cloud-bigquerydatatransfer/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>google-cloud-bigquerydatatransfer</artifactId>
5-
<version>0.37.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerydatatransfer:current} -->
5+
<version>0.35.1-beta-SNAPSHOT</version>
66
<packaging>jar</packaging>
77
<name>Google Cloud Bigquery Data Transfer</name>
88
<url>https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigquerydatatransfer</url>
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>com.google.cloud</groupId>
1414
<artifactId>google-cloud-pom</artifactId>
15-
<version>0.37.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-pom:current} -->
15+
<version>0.35.1-alpha-SNAPSHOT</version>
1616
</parent>
1717
<properties>
1818
<site.installationModule>google-cloud-bigquerydatatransfer</site.installationModule>

0 commit comments

Comments
 (0)