From ed1eb718698fe03318d69d9dd0db22f3088a96a0 Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 11:31:57 +0300 Subject: [PATCH 1/7] Fixed README beman-tidy error --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 02d3b56..013a168 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ +# beman.task: Beman Library Implementation of `task` (P3552) + -# beman.task: Beman Library Implementation of `task` (P3552) - ![Continuous Integration Tests](https://github.com/bemanproject/task/actions/workflows/ci_tests.yml/badge.svg) ![Target Standard](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/task/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/task?branch=main) From d4ca3a06b9a3b077c2947e9faf49e51824b8d49a Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 12:26:16 +0300 Subject: [PATCH 2/7] Added bolded Implements in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 013a168..1f3252d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ type which becomes a `set_value_t(T)` completion signatures. The second template argument (`Context`) provides a way to configure the behavior of the coroutine. By default it can be left alone. -Implements: `std::execution::task` proposed in [Add a Coroutine Lazy Type (P3552)](https://wg21.link/P3552). +**Implements**: `std::execution::task` proposed in [Add a Coroutine Lazy Type (P3552)](https://wg21.link/P3552). ## Usage From ef46e8c6ba928aa51450474bcab0b83ac7cf04f0 Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 12:35:54 +0300 Subject: [PATCH 3/7] Added License to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1f3252d..b0e2891 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ the behavior of the coroutine. By default it can be left alone. **Implements**: `std::execution::task` proposed in [Add a Coroutine Lazy Type (P3552)](https://wg21.link/P3552). +## License + +`beman.task` is licensed under the Apache License v2.0 with LLVM Exceptions. + ## Usage The following code snippet shows a basic use of `beman::task::task` From 22a874de08d8474f03b2f5ee48aac6ebca505b99 Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 14:01:05 +0300 Subject: [PATCH 4/7] Added project status in README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b0e2891..c3440ec 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ the behavior of the coroutine. By default it can be left alone. **Implements**: `std::execution::task` proposed in [Add a Coroutine Lazy Type (P3552)](https://wg21.link/P3552). +**Status**: [Under development and not yet ready for production use.](https://github.com/bemanproject/beman/blob/main/docs/beman_library_maturity_model.md#under-development-and-not-yet-ready-for-production-use) + ## License `beman.task` is licensed under the Apache License v2.0 with LLVM Exceptions. From 1132b6b3d6b1d5b4438497ac7c33dc0ae8c45eac Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 15:05:20 +0300 Subject: [PATCH 5/7] Added beman to precommit hooks --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e5b698..e77cc48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,13 @@ repos: files: ^.*\.(cmake|cpp|cppm|hpp|txt|md|mds|json|js|in|yaml|yml|py|toml)$ args: ["--write", "--ignore-words", ".codespellignore" ] + - repo: https://github.com/bemanproject/beman-tidy + rev: v0.3.1 + hooks: + - id: beman-tidy + args: [".", "--verbose"] + + # Clang-format for C++ # This brings in a portable version of clang-format. # See also: https://github.com/ssciwr/clang-format-wheel From c887785b736def00c0ee712edfbcb3871d10a420 Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 15:15:37 +0300 Subject: [PATCH 6/7] Modified precommit --- .pre-commit-config.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e77cc48..ee32520 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,8 +23,6 @@ repos: rev: v0.3.1 hooks: - id: beman-tidy - args: [".", "--verbose"] - # Clang-format for C++ # This brings in a portable version of clang-format. From 400cd3bf04d33406c8d752df5702359f6005f154 Mon Sep 17 00:00:00 2001 From: Radulescu Andrei Date: Sat, 25 Apr 2026 15:17:27 +0300 Subject: [PATCH 7/7] Added library status and standard target --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3440ec..3dd2eff 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> ![Continuous Integration Tests](https://github.com/bemanproject/task/actions/workflows/ci_tests.yml/badge.svg) -![Target Standard](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg) -[![Coverage](https://coveralls.io/repos/github/bemanproject/task/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/task?branch=main) +![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg) +![Coverage](https://coveralls.io/repos/github/bemanproject/task/badge.svg?branch=main) +![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg) `beman::execution::task` is a class template which is used as the the type of coroutine tasks. The corresponding objects