Skip to content

Commit b42af0e

Browse files
authored
chore: rename to ApeRAG (#665)
1 parent 18ea31d commit b42af0e

File tree

218 files changed

+771
-990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+771
-990
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ documents
1414

1515
.env
1616
.docker-env
17-
DeepRAG-FrontEnd
17+
ApeRAG-FrontEnd

.github/utils/generate_release_notes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
RELEASE_ISSUE_RANGE = "^v(.*) Release Planning$"
1919
MAJOR_RELEASE_REGEX = "^([0-9]+\.[0-9]+)\.[0-9]+.*$"
20-
MILESTONE_REGEX = "https://github.com/apecloud/KubeChat/milestone/([0-9]+)"
20+
MILESTONE_REGEX = "https://github.com/apecloud/ApeRAG/milestone/([0-9]+)"
2121
CHANGE_TYPES : list[str] = ["New Features", "Bug Fixes", "Miscellaneous"]
2222

2323

@@ -38,7 +38,7 @@ def main(argv: list[str]) -> None:
3838
# get milestone issue
3939
issues = [
4040
i
41-
for i in gh.get_repo("apecloud/KubeChat").get_issues(state="open")
41+
for i in gh.get_repo("apecloud/ApeRAG").get_issues(state="open")
4242
if re.search(RELEASE_ISSUE_RANGE, i.title)
4343
]
4444
issues = sorted(issues, key=lambda i: i.id)
@@ -55,7 +55,7 @@ def main(argv: list[str]) -> None:
5555

5656
# get release version from issue name
5757
release_version = re.search(RELEASE_ISSUE_RANGE, issue.title).group(1)
58-
print(f"Generating release notes for KubeChat {release_version}")
58+
print(f"Generating release notes for ApeRAG {release_version}")
5959

6060
# Set REL_VERSION
6161
if gh_env:
@@ -74,7 +74,7 @@ def main(argv: list[str]) -> None:
7474
print(f"WARNING: found more than one milestone in release issue body, first milestone will be picked: {[i for i in repo_milestones]}")
7575

7676
# find all issues and PRs in milestone
77-
repo = gh.get_repo("apecloud/KubeChat")
77+
repo = gh.get_repo("apecloud/ApeRAG")
7878
milestone = repo.get_milestone(int(repo_milestones[0]))
7979
issue_or_prs = [i for i in repo.get_issues(milestone, state="closed")]
8080
print(f"Detected {len(issue_or_prs)} issues or pull requests")

.github/utils/release_gitlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -o errexit
44
set -o nounset
55
set -o pipefail
66

7-
DEFAULT_PACKAGE_NAME=kubechat
7+
DEFAULT_PACKAGE_NAME=aperag
88
DEFAULT_CHANNEL=stable
99
API_URL=https://jihulab.com/api/v4/projects
1010

@@ -173,7 +173,7 @@ gitlab_api_curl() {
173173
create_release() {
174174
request_type=POST
175175
request_url=$API_URL/$PROJECT_ID/releases
176-
request_data='{"ref":"main","name":"KubeChat\t'$TAG_NAME'","tag_name":"'$TAG_NAME'"}'
176+
request_data='{"ref":"main","name":"ApeRAG\t'$TAG_NAME'","tag_name":"'$TAG_NAME'"}'
177177

178178
gitlab_api_curl --request $request_type $request_url --data $request_data
179179
}

.github/utils/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ EOF
4848
}
4949

5050
GITHUB_API="https://api.github.com"
51-
LATEST_REPO=apecloud/KubeChat
51+
LATEST_REPO=apecloud/ApeRAG
5252

5353
main() {
5454
local TYPE=""

.github/workflows/cicd-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
if: contains(needs.trigger-mode.outputs.trigger-mode, '[docker]')
5858
uses: apecloud/apecloud-cd/.github/workflows/release-image-check.yml@v0.1.49
5959
with:
60-
IMG: "apecloud/deeprag"
60+
IMG: "apecloud/aperag"
6161
BUILDX_PLATFORMS: "linux/amd64"
6262
DOCKERFILE_PATH: "./Dockerfile"
6363
PYTHON_VERSION: "3.11"
@@ -71,7 +71,7 @@ jobs:
7171
uses: apecloud/apecloud-cd/.github/workflows/release-charts-check.yml@v0.1.48
7272
with:
7373
VERSION: "v0.4.0-check"
74-
CHART_NAME: "deeprag"
74+
CHART_NAME: "aperag"
7575
CHART_DIR: "deploy"
7676
APECD_REF: "v0.1.48"
7777
secrets: inherit

.github/workflows/cicd-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[docker]') }}
107107
uses: apecloud/apecloud-cd/.github/workflows/release-image-check.yml@v0.1.49
108108
with:
109-
IMG: "apecloud/deeprag"
109+
IMG: "apecloud/aperag"
110110
BUILDX_PLATFORMS: "linux/amd64"
111111
DOCKERFILE_PATH: "./Dockerfile"
112112
PYTHON_VERSION: "3.11"
@@ -119,7 +119,7 @@ jobs:
119119
uses: apecloud/apecloud-cd/.github/workflows/release-charts-check.yml@v0.1.48
120120
with:
121121
VERSION: "v0.4.0-check"
122-
CHART_NAME: "deeprag"
122+
CHART_NAME: "aperag"
123123
CHART_DIR: "deploy"
124124
APECD_REF: "v0.1.48"
125125
secrets: inherit

.github/workflows/e2e-kubechat.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: E2E Test deeprag
1+
name: E2E Test aperag
22

33
on:
44
workflow_dispatch:
55
inputs:
66
VERSION:
7-
description: 'deeprag release version'
7+
description: 'aperag release version'
88
required: true
99
default: ''
1010
KUBEBLOCKS_VERSION:
@@ -45,7 +45,7 @@ on:
4545
default: '1'
4646

4747

48-
run-name: deeprag:${{ inputs.VERSION }} ${{ inputs.CLOUD_PROVIDER }}:${{ inputs.CLUSTER_VERSION }}:${{ inputs.NODE_TYPE }}
48+
run-name: aperag:${{ inputs.VERSION }} ${{ inputs.CLOUD_PROVIDER }}:${{ inputs.CLUSTER_VERSION }}:${{ inputs.NODE_TYPE }}
4949

5050
env:
5151
GH_TOKEN: ${{ github.token }}
@@ -62,9 +62,9 @@ jobs:
6262
e2e:
6363
name: ${{ inputs.CLOUD_PROVIDER }}
6464
needs: [ check-version ]
65-
uses: apecloud/apecloud-cd/.github/workflows/deeprag-test-k8s.yml@main
65+
uses: apecloud/apecloud-cd/.github/workflows/aperag-test-k8s.yml@main
6666
with:
67-
DEEPRAG_VERSION: "${{ needs.check-version.outputs.release-version }}"
67+
APERAG_VERSION: "${{ needs.check-version.outputs.release-version }}"
6868
KUBEBLOCKS_VERSION: "${{ inputs.KUBEBLOCKS_VERSION }}"
6969
CLOUD_PROVIDER: "${{ inputs.CLOUD_PROVIDER }}"
7070
CLUSTER_VERSION: "${{ inputs.CLUSTER_VERSION }}"

.github/workflows/milestoneclose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9-
REPO: DeepRAG
9+
REPO: ApeRAG
1010
milestone: 1
1111
ORGANIZATION: apecloud
1212
PROJECT_NUMBER: 18

.github/workflows/pull-request-user-interaction.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
99
REVIEWERS: 'iziang'
10-
REPO: 'DeepRAG'
10+
REPO: 'ApeRAG'
1111
ISINTERACTION: ''
1212

1313
jobs:

.github/workflows/release-chart.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
type: choice
1515
options:
1616
- ""
17-
- deeprag
17+
- aperag
1818
release:
1919
types:
2020
- published
@@ -44,21 +44,21 @@ jobs:
4444
ARTIFACT_KEY="${{ env.RELEASE_VERSION }}-chart"
4545
echo 'artifact_key='${ARTIFACT_KEY} >> $GITHUB_OUTPUT
4646
47-
release-deeprag-chart:
48-
if: ${{ github.event.action == 'published' || inputs.chart_name == '' || inputs.chart_name == 'deeprag' }}
47+
release-aperag-chart:
48+
if: ${{ github.event.action == 'published' || inputs.chart_name == '' || inputs.chart_name == 'aperag' }}
4949
needs: [ chart-version ]
5050
uses: apecloud/apecloud-cd/.github/workflows/release-charts.yml@v0.1.34
5151
with:
5252
VERSION: "${{ needs.chart-version.outputs.chart-version }}"
5353
CHART_DIR: "deploy"
54-
SPECIFY_CHART: "deeprag"
54+
SPECIFY_CHART: "aperag"
5555
APECD_REF: "v0.1.34"
5656
CHECK_ENABLE: false
5757
secrets: inherit
5858

5959
release-result:
6060
runs-on: ubuntu-latest
61-
needs: [ release-deeprag-chart ]
61+
needs: [ release-aperag-chart ]
6262
if: ${{ always() && github.event.action == 'published' }}
6363
outputs:
6464
release-result: ${{ steps.get_release_result.outputs.release_result }}
@@ -71,7 +71,7 @@ jobs:
7171
echo 'artifact_key='${ARTIFACT_KEY} >> $GITHUB_OUTPUT
7272
7373
RELEASE_RESULT="error"
74-
if [[ "${{ needs.release-deeprag-chart.result }}" == "success" ]]; then
74+
if [[ "${{ needs.release-aperag-chart.result }}" == "success" ]]; then
7575
RELEASE_RESULT="success"
7676
echo "success" > ${ARTIFACT_KEY}
7777
else

0 commit comments

Comments
 (0)