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

FR: version numbers #1471

Closed
lesv opened this issue Dec 10, 2016 · 3 comments
Closed

FR: version numbers #1471

lesv opened this issue Dec 10, 2016 · 3 comments
Assignees

Comments

@lesv
Copy link
Contributor

lesv commented Dec 10, 2016

Currently our versions are a bit weird.

0.8.0 designates an alpha version
0.8.0-beta designates a beta, and presumably
1.0.0 will be our first GA

That's well and good for now though a bit confusing. I'd like to suggest that code that from now on, code that is not beta, be designated -alpha and not 0.8.0.

The real problem is when we go GA however. We will have a -SNAPSHOT which is top of tree Master; we will likely have a Pre-Release (or early release), a Current, and a last release.

Unfortunately, maven doesn't really understand -alpha or -beta designations in a clear way. It considers them to be a "qualifier" and sorts them alphabetically. So while it might allow updating from -alpha to -beta, it is unlikely to update to a GA version.

For those of us who use automation (like the versions plugin) this is a bit of a problem.

The auth library chose to go with all release update the major version (first # before the dot).

I wish I had a clear suggestion to go with your desire to be clear that this is a beta release. I don't. But I wish you had gone with a the java standard rather that following the path of some of our other teams and making something up that isn't idiomatic.

@omaray @garrettjonesgoogle @tswast

@garrettjonesgoogle
Copy link
Member

Everything GA and after will follow the path you are describing. We are not going to put "-beta" on 1.x+ releases. For pre-1.x, the plan is to currently not have any package where both 0.x.y and 0.x.y-beta exist.

@garrettjonesgoogle
Copy link
Member

Plan of record:

Already-existing packages:

  • alpha: 0.y.z-alpha-SNAPSHOT and 0.y.z-alpha
  • beta: 0.y.z-beta-SNAPSHOT and 0.y.z-beta
  • GA: x.y.z-SNAPSHOT and x.y.z

New packages:

  • alpha: 0.0.z-SNAPSHOT and 0.0.z
  • beta: 0.y.z-SNAPSHOT and 0.y.z
  • GA: x.y.z-SNAPSHOT and x.y.z

@garrettjonesgoogle
Copy link
Member

Closing out this issue because we have put this plan into action already.

github-actions bot pushed a commit that referenced this issue Sep 15, 2022
…16.0 (#1471)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.15.0` -> `2.16.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/compatibility-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/confidence-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-bigquery</summary>

### [`v2.16.0`](https://togithub.com/googleapis/java-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2160-httpsgithubcomgoogleapisjava-bigquerycomparev2150v2160-2022-09-12)

[Compare Source](https://togithub.com/googleapis/java-bigquery/compare/v2.15.0...v2.16.0)

##### Features

-   Add preserveAsciiControlCharacters to CsvOptions ([#&#8203;2143](https://togithub.com/googleapis/java-bigquery/issues/2143)) ([856893f](https://togithub.com/googleapis/java-bigquery/commit/856893f4d8f1b419365d8f179ce9f9e571dec718))
-   Add reference file schema option for federated formats ([#&#8203;2269](https://togithub.com/googleapis/java-bigquery/issues/2269)) ([8c488e6](https://togithub.com/googleapis/java-bigquery/commit/8c488e64259bd67716342f48f96d2932c5e57c3e))

##### Bug Fixes

-   Socket-timeout at bigquery.it.ITNightlyBigQueryTest: testForTableNotFound ([#&#8203;2260](https://togithub.com/googleapis/java-bigquery/issues/2260)) ([a9b5fb2](https://togithub.com/googleapis/java-bigquery/commit/a9b5fb2c1078788ddb1ac3169c9ce597af228ac0))

##### Dependencies

-   Update dependency com.google.apis:google-api-services-bigquery to v2-rev20220827-2.0.0 ([#&#8203;2261](https://togithub.com/googleapis/java-bigquery/issues/2261)) ([3c67d21](https://togithub.com/googleapis/java-bigquery/commit/3c67d21c10f66b3c5313a1733f4e81db42c1b7c3))
-   Update dependency com.google.cloud:google-cloud-datacatalog-bom to v1.9.3 ([#&#8203;2259](https://togithub.com/googleapis/java-bigquery/issues/2259)) ([5e30a04](https://togithub.com/googleapis/java-bigquery/commit/5e30a04e5b14b03e60e587787180b27f605d6abd))
-   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#&#8203;2267](https://togithub.com/googleapis/java-bigquery/issues/2267)) ([8472fe5](https://togithub.com/googleapis/java-bigquery/commit/8472fe580a8197aaa3957dd3231fed0a9511fbb5))

</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-bigquerydatatransfer).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuNSIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC41In0=-->
github-actions bot pushed a commit that referenced this issue Sep 15, 2022
🤖 I have created a release *beep* *boop*
---


## [2.3.10](googleapis/java-bigquerydatatransfer@v2.3.9...v2.3.10) (2022-09-13)


### Dependencies

* Update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 ([#1471](googleapis/java-bigquerydatatransfer#1471)) ([c94d93f](googleapis/java-bigquerydatatransfer@c94d93f))

---
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants