GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: improve embedded version handling by igorbernstein2 · Pull Request #715 · googleapis/java-bigtable

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@igorbernstein2

@igorbernstein2 igorbernstein2 commented Apr 9, 2021

Copy link
Copy Markdown
Contributor

Use new feature in releasetool (googleapis/releasetool#317) to manage the client version instead of maven tricks introduced in #451

This should not be merged until the releasetool feature is released

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@igorbernstein2
chore: improve embedded version handling
acb23f1
Use new feature in releasetool (googleapis/releasetool#317) to manage the client version instead of maven tricks introduced in googleapis#451
@igorbernstein2 igorbernstein2 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 9, 2021
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the googleapis/java-bigtable API. label Apr 9, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 9, 2021
@igorbernstein2
migrate to new version scheme
9780be0
@igorbernstein2

igorbernstein2 commented Apr 9, 2021

Copy link
Copy Markdown
Contributor Author

Jeff is putting together a more general solution in googleapis/release-please#850. Need to wait for that

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Apr 9, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #715 (5db85f8) into master (b61c5ce) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #715      +/-   ##
============================================
- Coverage     83.62%   83.62%   -0.01%     
  Complexity     1008     1008              
============================================
  Files           106      106              
  Lines          6046     6045       -1     
  Branches        392      392              
============================================
- Hits           5056     5055       -1     
  Misses          788      788              
  Partials        202      202              
Impacted Files Coverage Δ Complexity Δ
...c/main/java/com/google/cloud/bigtable/Version.java 50.00% <100.00%> (ø) 1.00 <1.00> (?)
...ud/bigtable/data/v2/stub/EnhancedBigtableStub.java 97.03% <100.00%> (-0.02%) 29.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b61c5ce...5db85f8. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13

chingor13 commented Apr 9, 2021

Copy link
Copy Markdown
Contributor

After googleapis/repo-automation-bots#1629 is merged, you should be able to add:

extraFiles:
  - google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/ClientVersion.java

to .github/release-please.yml and automation should be able to replace the version string.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2 added 2 commits April 9, 2021 17:23
@igorbernstein2
rename back to Version
cc73977
@igorbernstein2
config release-please for version bumps
15c5517
@generated-files-bot

generated-files-bot Bot commented Apr 9, 2021

Copy link
Copy Markdown

Warning: This pull request is touching the following templated files:

  • .github/release-please.yml
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@igorbernstein2
make sure file doesnt get clobbered
7240535
@igorbernstein2
igorbernstein2 marked this pull request as ready for review April 9, 2021 21:30
@igorbernstein2
igorbernstein2 requested review from a team, chingor13 and kolea2 April 9, 2021 21:30
@igorbernstein2 igorbernstein2 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 9, 2021
chingor13
chingor13 approved these changes Apr 9, 2021
View reviewed changes
igorbernstein2 added 3 commits April 12, 2021 15:57
@igorbernstein2
add a couple of tests
efdbdbf
@igorbernstein2
fmt
3f8e752
@igorbernstein2
Merge remote-tracking branch 'origin/master' into improve-versioning
a85ad29
# Conflicts:
#	synth.py
@igorbernstein2 igorbernstein2 added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Apr 13, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 13, 2021
@gcf-merge-on-green

gcf-merge-on-green Bot commented Apr 13, 2021

Copy link
Copy Markdown

Your PR has conflicts that you need to resolve before merge-on-green can automerge

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@igorbernstein2
Merge remote-tracking branch 'origin/master' into improve-versioning
5db85f8
# Conflicts:
#	google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubTest.java
kolea2
kolea2 approved these changes Apr 13, 2021
View reviewed changes
@igorbernstein2
igorbernstein2 merged commit 1af8925 into googleapis:master Apr 13, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 13, 2021
@igorbernstein2
igorbernstein2 deleted the improve-versioning branch April 13, 2021 18:01
kolea2 pushed a commit to kolea2/java-bigtable that referenced this pull request May 20, 2021
@igorbernstein2 @kolea2
chore: improve embedded version handling (googleapis#715)
7802036
* chore: improve embedded version handling

Use new feature in releasetool (googleapis/releasetool#317) to manage the client version instead of maven tricks introduced in googleapis#451

* migrate to new version scheme

* rename back to Version

* config release-please for version bumps

* make sure file doesnt get clobbered

* add a couple of tests

* fmt

(cherry picked from commit 1af8925)
kolea2 added a commit that referenced this pull request May 21, 2021
@kolea2 @igorbernstein2
fix: improve embedded version handling (#715) (#832)
f0fc1bf
* chore: improve embedded version handling (#715)

* chore: improve embedded version handling

Use new feature in releasetool (googleapis/releasetool#317) to manage the client version instead of maven tricks introduced in #451

* migrate to new version scheme

* rename back to Version

* config release-please for version bumps

* make sure file doesnt get clobbered

* add a couple of tests

* fmt

(cherry picked from commit 1af8925)

* update version

* fix test

* fix: add back in extraFiles and fix file path (#833)

(cherry picked from commit f914954)

* fix test

Co-authored-by: Igor Bernstein <[email protected]>
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 24, 2021
@release-please
chore(1.22.0-sp): release 1.22.0-sp.1 (#831)
f70b4ea
🤖 I have created a release \*beep\* \*boop\*
---
## [1.22.0-sp.1](https://www.github.com/googleapis/java-bigtable/compare/1.22.0...v1.22.0-sp.1) (2021-05-21)


### Features

* configure initial sp version ([#829](https://www.github.com/googleapis/java-bigtable/issues/829)) ([47480c5](https://www.github.com/googleapis/java-bigtable/commit/47480c55ab08b80154a4a7d2bb76a9dccfcdea03))


### Bug Fixes

* filter limit constant ([#787](https://www.github.com/googleapis/java-bigtable/issues/787)) ([#835](https://www.github.com/googleapis/java-bigtable/issues/835)) ([cf16cfe](https://www.github.com/googleapis/java-bigtable/commit/cf16cfe5ee1ec509ed8faf3ff1342bd02a041468))
* improve embedded version handling ([#715](https://www.github.com/googleapis/java-bigtable/issues/715)) ([#832](https://www.github.com/googleapis/java-bigtable/issues/832)) ([f0fc1bf](https://www.github.com/googleapis/java-bigtable/commit/f0fc1bf77962ddc80bfd5aca6a8ca731641d940b))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@chingor13 chingor13 chingor13 approved these changes
@kolea2 kolea2 kolea2 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@igorbernstein2 @chingor13 @kolea2 @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.