From e2161e36f9bd8bd897e8eb10cfc9ba7413fe5b96 Mon Sep 17 00:00:00 2001 From: Aymen-Soussi-01 Date: Fri, 13 Jun 2025 11:53:21 +0200 Subject: [PATCH 1/5] update UI with our bazel registry modules (#1) --- .github/workflows/deploy.yml | 7 +------ .gitmodules | 2 +- README.md | 2 +- components/Footer.tsx | 7 +++---- components/Header.tsx | 22 ++-------------------- data/bazel-central-registry | 2 +- next.config.js | 7 +++---- pages/all-modules.tsx | 10 ++++------ tailwind.config.js | 4 ++-- 9 files changed, 18 insertions(+), 45 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3691bfc4f998b8..da9cd284c63125 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,29 +32,24 @@ jobs: - name: Install required binaries run: | ./install_bins.sh - - name: Checkout BCR submodule run: | git submodule update --init -- data/bazel-central-registry - - name: Checkout latest commit of BCR submodule if: ${{ !inputs.bcrCommitHash }} working-directory: data/bazel-central-registry run: | git checkout origin/main - - name: Checkout specific commit of BCR submodule if: ${{ inputs.bcrCommitHash }} working-directory: data/bazel-central-registry run: | git checkout ${{ inputs.bcrCommitHash }} - - name: Install and Build đź”§ # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | pnpm install --frozen-lockfile pnpm run build - - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 with: - folder: out + folder: out \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 2df04a25aa47be..ee4fe0bd483ade 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "data/bazel-central-registry"] path = data/bazel-central-registry - url = https://github.com/bazelbuild/bazel-central-registry.git + url = https://github.com/eclipse-score/bazel_registry.git diff --git a/README.md b/README.md index 315033917092cf..8f884804e01fcb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Bazel Central Registry Web UI -This repository provides a web UI for the [Bazel Central Registry (BCR)](https://github.com/bazelbuild/bazel-central-registry). +This repository provides a web UI for the [Bazel Central Registry (BCR)](https://github.com/eclipse-score/bazel_registry). It entirely consists of statically rendered pages, which are updated as soon as a new commit is pushed to the BCR. ## Contributing diff --git a/components/Footer.tsx b/components/Footer.tsx index f903c566c44832..e704f2067b6a60 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -3,15 +3,14 @@ import React from 'react' interface FooterProps {} export const REPORT_LINK = - 'https://github.com/bazelbuild/bazel-central-registry/tree/main/docs#requesting-to-take-down-a-module' -export const BCR_UI_REPO_LINK = 'https://github.com/bazel-contrib/bcr-ui' + 'https://github.com/eclipse-score/bazel_registry/issues' +export const BCR_UI_REPO_LINK = 'https://github.com/eclipse-score/bazel_registry_ui' export const Footer: React.FC = () => { return (