Skip to content

feature: support 2.10+ releases #24

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

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Conversation

Totktonada
Copy link
Member

Background

The new release policy (see tarantool/tarantool#6182) is in effect since Tarantool 2.10 and changes several things, including:

  1. Repositories layout.
    • The new release series naming: series-2 instead of 2.10, 2.11 and so on.
    • The new pre-release repository.
    • No nightly builds (live repository).
  2. Versioning.
    • Three digit versions for release builds: 2.10.0 instead of 2.10.0.0.
    • alpha, beta, rc marks in pre-release tarantool versions.

Usage

This commit offers support of 2.10+ releases and leaves pre-releases unsupported (it is tracked in #23).

The usage is quite straightforward:

steps:
  - uses: actions/checkout@v2
  - uses: tarantool/setup-tarantool@v1
    with:
      tarantool-version: '2.10.0' # or '2.10', or just '2'

The latest 2.10.X version will be installed for tarantool-version: '2.10'. The latest 2.X.Y version will be installed for tarantool-version: '2'.

See notes on the implementatoin details in the commit message.

Fixes #19

## Background

The new release policy (see [1]) is in effect since Tarantool 2.10 and
changes several things, including:

1. Repositories layout.
   - The new release series naming: `series-2` instead of `2.10`, `2.11`
     and so on.
   - The new `pre-release` repository.
   - No nightly builds (`live` repository).
2. Versioning.
   - Three digit versions for release builds: `2.10.0` instead of
     `2.10.0.0`.
   - `alpha`, `beta`, `rc` marks in pre-release tarantool versions.

[1]: tarantool/tarantool#6182

## Usage

This commit offers support of 2.10+ *releases* and leaves pre-releases
unsupported (it is tracked in #23).

The usage is quite straightforward:

```yaml
steps:
  - uses: actions/checkout@v2
  - uses: tarantool/setup-tarantool@v1
    with:
      tarantool-version: '2.10.0' # or '2.10', or just '2'
```

The latest 2.10.X version will be installed for
`tarantool-version: '2.10'`. The latest 2.X.Y version will be
installed for `tarantool-version: '2'`.

## Implementatoin details

We have nothing to do regarding versioning in order to support 2.10+
*releases*. However we should reflect the repository layout change:

* tarantool-version: 2.8, nightly-build: false or unset

  (Nothing is changed here.)

  ```
  baseUrl: https://download.tarantool.org/tarantool/release/2.8
  ```
* tarantool-version: 2.8, nightly-build: true

  (Nothing is changed here.)

  ```
  baseUrl: https://download.tarantool.org/tarantool/2.8
  ```
* tarantool-version: 2.10, nightly-build: false or unset

  (This is the new logic introduced by this commit.)

  ```
  baseUrl: https://download.tarantool.org/tarantool/release/series-2
  ```
* tarantool-version: 2.10, nightly-build: true

  (This is the new logic introduced by this commit.)

  Raise an error.

If the version is set as `'2'` or `'2.10.0'`, use the same logic as for
`'2.10'`.

Fixes #19
@Totktonada
Copy link
Member Author

Tested on the smtp module: tarantool/smtp@e0f1504.

Copy link
Member

@DifferentialOrange DifferentialOrange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems LGTM

@Totktonada Totktonada merged commit 6c88e71 into master Jun 24, 2022
@Totktonada Totktonada deleted the Totktonada/gh-19-support-2.10 branch June 24, 2022 19:43
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

Successfully merging this pull request may close these issues.

Support new release policy
2 participants