Skip to content

Commit

Permalink
Merge pull request ClickHouse#57215 from ClickHouse/backport/23.3/57171
Browse files Browse the repository at this point in the history
Backport ClickHouse#57171 to 23.3: Tiny improvement security
  • Loading branch information
Felixoid committed Nov 24, 2023
2 parents f09fb27 + b22ff96 commit 7228475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions docker/server/.dockerignore

This file was deleted.

3 changes: 2 additions & 1 deletion utils/security-generator/generate_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def generate_supported_versions():
with open(VERSIONS_FILE, "r", encoding="utf-8") as fd:
versions = [line.split(maxsplit=1)[0][1:] for line in fd.readlines()]


# The versions in VERSIONS_FILE are ordered ascending, so the first one is
# the greatest one. We may have supported versions in the previous year
unsupported_year = int(versions[0].split(".", maxsplit=1)[0]) - 2
Expand Down Expand Up @@ -83,7 +84,7 @@ def generate_supported_versions():
table.append(f"| {version} | ✔️ |")
continue
if year <= unsupported_year:
# The whole year is unsopported
# The whole year is unsupported
version = f"{year}.*"
if not version in unsupported:
unsupported.append(version)
Expand Down

0 comments on commit 7228475

Please sign in to comment.