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/.github/workflows/trigger-via-bcr.yml b/.github/workflows/trigger-via-bcr.yml index 69f2e969c10998..29487ee60c25fa 100644 --- a/.github/workflows/trigger-via-bcr.yml +++ b/.github/workflows/trigger-via-bcr.yml @@ -1,6 +1,8 @@ on: repository_dispatch: types: [on-bcr-trigger] +permissions: + contents: write jobs: deploy: uses: ./.github/workflows/deploy.yml 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..045199ef69ccbb 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# Bazel Central Registry Web UI +# Eclipse S-CORE Bazel Registry Modules Web UI -This repository provides a web UI for the [Bazel Central Registry (BCR)](https://github.com/bazelbuild/bazel-central-registry). -It entirely consists of statically rendered pages, which are updated as soon as a new commit is pushed to the BCR. +This repository provides a web UI for the [Eclipse S‑CORE Bazel Modules Registry](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 registry. ## Contributing We are happy about any contributions! -To get started you can take a look at our [Github issues](https://github.com/hobofan/bcr-web-ui/issues). +To get started you can take a look at our [Github issues](https://github.com/eclipse-score/bazel_registry_ui/issues). Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 @@ -16,7 +16,7 @@ conditions. ### Getting Started -We use git submodules to include the data from bazelbuild/bazel-central-registry, so after cloning this repo you need to run: +We use git submodules to include the data from eclipse-score/bazel_registry, so after cloning this repo you need to run: ```bash git submodule update --init @@ -36,7 +36,7 @@ Then, run the development server: npm run dev ``` -Open with your browser to see the result. +Open with your browser to see the result. You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. diff --git a/components/Footer.tsx b/components/Footer.tsx index f903c566c44832..c0dee109d07ca8 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -3,15 +3,16 @@ 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 (