-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move Stat and clarify example command line #960
Move Stat and clarify example command line #960
Conversation
- Stat is now in com.google.cloud.examples.nio (following the gcloud -> cloud move) - Added version for appassembler to remove warning - added 'mvn install' to instructions because it's necessary.
I realized I couldn't run the examples anymore. Updated the instructions, they work now. |
Looks good to me. Not related to this PR: I just noticed that the example's README.md is broken (see here). I believe the reason is a missing closing ``` at line 72. Just let me know if you plan to fix it in this PR. |
@@ -37,7 +37,8 @@ To run examples from your command line: | |||
|
|||
2. Set your current project using `gcloud config set project PROJECT_ID`. This step is not necessary for `ResourceManagerExample`. | |||
|
|||
3. Compile using Maven: `cd gcloud-java-examples` in command line from your base project directory and then `mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true`. | |||
3. Compile using Maven: `mvn install -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true` in command line from your base project directory |
Thanks for finding the broken markdown! Of course I fixed it! |
6398cfd
to
f27b5c3
Compare
Oh I noticed some links in the README were broken (space between [text] and (link), no idea how it got there!) Fixed those too. |
Actually it looks like this is broken in a few other places too, for example gcloud-java-storage/README.md also has a space after the [text] in the header and the bit about semantic versioning. That can't be on purpose, can it? |
Yes there's no reason for the space to be there, but the anchor works anyway right? Feel free to merge this PR, I will open an issue for those extra spaces. |
Merging. You're right, it seems to work fine on GitHub's web site. It's broken in my IDE's preview, which is how I found it. |
Co-authored-by: Anthonios Partheniou <partheniou@google.com> Source-Link: googleapis/synthtool@72c64b7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b2e8f445ca0e605d4bbefbfdbdf7335692d75cf1647af62243828dcc0ea4e690
…960) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://github.com/googleapis/java-core) | `2.8.7` -> `2.8.8` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-core</summary> ### [`v2.8.8`](https://github.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​288-httpsgithubcomgoogleapisjava-corecomparev287v288-2022-08-04) [Compare Source](https://github.com/googleapis/java-core/compare/v2.8.7...v2.8.8) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​897](https://github.com/googleapis/java-core/issues/897)) ([29e4fc9](https://github.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE0My4xIn0=-->
🤖 I have created a release *beep* *boop* --- ## [3.1.0](googleapis/java-vision@v3.0.2...v3.1.0) (2022-08-09) ### Features * Add TextDetectionParams.advanced_ocr_options ([#962](googleapis/java-vision#962)) ([178e4a4](googleapis/java-vision@178e4a4)) ### Dependencies * update dependency com.google.cloud:google-cloud-core to v2.8.6 ([#955](googleapis/java-vision#955)) ([c4fdb49](googleapis/java-vision@c4fdb49)) * update dependency com.google.cloud:google-cloud-core to v2.8.7 ([#958](googleapis/java-vision#958)) ([0a11239](googleapis/java-vision@0a11239)) * update dependency com.google.cloud:google-cloud-core to v2.8.8 ([#960](googleapis/java-vision#960)) ([8d62c20](googleapis/java-vision@8d62c20)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#952](googleapis/java-vision#952)) ([3400667](googleapis/java-vision@3400667)) * update dependency com.google.cloud:google-cloud-storage to v2.10.0 ([#956](googleapis/java-vision#956)) ([89b114c](googleapis/java-vision@89b114c)) * update dependency com.google.cloud:google-cloud-storage to v2.11.0 ([#959](googleapis/java-vision#959)) ([3885ac8](googleapis/java-vision@3885ac8)) * update dependency com.google.cloud:google-cloud-storage to v2.11.1 ([#961](googleapis/java-vision#961)) ([99996d4](googleapis/java-vision@99996d4)) * update dependency com.google.cloud:google-cloud-storage to v2.11.2 ([#963](googleapis/java-vision#963)) ([1f7e3ba](googleapis/java-vision@1f7e3ba)) * update spring.version to v2.7.2 ([#951](googleapis/java-vision#951)) ([8e4c6ab](googleapis/java-vision@8e4c6ab)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…telligence-bom to v2.2.3 (#960) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-video-intelligence-bom](https://github.com/googleapis/java-video-intelligence) | `2.2.1` -> `2.2.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-intelligence). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTQuOSIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC45In0=-->
…0.11 (#960) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://github.com/googleapis/java-pubsub) | `1.120.10` -> `1.120.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.120.11`](https://github.com/googleapis/java-pubsub/blob/HEAD/CHANGELOG.md#​112011-httpsgithubcomgoogleapisjava-pubsubcomparev112010v112011-2022-08-06) [Compare Source](https://github.com/googleapis/java-pubsub/compare/v1.120.10...v1.120.11) ##### Bug Fixes - fix dependency declaration to properly include runtime scope ([#​1238](https://github.com/googleapis/java-pubsub/issues/1238)) ([e9a4ce5](https://github.com/googleapis/java-pubsub/commit/e9a4ce59fdf3773fa41698579984af525a277f38)) ##### Dependencies - update dependency com.google.cloud:google-cloud-bigquery to v2.14.2 ([#​1235](https://github.com/googleapis/java-pubsub/issues/1235)) ([e2af6c3](https://github.com/googleapis/java-pubsub/commit/e2af6c358ef9e7a0d35179bc4a7c793bbc6a0960)) - update dependency com.google.cloud:google-cloud-bigquery to v2.14.3 ([#​1236](https://github.com/googleapis/java-pubsub/issues/1236)) ([399e8d7](https://github.com/googleapis/java-pubsub/commit/399e8d71d5b4aed2fa48e8cba2dce963d25693e3)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNDYuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC40In0=-->
🤖 I have created a release *beep* *boop* --- ## [3.7.0](googleapis/java-dlp@v3.6.7...v3.7.0) (2022-09-15) ### Features * Add Deidentify action ([#977](googleapis/java-dlp#977)) ([4f43cd5](googleapis/java-dlp@4f43cd5)) ### Bug Fixes * Update DeIdentificationTest ([#976](googleapis/java-dlp#976)) ([661f316](googleapis/java-dlp@661f316)) ### Dependencies * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.11 ([#960](googleapis/java-dlp#960)) ([c66384d](googleapis/java-dlp@c66384d)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.12 ([#969](googleapis/java-dlp#969)) ([586795f](googleapis/java-dlp@586795f)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.13 ([#974](googleapis/java-dlp#974)) ([b37407b](googleapis/java-dlp@b37407b)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.14 ([#982](googleapis/java-dlp#982)) ([8ac525a](googleapis/java-dlp@8ac525a)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#980](googleapis/java-dlp#980)) ([885dc15](googleapis/java-dlp@885dc15)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#984](googleapis/java-dlp#984)) ([8cd0a40](googleapis/java-dlp@8cd0a40)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==4.21.7` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-monitoring). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDguMiIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4yIn0=-->
🤖 I have created a release *beep* *boop* --- ## [2.4.8](https://github.com/googleapis/java-containeranalysis/compare/v2.4.7...v2.4.8) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#963](https://github.com/googleapis/java-containeranalysis/issues/963)) ([f8084b8](https://github.com/googleapis/java-containeranalysis/commit/f8084b8ca525fdb265e997894465e4e3a784bd68)) * Update dependency certifi to v2022.9.24 ([#947](https://github.com/googleapis/java-containeranalysis/issues/947)) ([2a0becd](https://github.com/googleapis/java-containeranalysis/commit/2a0becd99be8825e299a44d4d2946f9c4587aeea)) * Update dependency charset-normalizer to v2.1.1 ([#952](https://github.com/googleapis/java-containeranalysis/issues/952)) ([4ac4198](https://github.com/googleapis/java-containeranalysis/commit/4ac4198b02c38816cc5279203370e9bcf10ca320)) * Update dependency click to v8.1.3 ([#953](https://github.com/googleapis/java-containeranalysis/issues/953)) ([7f2cd56](https://github.com/googleapis/java-containeranalysis/commit/7f2cd5655f49d6d2db4519b9096d2800d76eb58a)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#967](https://github.com/googleapis/java-containeranalysis/issues/967)) ([44d2acd](https://github.com/googleapis/java-containeranalysis/commit/44d2acd1775a20bb678312c063b6edf914dbbc00)) * Update dependency gcp-releasetool to v1.8.8 ([#948](https://github.com/googleapis/java-containeranalysis/issues/948)) ([932e614](https://github.com/googleapis/java-containeranalysis/commit/932e61468598c1b521806bdd85492aa79c3a5037)) * Update dependency google-api-core to v2.10.1 ([#954](https://github.com/googleapis/java-containeranalysis/issues/954)) ([4e0b27c](https://github.com/googleapis/java-containeranalysis/commit/4e0b27c3e94b142658a7042b5b66eb85cf07339b)) * Update dependency google-auth to v2.11.1 ([#949](https://github.com/googleapis/java-containeranalysis/issues/949)) ([3436e5c](https://github.com/googleapis/java-containeranalysis/commit/3436e5c480fd441d9d6544e33f776fa039f5ee7b)) * Update dependency google-cloud-core to v2.3.2 ([#950](https://github.com/googleapis/java-containeranalysis/issues/950)) ([cf1a882](https://github.com/googleapis/java-containeranalysis/commit/cf1a8823d431d5dfe0a373ee4e9fe25c255e720d)) * Update dependency google-cloud-storage to v2.5.0 ([#955](https://github.com/googleapis/java-containeranalysis/issues/955)) ([ff75df9](https://github.com/googleapis/java-containeranalysis/commit/ff75df994404a2fc67cac7680d9f7c27c4a53b3f)) * Update dependency google-crc32c to v1.5.0 ([#956](https://github.com/googleapis/java-containeranalysis/issues/956)) ([e5d6c21](https://github.com/googleapis/java-containeranalysis/commit/e5d6c21d66d4ab2395f27825c19a5b6b6c404baa)) * Update dependency googleapis-common-protos to v1.56.4 ([#951](https://github.com/googleapis/java-containeranalysis/issues/951)) ([c0a937f](https://github.com/googleapis/java-containeranalysis/commit/c0a937f7dfe786a226361a2a5a7f32a04164c5b6)) * Update dependency markupsafe to v2.1.1 ([#957](https://github.com/googleapis/java-containeranalysis/issues/957)) ([8ca520d](https://github.com/googleapis/java-containeranalysis/commit/8ca520decf514a494e27cd5b98e2fb427b110c19)) * Update dependency protobuf to v3.20.2 ([#958](https://github.com/googleapis/java-containeranalysis/issues/958)) ([e9a5588](https://github.com/googleapis/java-containeranalysis/commit/e9a5588dc5bed8d22a2d9b5790005726ca4609f8)) * Update dependency protobuf to v4 ([#964](https://github.com/googleapis/java-containeranalysis/issues/964)) ([94ee22e](https://github.com/googleapis/java-containeranalysis/commit/94ee22e5cc71f82ffb6f36ba717a6302a725de02)) * Update dependency requests to v2.28.1 ([#960](https://github.com/googleapis/java-containeranalysis/issues/960)) ([cb05cff](https://github.com/googleapis/java-containeranalysis/commit/cb05cffbe25c60c6f30d46511307031f4cfdc413)) * Update dependency typing-extensions to v4.3.0 ([#961](https://github.com/googleapis/java-containeranalysis/issues/961)) ([cf68902](https://github.com/googleapis/java-containeranalysis/commit/cf68902904d7a42f8b7d401c2dcf1f357b64bf6c)) * Update dependency zipp to v3.8.1 ([#962](https://github.com/googleapis/java-containeranalysis/issues/962)) ([e71d9d1](https://github.com/googleapis/java-containeranalysis/commit/e71d9d17af2e6d524029c6490ad4a75efcfbb4f5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…1.3 (#960) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://github.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dataproc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=-->
…960) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://github.com/protocolbuffers/protobuf)) | `3.21.6` -> `3.21.7` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>protocolbuffers/protobuf</summary> ### [`v3.21.7`](https://github.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7) [Compare Source](https://github.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDguMiIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4yIn0=-->
🤖 I have created a release *beep* *boop* --- ## [2.8.18](https://github.com/googleapis/java-core/compare/v2.8.17...v2.8.18) (2022-09-30) ### Dependencies * Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#960](https://github.com/googleapis/java-core/issues/960)) ([1c38fb7](https://github.com/googleapis/java-core/commit/1c38fb77fc9b3a9510050ba9b78bcbf93c80d52c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
cloud move)