This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new b7931734caa Add 2.11.0 to javadoc generator black list (#380)
b7931734caa is described below
commit b7931734caabc666b365885be62151e36677ea6f
Author: tison <[email protected]>
AuthorDate: Thu Jan 12 20:28:32 2023 +0800
Add 2.11.0 to javadoc generator black list (#380)
---
tools/pytools/lib/execute/javadoc_generator.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/pytools/lib/execute/javadoc_generator.py
b/tools/pytools/lib/execute/javadoc_generator.py
index 5e0c1dc92c6..ab7253a8495 100644
--- a/tools/pytools/lib/execute/javadoc_generator.py
+++ b/tools/pytools/lib/execute/javadoc_generator.py
@@ -30,7 +30,8 @@ from constant import site_path
def execute(version: str):
mvn = find_command('mvn', msg="mvn is required")
ver = semver.VersionInfo.parse(version)
- assert ver.compare('2.8.0') >= 0 # versions before 2.8.0 did not have the
-src suffix
+ assert ver.compare('2.8.0') >= 0, 'versions before 2.8.0 did not have the
-src suffix'
+ assert ver.compare('2.11.0') != 0, '2.11.0 is unsupported, see
https://github.com/apache/pulsar/pull/19202'
with tempfile.TemporaryDirectory() as cwd:
v = f"{ver.major}.{ver.minor}.{ver.patch}"