From f37bb80a2c1ef0a7085920314a1505e9802d7d88 Mon Sep 17 00:00:00 2001 From: Gang Wu Date: Wed, 10 Jun 2026 00:04:13 +0800 Subject: [PATCH 1/2] MINOR: [C++] fix missing format_context when compiled with C++23 --- lang/c++/include/avro/Node.hh | 3 ++- lang/c++/include/avro/Types.hh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/c++/include/avro/Node.hh b/lang/c++/include/avro/Node.hh index 5f8dd2a4432..26d8da6453c 100644 --- a/lang/c++/include/avro/Node.hh +++ b/lang/c++/include/avro/Node.hh @@ -225,7 +225,8 @@ inline std::ostream &operator<<(std::ostream &os, const avro::Node &n) { template<> struct std::formatter : std::formatter { - auto format(const avro::Name &n, std::format_context &ctx) const { + template + auto format(const avro::Name &n, FormatContext &ctx) const { return std::formatter::format(n.fullname(), ctx); } }; diff --git a/lang/c++/include/avro/Types.hh b/lang/c++/include/avro/Types.hh index fca3a4b86fb..1453b27b769 100644 --- a/lang/c++/include/avro/Types.hh +++ b/lang/c++/include/avro/Types.hh @@ -112,7 +112,8 @@ std::ostream &operator<<(std::ostream &os, const Null &null); template<> struct std::formatter : std::formatter { - auto format(avro::Type t, std::format_context &ctx) const { + template + auto format(avro::Type t, FormatContext &ctx) const { return std::formatter::format(avro::toString(t), ctx); } }; From 1c88b5b3305d45f777caa9fd9fbda0cad89787b4 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Wed, 10 Jun 2026 10:56:32 +0300 Subject: [PATCH 2/2] Add AI config files --- .cursor/rules.md | 5 +++++ .gemini/rules.md | 5 +++++ AGENTS.md | 5 +++++ CLAUDE.md | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .cursor/rules.md create mode 100644 .gemini/rules.md create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/.cursor/rules.md b/.cursor/rules.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/.cursor/rules.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/.gemini/rules.md b/.gemini/rules.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/.gemini/rules.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! +