Skip to content

Commit

Permalink
Merge pull request #425 from euripedesrocha/asio_contributing_guide
Browse files Browse the repository at this point in the history
bump(asio): 1.28.0~0 -> 1.28.2~0
  • Loading branch information
euripedesrocha authored Nov 14, 2023
2 parents 93f5f7b + 28f1e43 commit f50edd4
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
11 changes: 11 additions & 0 deletions components/asio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [1.28.2~0](https://github.com/espressif/esp-protocols/commits/asio-1.28.2_0)

### Bug Fixes

- reference protocol_examples_common from IDF ([09abb18](https://github.com/espressif/esp-protocols/commit/09abb18))
- specify override_path in example manifest files ([1d8923c](https://github.com/espressif/esp-protocols/commit/1d8923c))

### Updated

- docs(asio): Updates asio docs ([ce9337d](https://github.com/espressif/esp-protocols/commit/ce9337d))

## [1.28.0~0](https://github.com/espressif/esp-protocols/commits/asio-1.28.0~0)

### Features
Expand Down
40 changes: 40 additions & 0 deletions components/asio/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Information for Contributors

Contributions in the form of pull requests, issue reports, and feature requests are welcome!

## Updating ASIO

ASIO is managed as a submodule, to updated the version first the [espressif](github.com/espressif/asio) ASIO fork must be updated.

## Release process

When releasing a new component version we have to:

* Update the submodule reference
* Update the version number
* Update the changelog

And the automation process takes care of the last steps:

* Create the version tag in this repository
* Deploy the component to component registry
* Update the documentation

This process needs to be manually handled for ASIO component since commitizen doesn't accept the versioning schema used.

* Increment manually the version in the [manifest file](idf_component.yml)
* Export environment variables for changelog generation:
- CZ_PRE_CURRENT_TAG_VERSION
- CZ_PRE_NEW_TAG_VERSION
- CZ_PRE_NEW_VERSION
* Run `python ../../ci/changelog.py asio` from this directory to generate the change log
* Check the updated `CHANGELOG.md`
* Commit the changes with the adequated message format.
```
bump(asio): $current_version -> $new_version
$Changelog for the version
```
* Create a PR

Once the PR is merged, the CI job tags the merge commit, creates a new release, builds and deploys documentation and the new component to the component registry
2 changes: 1 addition & 1 deletion components/asio/asio
Submodule asio updated 49 files
+3 −0 .github/workflows/ci.yml
+1 −0 asio/Makefile.am
+2 −2 asio/README
+10 −0 asio/asio.manifest
+32 −0 asio/boost_asio.manifest
+22 −7 asio/boostify.pl
+1 −1 asio/configure.ac
+61 −0 asio/include/asio/any_completion_handler.hpp
+25 −9 asio/include/asio/bind_allocator.hpp
+25 −9 asio/include/asio/bind_cancellation_slot.hpp
+26 −11 asio/include/asio/bind_immediate_executor.hpp
+7 −0 asio/include/asio/compose.hpp
+23 −2 asio/include/asio/detail/config.hpp
+1 −2 asio/include/asio/detail/dev_poll_reactor.hpp
+33 −28 asio/include/asio/detail/impl/io_uring_service.ipp
+2 −0 asio/include/asio/detail/impl/signal_set_service.ipp
+2 −0 asio/include/asio/detail/memory.hpp
+2 −2 asio/include/asio/detail/reactive_socket_service_base.hpp
+60 −0 asio/include/asio/execution/any_executor.hpp
+1 −1 asio/include/asio/experimental/basic_channel.hpp
+1 −1 asio/include/asio/experimental/basic_concurrent_channel.hpp
+3 −2 asio/include/asio/experimental/co_composed.hpp
+25 −25 asio/include/asio/experimental/impl/coro.hpp
+91 −49 asio/include/asio/impl/co_spawn.hpp
+2 −2 asio/include/asio/impl/spawn.hpp
+10 −0 asio/include/asio/ip/bad_address_cast.hpp
+1 −1 asio/include/asio/version.hpp
+3 −0 asio/src/Makefile.mgw
+3 −0 asio/src/Makefile.msc
+10 −0 asio/src/doc/examples.qbk
+60 −0 asio/src/doc/history.qbk
+8 −6 asio/src/doc/overview/token_adapters.qbk
+44 −3 asio/src/doc/reference.qbk
+6 −0 asio/src/examples/cpp20/Makefile.am
+1 −0 asio/src/examples/cpp20/channels/.gitignore
+182 −0 asio/src/examples/cpp20/channels/mutual_exclusion_1.cpp
+192 −0 asio/src/examples/cpp20/channels/mutual_exclusion_2.cpp
+1 −0 asio/src/examples/cpp20/invocation/.gitignore
+83 −0 asio/src/examples/cpp20/invocation/completion_executor.cpp
+9 −0 asio/src/tests/Makefile.am
+3 −0 asio/src/tests/unit/.gitignore
+479 −0 asio/src/tests/unit/any_completion_executor.cpp
+287 −0 asio/src/tests/unit/any_completion_handler.cpp
+531 −0 asio/src/tests/unit/any_io_executor.cpp
+2 −0 asio/src/tests/unit/bind_allocator.cpp
+2 −0 asio/src/tests/unit/bind_cancellation_slot.cpp
+2 −0 asio/src/tests/unit/bind_executor.cpp
+192 −1 asio/src/tests/unit/bind_immediate_executor.cpp
+1 −0 asio/src/tests/unit/experimental/coro/.gitignore
2 changes: 1 addition & 1 deletion components/asio/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.28.0~0"
version: "1.28.2~0"
description: Cross-platform C++ library for network and I/O programming
url: https://github.com/espressif/esp-protocols/tree/master/components/asio
issues: https://github.com/espressif/esp-protocols/issues
Expand Down

0 comments on commit f50edd4

Please sign in to comment.