Skip to content

Commit

Permalink
Prepare 3.0.x-devel to become main (#122)
Browse files Browse the repository at this point in the history
* Refs #20893: Add warning in README

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Bump version to 2.0.0

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Update PR template

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Update mirror workflow

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Update ci workflow

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Apply Eliana's suggestions

Signed-off-by: eduponz <[email protected]>

---------

Signed-off-by: eduponz <[email protected]>
  • Loading branch information
EduPonz authored May 9, 2024
1 parent 3f5e9cf commit 2184bd4
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@

## Contributor Checklist

<!--
- If any of the elements of the following checklist is not applicable, substitute the checkbox [ ] by _N/A_:
- If any of the elements of the following checklist is not fulfilled on purpose, please provide a reason and substitute the checkbox [ ] with ❌: or __NO__:.
-->

- [ ] Commit messages follow the project guidelines. <!-- External contributors should sign the DCO. Fast DDS Python developers must also refer to the internal Redmine task. -->
- [ ] Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
- [ ] Changes are API compatible. <!-- Public API must not be broken within the same major release. -->
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ on:
fastdds_branch:
description: 'Fast DDS branch to be used'
required: false
default: '3.0.x-devel'
default: 'master'
pull_request:
push:
branches:
- 3.0.x-devel
- main
schedule:
- cron: '0 0 * * *'

Expand All @@ -36,7 +36,7 @@ jobs:
- ${{ github.event.inputs.foonathan_memory_vendor_branch || 'master' }}
fastcdr_version: ${{ fromJson(github.event.inputs.fastcdr_versions || '["master"]') }}
fastdds_version:
- ${{ github.event.inputs.fastdds_branch || '3.0.x-devel' }}
- ${{ github.event.inputs.fastdds_branch || 'master' }}

env:
CXXFLAGS: /MP
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
- ${{ github.event.inputs.foonathan_memory_vendor_branch || 'master' }}
fastcdr_version: ${{ fromJson(github.event.inputs.fastcdr_versions || '["master"]') }}
fastdds_version:
- ${{ github.event.inputs.fastdds_branch || '3.0.x-devel' }}
- ${{ github.event.inputs.fastdds_branch || 'master' }}


steps:
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ on:
push:
branches:
- 'main'
- '1.4.x'
jobs:
mirror_job:
mirror_job_main:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
name: Mirror main branch to compatible minor version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '1.4.x'
- '2.0.x'
- '2.x'
steps:
- name: Mirror action step
id: mirror
Expand All @@ -20,3 +23,21 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'main'
dest: ${{ matrix.dest_branch }}

mirror_job_1_x:
if: github.ref == 'refs/heads/1.4.x'
runs-on: ubuntu-latest
name: Mirror main branch to compatible minor version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '1.x'
steps:
- name: Mirror action step
id: mirror
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: '1.4.x'
dest: ${{ matrix.dest_branch }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
[![Forks](https://img.shields.io/github/forks/eProsima/Fast-DDS-python.svg)](https://github.com/eProsima/Fast-DDS-python/network/members)
[![Stars](https://img.shields.io/github/stars/eProsima/Fast-DDS-python.svg)](https://github.com/eProsima/Fast-DDS-python/stargazers)

<!-- TODO(eduponz): Remove this before releasing v3.0.0 -->
> [!WARNING]
> In preparation for v2.0.0 (bindings for Fast DDS v3.0.0), Fast DDS Python's master branch is undergoing major changes entailing **API breaks**.
> Until Fast DDS Python v2.0.0 is released, it is strongly advisable to use the latest stable version, [v1.4.1](https://github.com/eProsima/Fast-DDS-python/tree/v1.4.1).
*eProsima Fast DDS Python* is a Python binding for the [*eProsima Fast DDS*](https://github.com/eProsima/Fast-DDS) C++ library.
This is a work in progress, but ultimately the goal is having the complete *Fast DDS* API available in Python.
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(POLICY CMP0086)
cmake_policy(SET CMP0086 NEW)
endif()

project(fastdds_python VERSION 1.4.1)
project(fastdds_python VERSION 2.0.0)

# Set BUILD_TESTING to OFF by default.
if(NOT BUILD_TESTING)
Expand Down

0 comments on commit 2184bd4

Please sign in to comment.