redpanda-data / redpanda-data/connect

Expand the regex for valid labels

Open
#1,936 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

configuration enhancement v5
Dominant language
Go
Stars
8.8k
Forks
969
Avg merge
1d 13h
Merged PRs (30d)
64

Description

Currently labels should match the regular expression /^[a-z0-9_]+$/ and must not start with an underscore which is fine when your configuration is small. If your configuration grows you will want to put some structure in your labels and the allowed set of characters; a-z, 0-9 and _ is a bit too limiting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the label validation entry point and inspect how labels are parsed and tested. Define the expanded allowed character set and confirm that validation still rejects labels beginning with an underscore; add or update focused tests so the accepted and rejected forms are explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.