Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 8d018b8

Browse files
danbarrjhrozek
authored andcommitted
Fix capitalization nits in strings
1 parent 403f121 commit 8d018b8

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ body:
4545
attributes:
4646
label: "IDE and Version"
4747
description: "Enter the IDE name and version."
48-
placeholder: "e.g., VSCode 1.78.0"
48+
placeholder: "e.g., VS Code 1.78.0"
4949
validations:
5050
required: true
5151

.github/workflows/image-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4545
labels: |
4646
org.opencontainers.image.source=${{ github.repositoryUrl }}
47-
org.opencontainers.image.description="Container image for the Codegate Local Gateway"
48-
org.opencontainers.image.title="Codegate Container Image"
47+
org.opencontainers.image.description="Container image for the CodeGate local gateway"
48+
org.opencontainers.image.title="CodeGate container image"
4949
org.opencontainers.image.vendor="Stacklok Inc."
5050
org.opencontainers.image.version=${{ github.sha }}
5151
flavor: |

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ htmlcov/
4343
# Weaviate
4444
weaviate_data/
4545

46-
# Codegate Dashboard DB
46+
# CodeGate Dashboard DB
4747
codegate.db
4848

4949
# certificate directory

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Codegate Example Configuration
1+
# CodeGate Example Configuration
22

33
# Network settings
44
port: 8989 # Port to listen on (1-65535)

config.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Codegate Example Configuration
1+
# CodeGate Example Configuration
22

33
# Network settings
44
port: 8989 # Port to listen on (1-65535)

src/codegate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Codegate - A Generative AI security gateway."""
1+
"""CodeGate - A Generative AI security gateway."""
22

33
import logging as python_logging
44
from importlib import metadata

src/codegate/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def validate_port(ctx: click.Context, param: click.Parameter, value: int) -> int
9494
@click.group()
9595
@click.version_option()
9696
def cli() -> None:
97-
"""Codegate - A configurable service gateway."""
97+
"""CodeGate - A configurable service gateway."""
9898
pass
9999

100100

src/codegate/pipeline/codegate_context_retriever/codegate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async def process(
131131
if len(searched_objects) > 0:
132132
context_str = self.generate_context_str(searched_objects, context)
133133
else:
134-
context_str = "Codegate did not find any malicious or archived packages."
134+
context_str = "CodeGate did not find any malicious or archived packages."
135135

136136
last_user_idx = self.get_last_user_message_idx(request)
137137
if last_user_idx == -1:

src/codegate/pipeline/version/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def process(
4747
return PipelineResult(
4848
response=PipelineResponse(
4949
step_name=self.name,
50-
content="Codegate version: {}".format(__version__),
50+
content="CodeGate version: {}".format(__version__),
5151
model=request["model"],
5252
),
5353
context=context,

0 commit comments

Comments
 (0)