Skip to content

Commit

Permalink
[Non-Inclusive Lanuage] Replace references to master branch with main
Browse files Browse the repository at this point in the history
Signed-off-by: kaddy645 <[email protected]>
  • Loading branch information
kaddy645 committed Jun 22, 2022
1 parent 6aba08a commit a8c8756
Show file tree
Hide file tree
Showing 39 changed files with 47 additions and 49 deletions.
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ assertion would now wrongly disable proper type checking for us.
If you’re not using non-null assertions in your plugin or are starting a new plugin, consider enabling the
[`@typescript-eslint/no-non-null-assertion`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-assertion.md)
linting rule for you plugin in the [`.eslintrc.js`](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/.eslintrc.js) config.
linting rule for you plugin in the [`.eslintrc.js`](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/.eslintrc.js) config.
### Return/throw early from functions
Expand Down
2 changes: 1 addition & 1 deletion examples/bfetch_explorer/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class BfetchExplorerPlugin implements Plugin {
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/bfetch/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/bfetch/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand Down
2 changes: 1 addition & 1 deletion examples/developer_examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services. Add your a link to your example using the developerExamples `register`
links: [
{
label: 'README',
href: 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/foo/README.md',
href: 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/foo/README.md',
iconType: 'logoGithub',
target: '_blank',
size: 's',
Expand Down
2 changes: 1 addition & 1 deletion examples/embeddable_explorer/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class EmbeddableExplorerPlugin implements Plugin<void, void, {}, StartDep
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/embeddable/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/embeddable/README.md',
iconType: 'logoGithub',
target: '_blank',
size: 's',
Expand Down
2 changes: 1 addition & 1 deletion examples/expressions_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ An OpenSearch Dashboards example plugin to demonstrate the expressions plugin
## Development

See the [OpenSearch Dashboards contributing
guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions
guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/CONTRIBUTING.md) for instructions
setting up your development environment.
2 changes: 1 addition & 1 deletion examples/routing_example/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function RoutingExplorer({
{
label: 'Conventions',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/DEVELOPER_GUIDE.md#api-endpoints',
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/DEVELOPER_GUIDE.md#api-endpoints',
iconType: 'logoGithub',
target: '_blank',
size: 's',
Expand Down
2 changes: 1 addition & 1 deletion examples/search_examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

## Development

See the [opensearchDashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
See the [opensearchDashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/CONTRIBUTING.md) for instructions setting up your development environment.
6 changes: 3 additions & 3 deletions examples/state_containers_examples/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class StateContainersExamplesPlugin implements Plugin {
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand All @@ -110,7 +110,7 @@ export class StateContainersExamplesPlugin implements Plugin {
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand All @@ -128,7 +128,7 @@ export class StateContainersExamplesPlugin implements Plugin {
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/data/public/query/state_sync/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/data/public/query/state_sync/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand Down
2 changes: 1 addition & 1 deletion examples/ui_actions_explorer/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class UiActionsExplorerPlugin implements Plugin<void, void, {}, StartDeps
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/ui_actions/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/ui_actions/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand Down
2 changes: 1 addition & 1 deletion examples/url_generators_explorer/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class AccessLinksExplorerPlugin implements Plugin<void, void, SetupDeps,
{
label: 'README',
href:
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/share/public/url_generators/README.md',
'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/share/public/url_generators/README.md',
iconType: 'logoGithub',
size: 's',
target: '_blank',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = {
rules: {
...{
// Most of the ports were done according
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/ROADMAP.md
// https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/ROADMAP.md
//
// Old recommended tslint rules
'@typescript-eslint/adjacent-overload-signatures': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/osd-config/src/config_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { ConfigService, Env, RawPackageInfo } from '.';
import { getEnvOptions } from './__mocks__/env';

const packageInfos: RawPackageInfo = {
branch: 'master',
branch: 'main',
version: '8.0.0',
build: {
number: 42,
Expand Down
2 changes: 1 addition & 1 deletion packages/osd-config/src/env.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { getEnvOptions } from './__mocks__/env';
const REPO_ROOT = '/test/opensearchDashboardsRoot';

const packageInfos: RawPackageInfo = {
branch: 'master',
branch: 'main',
version: '8.0.0',
build: {
number: 42,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ settings:
plugin2: plugins/plugin2
```
See [the resolvers docs](https://github.com/benmosher/eslint-plugin-import#resolvers) or the [resolver spec](https://github.com/benmosher/eslint-plugin-import/blob/master/resolvers/README.md#resolvesource-file-config---found-boolean-path-string-) for more details.
See [the resolvers docs](https://github.com/benmosher/eslint-plugin-import#resolvers) or the [resolver spec](https://github.com/benmosher/eslint-plugin-import/blob/main/resolvers/README.md#resolvesource-file-config---found-boolean-path-string-) for more details.
## Debugging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ exports.resolve = function resolveOpenSearchDashboardsPath(importRequest, file,
});
};

// use version 2 of the resolver interface, https://github.com/benmosher/eslint-plugin-import/blob/master/resolvers/README.md#interfaceversion--number
// use version 2 of the resolver interface, https://github.com/benmosher/eslint-plugin-import/blob/main/resolvers/README.md#interfaceversion--number
exports.interfaceVersion = 2;
4 changes: 2 additions & 2 deletions packages/osd-plugin-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The plugin generator became a part of the OpenSearch Dashboards project as of Op

## Quick Start

To target the current development version of OpenSearch Dashboards just use the default `master` branch.
To target the current development version of OpenSearch Dashboards just use the default `main` branch.

```sh
node scripts/generate_plugin --name my_plugin_name -y
Expand Down Expand Up @@ -41,7 +41,7 @@ Since the Plugin Generator is now a part of the OpenSearch Dashboards repo, when
> ***NOTE:*** These commands should be run from the OpenSearch Dashboards repo, and `upstream` is our convention for the git remote that references https://github.com/opensearch-project/OpenSearch-Dashboards.git, unless you added this remote you might need to use `origin`.
```sh
git pull upstream master
git pull upstream main
yarn osd bootstrap
```

Expand Down
2 changes: 1 addition & 1 deletion packages/osd-plugin-generator/template/README.md.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Development

See the [OpenSearch Dashboards contributing
guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions
guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/CONTRIBUTING.md) for instructions
setting up your development environment.

<% if (thirdPartyPlugin) { %>
Expand Down
4 changes: 2 additions & 2 deletions packages/osd-spec-to-console/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ mini utility to convert [OpenSearch's REST spec](https://github.com/opensearch-project/OpenSearch/blob/master/rest-api-spec) to Console's (OpenSearch Dashboards) autocomplete format.
\ mini utility to convert [OpenSearch's REST spec](https://github.com/opensearch-project/OpenSearch/blob/main/rest-api-spec) to Console's (OpenSearch Dashboards) autocomplete format.


It is used to semi-manually update Console's autocompletion rules.
Expand All @@ -13,7 +13,7 @@ git init
git remote add origin https://github.com/opensearch-project/OpenSearch
git config core.sparsecheckout true
echo "rest-api-spec/src/main/resources/rest-api-spec/api/*\nx-pack/plugin/src/test/resources/rest-api-spec/api/*" > .git/info/sparse-checkout
git pull --depth=1 origin master
git pull --depth=1 origin main
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export function runFailedTestsReporterCli() {
}

const isPr = !!process.env.ghprbPullId;
const isMasterOrVersion = branch === 'master' || branch.match(/^\d+\.(x|\d+)$/);
const isMasterOrVersion = branch === 'main' || branch.match(/^\d+\.(x|\d+)$/);
if (!isMasterOrVersion || isPr) {
log.info('Failure issues only created on master/version branch jobs');
log.info('Failure issues only created on main/version branch jobs');
updateGithub = false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion release-notes/opensearch-dashboards.release-notes-1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@

Bumps [jszip](https://github.com/Stuk/jszip) from 3.3.0 to 3.7.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.3.0...v3.7.1)

updated-dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/core_app/assets/legacy_dark_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/* @notice
* This product bundles [email protected] which is available under a
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/core_app/assets/legacy_light_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/* @notice
* This product bundles [email protected] which is available under a
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/http/http_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const match = (regex: RegExp, errorMsg: string) => (str: string) =>
regex.test(str) ? undefined : errorMsg;

// before update to make sure it's in sync with validation rules in Legacy
// https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/legacy/server/config/schema.js
// https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/legacy/server/config/schema.js
export const config = {
path: 'server',
schema: schema.object(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const logger = loggingSystemMock.createLogger();
const pluginPath = resolve('path', 'existent-dir');
const pluginManifestPath = resolve(pluginPath, 'opensearch_dashboards.json');
const packageInfo = {
branch: 'master',
branch: 'main',
buildNum: 1,
buildSha: '',
version: '7.0.0-alpha1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const Plugins = {
};

const packageMock = {
branch: 'master',
branch: 'main',
version: '1.2.3',
build: {
distributable: true,
Expand Down
2 changes: 1 addition & 1 deletion src/dev/ci_setup/checkout_sibling_opensearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function checkout_sibling {
function pick_clone_target {
echo "To develop OpenSearch Dashboards features against a specific branch of ${project} and being able to"
echo "test that feature also on CI, the CI is trying to find branches on ${project} with the same name as"
echo "the OpenSearch Dashboards branch (first on your fork and then upstream) before building from master."
echo "the OpenSearch Dashboards branch (first on your fork and then upstream) before building from main."
echo "picking which branch of ${project} to clone:"
if [[ -n "$PR_AUTHOR" && -n "$PR_SOURCE_BRANCH" ]]; then
cloneAuthor="$PR_AUTHOR"
Expand Down
2 changes: 1 addition & 1 deletion src/dev/ci_setup/get_percy_env.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ console.log(
`export PERCY_PARALLEL_NONCE="${shortCommit}/${isPr ? 'PR' : branch}/${process.env.BUILD_ID}";`
);
console.log(`export PERCY_BRANCH="${branch}";`);
// percy snapshots always target pkg.branch, so that feature branches can be based on master/7.x/etc.
// percy snapshots always target pkg.branch, so that feature branches can be based on main/7.x/etc.
console.log(`export PERCY_TARGET_BRANCH="${isPr ? process.env.PR_TARGET_BRANCH : pkg.branch}";`);
2 changes: 1 addition & 1 deletion src/legacy/server/config/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default () =>
name: Joi.string().default(os.hostname()),
// keep them for BWC, remove when not used in Legacy.
// validation should be in sync with one in New platform.
// https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/core/server/http/http_config.ts
// https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/core/server/http/http_config.ts
basePath: Joi.string()
.default('')
.allow('')
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/embeddable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Containers are a special type of embeddable that can contain nested embeddables.

## Examples

Many example embeddables are implemented and registered [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/embeddable_examples). They can be played around with and explored [in the Embeddable Explorer example plugin](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/embeddable_explorer). Just run OpenSearch Dashboards with
Many example embeddables are implemented and registered [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/examples/embeddable_examples). They can be played around with and explored [in the Embeddable Explorer example plugin](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/examples/embeddable_explorer). Just run OpenSearch Dashboards with

```
yarn start --run-examples
```

and navigate to the Embeddable explorer app.

There is also an example of rendering dashboard container outside of dashboard app [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/dashboard_embeddable_examples).
There is also an example of rendering dashboard container outside of dashboard app [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/examples/dashboard_embeddable_examples).

## Docs

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/opensearch_dashboards_overview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

## Development

See the [OpenSearch Dashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
See the [OpenSearch Dashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/CONTRIBUTING.md) for instructions setting up your development environment.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* [docs](../../docs/state_containers)
* [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers)
* [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_containers)
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const useContainerSelector = <Container extends StateContainer<any, any>,
* Creates helpers for using {@link StateContainer | State Containers} with react
*
* TODO Update link
* Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/react.md | guide} for details
* Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/opensearch_dashboards_utils/docs/state_containers/react.md | guide} for details
* @public
*/
export const createStateContainerReactHelpers = <Container extends StateContainer<any, any>>() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* State containers are Redux-store-like objects meant to help you manage state in your services or apps.
* TODO: Update link
* Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers | guides and examples} for more info
* Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_containers | guides and examples} for more info
*
* @packageDocumentation
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- [docs](../../docs/state_sync)
- [demo plugins](../../../../../examples/state_containers_examples): run OpenSearch Dashboards with `--run-examples` flag.
- [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_sync)
- [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_sync)
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* State syncing utilities are a set of helpers for syncing your application state
* with browser URL or browser storage.
*
* They are designed to work together with {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers | state containers}. But state containers are not required.
* They are designed to work together with {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_containers | state containers}. But state containers are not required.
*
* State syncing utilities include:
*
Expand All @@ -44,7 +44,7 @@
* Listens for state updates in the URL and pushes them back to state.
* * {@link ISessionStorageStateStorage} - Serializes state and persists it to browser storage.
*
* Refer {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_sync | here} for a complete guide and examples.
* Refer {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_sync | here} for a complete guide and examples.
* @packageDocumentation
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface ISyncStateRef<StateStorage extends IStateStorage = IStateStorag
* Utility for syncing application state wrapped in state container
* with some kind of storage (e.g. URL)
*
* Go {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_sync | here} for a complete guide and examples.
* Go {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/opensearch_dashboards_utils/docs/state_sync | here} for a complete guide and examples.
*
* @example
*
Expand Down
Loading

0 comments on commit a8c8756

Please sign in to comment.