Skip to content

Commit

Permalink
Ako/ update the repo name globally (deriv-com#17041)
Browse files Browse the repository at this point in the history
* ci: update the repo name in .github directory

* chore: update all the references to binary-com to deriv-com

* chore: update codeowners file

* chore: update the codeowners file
  • Loading branch information
ali-hosseini-deriv authored Oct 1, 2024
1 parent 12cb75a commit 82bcc77
Show file tree
Hide file tree
Showing 19 changed files with 52 additions and 60 deletions.
38 changes: 15 additions & 23 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ==================================================================================
# ==================================================================================
#
# Configuration of code ownership and review approvals for the binary-com/deriv-app repo.
# Configuration of code ownership and review approvals for the deriv-com/deriv-app repo.
#
# More info: https://help.github.com/articles/about-codeowners/
#
Expand Down Expand Up @@ -38,9 +38,7 @@
# ali-hosseini-deriv
# amina-deriv
# balakrishna-deriv
# farrah-deriv
# hirad-deriv
# mahdiyeh-deriv
# maryia-deriv
# matin-deriv
# nijil-deriv
Expand All @@ -66,28 +64,22 @@
# (in case no pattern matches a path in a PR - this should be treated as a bug and result in adding the path to CODEOWNERS)
# ==============================================================

* @balakrishna-deriv @yashim-deriv @wojciech-deriv @matin-deriv @markwylde-deriv
* @balakrishna-deriv @yashim-deriv @wojciech-deriv @matin-deriv


# ==============================================================
# deriv-app/account
# ==============================================================

/packages/account/**/* @matin-deriv @amina-deriv @maryia-deriv
/packages/account/**/* @matin-deriv @amina-deriv


# ==============================================================
# deriv-app/analytics
# ==============================================================

/packages/analytics/**/* @ali-hosseini-deriv


# ==============================================================
# deriv-app/appstore
# ==============================================================

/packages/appstore/**/* @matin-deriv @mahdiyeh-deriv @nijil-deriv
/packages/appstore/**/* @matin-deriv @nijil-deriv


# ==============================================================
Expand Down Expand Up @@ -118,13 +110,13 @@
# ==============================================================

/packages/api/**/* @ali-hosseini-deriv @matin-deriv
/packages/core/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/shared/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/components/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/translations/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/utils/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/core/**/* @ali-hosseini-deriv @matin-deriv
/packages/shared/**/* @ali-hosseini-deriv @matin-deriv
/packages/components/**/* @ali-hosseini-deriv @matin-deriv
/packages/translations/**/* @ali-hosseini-deriv @matin-deriv
/packages/utils/**/* @ali-hosseini-deriv @matin-deriv
/packages/hooks/**/* @ali-hosseini-deriv @matin-deriv
/packages/stores/**/* @ali-hosseini-deriv @matin-deriv @maryia-deriv
/packages/stores/**/* @ali-hosseini-deriv @matin-deriv


# ==============================================================
Expand All @@ -145,28 +137,28 @@
# deriv-app/reports
# ==============================================================

/packages/reports/**/* @mahdiyeh-deriv @matin-deriv @maryia-deriv
/packages/reports/**/* @matin-deriv


# ==============================================================
# deriv-app/trader
# ==============================================================

/packages/trader/**/* @matin-deriv @maryia-deriv
/packages/trader/**/* @matin-deriv


# ==============================================================
# deriv-app/tradershub
# ==============================================================

/packages/tradershub/**/* @matin-deriv @mahdiyeh-deriv @thisyahlen-deriv
/packages/tradershub/**/* @matin-deriv @thisyahlen-deriv


# ==============================================================
# deriv-app/wallets
# ==============================================================

/packages/wallets/**/* @adrienne-deriv @thisyahlen-deriv @farhan-nurzi-deriv @wojciech-deriv @aizad-deriv @heorhi-deriv
/packages/wallets/**/* @adrienne-deriv @thisyahlen-deriv @wojciech-deriv @aizad-deriv @heorhi-deriv


# ==============================================================
Expand All @@ -180,7 +172,7 @@
# deriv-app/api-v2
# ==============================================================

/packages/api-v2/**/* @adrienne-deriv @thisyahlen-deriv @farhan-nurzi-deriv @wojciech-deriv @ali-hosseini-deriv @amina-deriv @balakrishna-deriv @farrah-deriv @hirad-deriv @mahdiyeh-deriv @maryia-deriv @matin-deriv @nijil-deriv @sandeep-deriv @yashim-deriv
/packages/api-v2/**/* @adrienne-deriv @thisyahlen-deriv @wojciech-deriv @ali-hosseini-deriv @amina-deriv @balakrishna-deriv @farrah-deriv @hirad-deriv @matin-deriv @nijil-deriv @sandeep-deriv @yashim-deriv

# ==============================================================
# scripts/check-imports.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automationrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"checks_limit": 40
},
"circleci": {
"project_slug": "gh/binary-com/deriv-app",
"project_slug": "gh/deriv-com/deriv-app",
"branch": "master",
"workflow_name": "release_staging"
},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_and_push_deriv_api_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
generate_and_push_deriv_api_types:
if: github.repository == 'binary-com/deriv-app'
if: github.repository == 'deriv-com/deriv-app'
runs-on: "ubuntu-latest"
steps:
- name: Setup node
Expand Down Expand Up @@ -112,5 +112,5 @@ jobs:
sudo apt install gh
gh auth login --with-token <<< ${{ github.token }}
gh pr close "$package_name" || true
gh pr create --title "Bump $package_name from $safe_old_version to $new_version" --body "Diff url: $diff_url\n \`\`\`diff ${pr_body:0:5000} \`\`\`" --base "master" --head "binary-com:$package_name"
gh pr create --title "Bump $package_name from $safe_old_version to $new_version" --body "Diff url: $diff_url\n \`\`\`diff ${pr_body:0:5000} \`\`\`" --base "master" --head "deriv-com:$package_name"
fi
2 changes: 1 addition & 1 deletion .github/workflows/push_and_pull_crowdin_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,5 @@ jobs:
sudo apt install gh
gh auth login --with-token <<< ${{ github.token }}
gh pr close "$branch_name" || true
gh pr create --base "master" --title "Sync Crowdin Translations 📚" --head "binary-com:$branch_name" --body "This is an automated Pull Request designed to synchronize our project's translations with Crowdin. It pushes new strings for translation and pulls completed translations, ensuring our project remains multilingual and up-to-date."
gh pr create --base "master" --title "Sync Crowdin Translations 📚" --head "deriv-com:$branch_name" --body "This is an automated Pull Request designed to synchronize our project's translations with Crowdin. It pushes new strings for translation and pulls completed translations, ensuring our project remains multilingual and up-to-date."
fi
2 changes: 1 addition & 1 deletion .github/workflows/remote_config_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
sudo apt install gh
gh auth login --with-token <<< ${{ github.token }}
gh pr close "$REMOTE_CONFIG_BRANCH" || true
gh pr create --base "master" --title "Sync Remote Config File 🤖" --head "binary-com:$REMOTE_CONFIG_BRANCH" --body "This is an automated Pull Request designed to synchronize our project's Remote Config from Its origin. It checks for the changes in the remote config URL and in case of any change, it will update it using this PR."
gh pr create --base "master" --title "Sync Remote Config File 🤖" --head "deriv-com:$REMOTE_CONFIG_BRANCH" --body "This is an automated Pull Request designed to synchronize our project's Remote Config from Its origin. It checks for the changes in the remote config URL and in case of any change, it will update it using this PR."
fi
shell: bash
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This repository contains the various platforms of the Deriv application.

![CircleCI](https://img.shields.io/circleci/build/github/binary-com/deriv-app) ![Prerequisite](https://img.shields.io/badge/node-18.x-blue.svg) ![Prerequisite](https://img.shields.io/badge/npm-9.x-blue.svg)
![Prerequisite](https://img.shields.io/badge/node-18.x-blue.svg) ![Prerequisite](https://img.shields.io/badge/npm-9.x-blue.svg)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)
![Sonar Tech Debt](https://img.shields.io/sonar/tech_debt/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io)
![Sonar Violations (short format)](https://img.shields.io/sonar/violations/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io)
Expand Down Expand Up @@ -52,7 +52,7 @@ Before running or contribute to this project, you need to have the setup of the
2. **Clone using SSH**

```sh
git clone [email protected]:binary-com/deriv-app.git
git clone [email protected]:deriv-com/deriv-app.git
```

> **Internal**: NX and Lerna integration
Expand Down
4 changes: 2 additions & 2 deletions docs/Stylesheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $COLOR_LIGHT_BLACK_1: rgba(0, 0, 0, 0.8);
$COLOR_DARK_BLUE_1: #0b0e18;
```

Keep all common variables in the [constants.scss](https://github.com/binary-com/deriv-app/blob/master/src/sass/app/_common/base/constants.scss) file.
Keep all common variables in the [constants.scss](https://github.com/deriv-com/deriv-app/blob/master/src/sass/app/_common/base/constants.scss) file.

---

Expand Down Expand Up @@ -128,7 +128,7 @@ import SomeIconSvg from 'Assets/SvgComponents/folder_name/some_icon.svg';
```

<a id="svg-theme"></a>
**[Theme:](#svg-theme)** Use declared classes such as `color1-fill` to handle colouring of SVGs between different themes instead of adding extra Sass for each new image. If the existing classes don't cover what you need, create more [here](https://github.com/binary-com/deriv-app/blob/master/src/sass/app/_common/inline_icons.scss#L1-L10).
**[Theme:](#svg-theme)** Use declared classes such as `color1-fill` to handle colouring of SVGs between different themes instead of adding extra Sass for each new image. If the existing classes don't cover what you need, create more [here](https://github.com/deriv-com/deriv-app/blob/master/src/sass/app/_common/inline_icons.scss#L1-L10).

---

Expand Down
4 changes: 2 additions & 2 deletions packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"version": "1.0.0",
"description": "Deriv account management module",
"author": "Deriv.com",
"homepage": "https://github.com/binary-com/deriv-app",
"homepage": "https://github.com/deriv-com/deriv-app",
"license": "Apache-2.0",
"main": "dist/account/js/account.js",
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"engines": {
"node": "18.x"
Expand Down
4 changes: 2 additions & 2 deletions packages/cashier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/binary-com/deriv-app.git"
"url": "git+https://github.com/deriv-com/deriv-app.git"
},
"scripts": {
"analyze:stats": "f () { NODE_OPTIONS='-r ts-node/register' webpack --progress --config \"./build/webpack.config.js\" --env base=$1 --profile --json=stats.json;}; f",
Expand All @@ -34,7 +34,7 @@
"build": "f () { NODE_OPTIONS='-r ts-node/register' webpack --config \"./build/webpack.config.js\" --env base=$1;}; f"
},
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"dependencies": {
"@deriv-com/ui": "1.35.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/cfd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/binary-com/deriv-app.git"
"url": "https://github.com/deriv-com/deriv-app.git"
},
"keywords": [
"deriv"
],
"author": "Deriv",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"homepage": "https://github.com/binary-com/deriv-app",
"homepage": "https://github.com/deriv-com/deriv-app",
"devDependencies": {
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^12.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ eslint .

## Storybook

- [`Storybook`](https://github.com/binary-com/deriv-app/blob/master/storybook/README.md)
- [`Storybook`](https://github.com/deriv-com/deriv-app/blob/master/storybook/README.md)

The `npm run storybook` command is used to start storybook within the components package

Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
},
"repository": {
"type": "git",
"url": "https://github.com/binary-com/deriv-app.git"
"url": "https://github.com/deriv-com/deriv-app.git"
},
"keywords": [
"deriv"
],
"author": "Deriv",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"engines": {
"node": "18.x"
},
"homepage": "https://github.com/binary-com/deriv-app",
"homepage": "https://github.com/deriv-com/deriv-app",
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/indicators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "1.0.0",
"description": "Deriv Indicators",
"author": "Deriv",
"homepage": "https://github.com/binary-com/deriv-app#readme",
"homepage": "https://github.com/deriv-com/deriv-app#readme",
"license": "Apache-2.0",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/binary-com/deriv-app.git"
"url": "git+https://github.com/deriv-com/deriv-app.git"
},
"engines": {
"node": "18.x"
Expand All @@ -29,7 +29,7 @@
"deploy:production": "echo \"No deploy:production specified\""
},
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/p2p/scripts/update-translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ! [ -x "$(command -v crowdin)" ]; then
fi
fi

if [[ $(git config --get remote.origin.url) =~ binary-com/deriv-app ]]; then
if [[ $(git config --get remote.origin.url) =~ deriv-com/deriv-app ]]; then
echo ${RED}" > ERROR: "${RESET}"remote 'origin' should be your fork."
exit 1
fi
Expand Down
6 changes: 3 additions & 3 deletions packages/reports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/binary-com/deriv-app.git"
"url": "https://github.com/deriv-com/deriv-app.git"
},
"keywords": [
"deriv"
],
"author": "Deriv",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"homepage": "https://github.com/binary-com/deriv-app",
"homepage": "https://github.com/deriv-com/deriv-app",
"devDependencies": {
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "deriv shared",
"author": "Deriv",
"license": "Apache-2.0",
"homepage": "https://github.com/binary-com/deriv-app#readme",
"homepage": "https://github.com/deriv-com/deriv-app#readme",
"main": "src/index.ts",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/binary-com/deriv-app.git"
"url": "git+https://github.com/deriv-com/deriv-app.git"
},
"engines": {
"node": "18.x"
Expand All @@ -27,7 +27,7 @@
"test:eslint": "eslint \"./src/**/*.?(js|jsx|ts|tsx)\""
},
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/trader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/binary-com/deriv-app.git"
"url": "https://github.com/deriv-com/deriv-app.git"
},
"keywords": [
"deriv"
],
"author": "Deriv",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/binary-com/deriv-app/issues"
"url": "https://github.com/deriv-com/deriv-app/issues"
},
"homepage": "https://github.com/binary-com/deriv-app",
"homepage": "https://github.com/deriv-com/deriv-app",
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-react": "^7.16.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<br />

Push and pull Crowdin translations actions will automatically extract strings from the Deriv.app repo and upload them to Crowdin. It will also check whether Crowdin has new translations available, and if so, it will automatically download these translations and create a PR to Deriv.app's `master` branch to merge them in. For more information you can check [here](https://github.com/binary-com/deriv-app/blob/master/.github/workflows/push_and_pull_crowdin_translations.yml)
Push and pull Crowdin translations actions will automatically extract strings from the Deriv.app repo and upload them to Crowdin. It will also check whether Crowdin has new translations available, and if so, it will automatically download these translations and create a PR to Deriv.app's `master` branch to merge them in. For more information you can check [here](https://github.com/deriv-com/deriv-app/blob/master/.github/workflows/push_and_pull_crowdin_translations.yml)

<br />

Expand All @@ -26,7 +26,7 @@ Push and pull Crowdin translations actions will automatically extract strings fr
- Crowdin CLI: download here: https://support.crowdin.com/cli-tool/#installation
- `CROWDIN_API_KEY` environment variables to your `~/.bash_profile`
- remote `origin` should be your fork
- remote `upstream` should be the source repository (e.g. `[email protected]:binary-com/deriv-app.git`)
- remote `upstream` should be the source repository (e.g. `[email protected]:deriv-com/deriv-app.git`)

## Extracting translations

Expand Down
Loading

0 comments on commit 82bcc77

Please sign in to comment.