RegEx for Segment Naming
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- python
- Bereich
- full-stack
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die Einstellungen für Namenskonventionen sowie die Pfade für die Erstellung von Segmenten und die Validierung von Umbenennungen zu finden, und verfolge anschließend, wie Validierungsfehler angezeigt werden. Erledigt ist die Aufgabe, wenn die Akzeptanzkriterien für Konfiguration, Erstellung, Aktualisierungen und klare Rückmeldungen funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is your feature request related to a problem?
This is not related to a bug, this is an enhancement request.
Describe the solution you'd like.
I'd like to be able to enforce segment naming conventions using regular expressions. Ideally, it would work in the manner that regular expressions are being used to enforce feature naming.
Regular expressions for segment naming would provide business value
- Reduced manual configuration: Eliminate need to create individual segments for each environment/team variant
- Improved scalability: Support enterprise rollout across different teams
- Consistency: Enforce organizational naming standards through pattern matching
- Efficiency: Streamline onboarding of new teams and applications
Acceptance Criteria
AC1 – Administrator can configure a segment naming regex
Given I am an administrator with permission to manage naming policies
When I navigate to the naming convention settings
Then I can define and save a regular expression that will be used to validate segment names.
AC2 – Segment names are validated during creation
Given a segment naming regex has been configured
When a user creates a new segment
Then the system validates the segment name against the configured regex
And only allows creation if the name matches the pattern.
AC3 – Segment names are validated during updates
Given a segment naming regex has been configured
When a user renames an existing segment
Then the system validates the updated name against the configured regex
And prevents the update if the name does not match the pattern.
AC4 – Users receive clear validation feedback
Given a user enters a segment name that does not satisfy the configured regex
When validation occurs
Then the user is shown a clear error message indicating the name is invalid
And the message includes the expected naming format or pattern description.
Example message:
"Segment names must follow the format -- (e.g., dx-prod-reporting)."
Describe alternatives you've considered
Manual enforcement is one option. This option works, and is what we use, but involves a bit of guesswork (what is the convention?)
Additional context
Thank you! This is related to [email protected] (One Call) but that user name is unable to create a issue.
- Vorherrschende Sprache
- Python
- Sterne
- 9.9k
- Forks
- 658
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 168
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Flagsmith/flagsmith
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Flagsmith/flagsmith#9119 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Fix Button Alignment in SDK Installation SectionEvtl. vergeben @manueldezman hat das vor 3 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Flagsmith/flagsmith#9056 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceEvtl. vergeben @jcd1991 hat das vor 4 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
Flagsmith/flagsmith#9045 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Expose whether an organisation is blocked for API usageEvtl. vergeben @PiUnknown hat das vor 39 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Flagsmith/flagsmith#8773 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Evtl. vergeben @SAY-5 hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Flagsmith/flagsmith#8510 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Flagsmith/flagsmith
Ähnliche Issues
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidateEvtl. vergeben @houzhongyu hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen