Skip to content

Conversation

@juliojimenez
Copy link
Member

No description provided.

Signed-off-by: Julio Jimenez <julio@clickhouse.com>
@juliojimenez juliojimenez self-assigned this Jul 28, 2025
Copilot AI review requested due to automatic review settings July 28, 2025 18:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds license mappings for 22 new Go packages and implements sanitization for ClickHouse database names.

  • Adds license mappings for packages from various organizations including Baidu, ByteDance, and GitHub maintainers
  • Implements a new sanitize_database_name() function with alphanumeric and underscore validation
  • Enables previously commented-out ClickHouse database name sanitization

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
license-mappings.json Adds license mappings for 22 new Go packages with various licenses (MIT, Apache-2.0, BSD-3-Clause)
lib/sanitize.sh Implements database name sanitization function and enables ClickHouse database name validation

juliojimenez and others added 8 commits July 28, 2025 14:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
@juliojimenez juliojimenez merged commit cfcd863 into main Jul 29, 2025
8 checks passed
@juliojimenez juliojimenez deleted the sanitize-database-name-licenses-2025-07-28 branch July 29, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants