Skip to content

Commit 6ea93e1

Browse files
committed
Update references to BCR in favor of RCR
1 parent e259131 commit 6ea93e1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
interface FooterProps {}
44

55
export const REPORT_LINK =
6-
'https://github.com/bazelbuild/bazel-central-registry/tree/main/docs#requesting-to-take-down-a-module'
6+
'https://github.com/asymingt/ros-central-registry/tree/main/docs#requesting-to-take-down-a-module'
77
export const BCR_UI_REPO_LINK = 'https://github.com/bazel-contrib/bcr-ui'
88

99
export const Footer: React.FC<FooterProps> = () => {

components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface HeaderProps {}
66

77
export const USER_GUIDE_LINK = 'https://bazel.build/docs/bzlmod'
88
export const CONTRIBUTE_CTA_LINK =
9-
'https://github.com/bazelbuild/bazel-central-registry/blob/main/docs/README.md'
9+
'https://github.com/asymingt/ros-central-registry/blob/main/docs/README.md'
1010

1111
export const Header: React.FC<HeaderProps> = () => {
1212
const router = useRouter()

data/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import yaml from 'js-yaml'
1010
export const MODULES_ROOT_DIR = path.join(
1111
process.cwd(),
1212
'data',
13-
'bazel-central-registry',
13+
'ros-central-registry',
1414
'modules'
1515
)
1616

@@ -90,7 +90,7 @@ const getSubmissionCommitOfVersionInternal = async (
9090
version: string
9191
): Promise<Commit> => {
9292
const options = {
93-
repo: path.join(process.cwd(), 'data', 'bazel-central-registry'),
93+
repo: path.join(process.cwd(), 'data', 'ros-central-registry'),
9494
number: 10,
9595
file: `modules/${module}/${version}/source.json`,
9696
fields: ['hash', 'authorDate', 'authorDateRel'] as any,

pages/modules/[module].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ const ModulePage: NextPage<ModulePageProps> = ({
210210
<div className="flex p-2 justify-end">
211211
<div className="flex flex-col justify-between items-end">
212212
<a
213-
href={`https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/${module}/${version.version}`}
213+
href={`https://github.com/asymingt/ros-central-registry/tree/main/modules/${module}/${version.version}`}
214214
className="text-link-color hover:text-link-color-hover"
215215
>
216216
view registry source
217217
</a>
218218
<a
219-
href={`https://github.com/bazelbuild/bazel-central-registry/commit/${version.submission.hash}`}
219+
href={`https://github.com/asymingt/ros-central-registry/commit/${version.submission.hash}`}
220220
className="text-link-color hover:text-link-color-hover"
221221
suppressHydrationWarning
222222
>

pages/search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface SearchPageProps {
1414
}
1515

1616
const GITHUB_ISSUE_LINK =
17-
'https://github.com/bazelbuild/bazel-central-registry/issues/new?assignees=&labels=module+wanted&template=module_wanted.yaml&title=wanted%3A+%5Bgithub+path+of+the+module%2C+e.g.+bazelbuild%2Frules_foo%5D'
17+
'https://github.com/asymingt/ros-central-registry/issues/new?assignees=&labels=module+wanted&template=module_wanted.yaml&title=wanted%3A+%5Bgithub+path+of+the+module%2C+e.g.+bazelbuild%2Frules_foo%5D'
1818

1919
const Search: NextPage<SearchPageProps> = ({ searchIndex }) => {
2020
const [searchResults, setSearchResults] = useState<SearchIndexEntry[]>([])

0 commit comments

Comments
 (0)