Skip to content

Commit f58e700

Browse files
dfanglalexrashed
andauthored
Rename localstack/localstack master references to main (#98)
* Rename master references to main * update newly introduced references to old names --------- Co-authored-by: Alexander Rashed <[email protected]>
1 parent 56920f2 commit f58e700

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

.github/workflows/docs-parity-updates.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,27 +65,27 @@ jobs:
6565

6666
- name: Download metrics data from Pro pipeline (GitHub)
6767
working-directory: docs
68-
run: /tmp/get_latest_github_metrics.sh ./target master
68+
run: /tmp/get_latest_github_metrics.sh ./target main
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
71-
REPOSITORY_NAME: localstack-ext
71+
REPOSITORY_NAME: localstack-pro
7272
ARTIFACT_ID: parity-metric-ext-raw-*
7373
WORKFLOW: "AWS / Build, Test, Push"
7474
PREFIX_ARTIFACT: pro-integration-test
7575

7676
- name: Download coverage (capture-notimplemented) data from Pro pipeline (GitHub)
7777
working-directory: docs
78-
run: /tmp/get_latest_github_metrics.sh ./target master
78+
run: /tmp/get_latest_github_metrics.sh ./target main
7979
env:
8080
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
81-
REPOSITORY_NAME: localstack-ext
81+
REPOSITORY_NAME: localstack-pro
8282
ARTIFACT_ID: capture-notimplemented-pro
8383
WORKFLOW: "AWS / Build, Test, Push"
8484
RESOURCE_FOLDER: "metrics-implementation-details"
8585

8686
- name: Download metrics data from Community pipeline (GitHub)
8787
working-directory: docs
88-
run: /tmp/get_latest_github_metrics.sh ./target master
88+
run: /tmp/get_latest_github_metrics.sh ./target main
8989
env:
9090
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
9191
REPOSITORY_NAME: localstack
@@ -95,7 +95,7 @@ jobs:
9595

9696
- name: Download coverage (capture-notimplemented) data from Community pipeline (GitHub)
9797
working-directory: docs
98-
run: /tmp/get_latest_github_metrics.sh ./target master
98+
run: /tmp/get_latest_github_metrics.sh ./target main
9999
env:
100100
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
101101
REPOSITORY_NAME: localstack

public/_redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
/user-guide/aws/appsync/ /aws/services/appsync 301
166166
/tutorials/schema-evolution-glue-msk/ /aws/tutorials/schema-evolution-glue-msk 301
167167
/user-guide/ci/bitbucket/ /aws/integrations/continuous-integration/bitbucket 301
168-
/contributing/ https://github.com/localstack/localstack/blob/master/docs/CONTRIBUTING.md 301
168+
/contributing/ https://github.com/localstack/localstack/blob/main/docs/CONTRIBUTING.md 301
169169
/user-guide/aws/scheduler/ /aws/services/scheduler 301
170170
/user-guide/integrations/quarkus/ /aws/integrations/app-frameworks/quarkus 301
171171
/user-guide/aws/servicediscovery/ /aws/services/servicediscovery 301

scripts/redirects/redirect_test_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,8 @@
10191019
- **Message:** ✅ Redirect successful
10201020

10211021
### ✅ AWS: /contributing/
1022-
- **Expected:** https://github.com/localstack/localstack/blob/master/docs/CONTRIBUTING.md
1023-
- **Final URL:** https://github.com/localstack/localstack/blob/master/docs/CONTRIBUTING.md
1022+
- **Expected:** https://github.com/localstack/localstack/blob/main/docs/CONTRIBUTING.md
1023+
- **Final URL:** https://github.com/localstack/localstack/blob/main/docs/CONTRIBUTING.md
10241024
- **Status Code:** 200
10251025
- **Message:** ✅ Redirect successful
10261026

scripts/redirects/redirects_config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
"new_link": "https://github.com/localstack-samples/sample-microservices-apigateway-lambda-dynamodb-sqs",
276276
"status_code": 301
277277
},
278-
{
278+
{
279279
"old_link": "/user-guide/lambda-tools/",
280280
"new_link": "/aws/tooling/lambda-tools",
281281
"status_code": 301
@@ -460,7 +460,7 @@
460460
"new_link": "/aws/services/ecs",
461461
"status_code": 301
462462
},
463-
{
463+
{
464464
"old_link": "/references/coverage/coverage_acm/",
465465
"new_link": "/aws/services/acm",
466466
"status_code": 301
@@ -836,7 +836,7 @@
836836
},
837837
{
838838
"old_link": "/contributing/",
839-
"new_link": "https://github.com/localstack/localstack/blob/master/docs/CONTRIBUTING.md",
839+
"new_link": "https://github.com/localstack/localstack/blob/main/docs/CONTRIBUTING.md",
840840
"status_code": 301
841841
},
842842
{
@@ -2286,4 +2286,4 @@
22862286
"status_code": 301
22872287
}
22882288
]
2289-
}
2289+
}

src/content/docs/aws/getting-started/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ We advise you to exercise caution.
230230
:::
231231

232232
You can change the LocalStack `volume` folder to use the WSL Linux file system instead of the Windows host folder.
233-
To do so, you need to change the [`docker-compose.yml`](https://github.com/localstack/localstack/blob/master/docker-compose-pro.yml) file and add the following lines:
233+
To do so, you need to change the [`docker-compose.yml`](https://github.com/localstack/localstack/blob/main/docker-compose-pro.yml) file and add the following lines:
234234

235235
<Tabs>
236236
<TabItem label="WSL Linux File System">
@@ -352,4 +352,4 @@ For more details, please take a look at our [Enterprise offering](https://locals
352352

353353
The LocalStack Web Application connects to your LocalStack container running on your local machine and retrieves the information directly via the `localhost` without using the internet.
354354
Features such as Resource Browsers, IAM Policy Stream, Chaos Engineering dashboard, and others communicate directly with the LocalStack container using your browser.
355-
None of the information is sent to the internet, or stored on any external servers maintained by LocalStack.
355+
None of the information is sent to the internet, or stored on any external servers maintained by LocalStack.

src/content/docs/aws/getting-started/installation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ docker compose up
294294
```
295295

296296
:::note
297-
- This command pulls the current nightly build from the `master` branch (if you don't have the image locally) and **not** the latest supported version.
297+
- This command pulls the current nightly build from the `main` branch (if you don't have the image locally) and **not** the latest supported version.
298298
If you want to use a specific version, set the appropriate LocalStack image tag at `services.localstack.image` in the `docker-compose.yml` file (for example `localstack/localstack:<version>`).
299299

300300
- If you are using LocalStack with an [Auth Token](/aws/getting-started/auth-token), you need to specify the image tag as `localstack/localstack-pro` in the `docker-compose.yml` file.
@@ -365,7 +365,7 @@ docker run \
365365
</Tabs>
366366

367367
:::note
368-
- This command pulls the current nightly build from the `master` branch (if you don't have the image locally) and **not** the latest supported version.
368+
- This command pulls the current nightly build from the `main` branch (if you don't have the image locally) and **not** the latest supported version.
369369
If you want to use a specific version of LocalStack, use the appropriate tag: `docker run --rm -it -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack:<tag>`.
370370
Check-out the [LocalStack releases](https://github.com/localstack/localstack/releases) to know more about specific LocalStack versions.
371371

@@ -377,7 +377,7 @@ docker run \
377377
- Mounting the Docker socket `/var/run/docker.sock` as a volume is required for some services that use Docker to provide the emulation, such as AWS Lambda.
378378
Check out the [Lambda providers](/aws/services/lambda) documentation for more information.
379379

380-
- When using Docker to manually start LocalStack, you will have to configure the container on your own (see [docker-compose-pro.yml](https://github.com/localstack/localstack/blob/master/docker-compose-pro.yml) and [Configuration](/aws/capabilities/config/configuration).
380+
- When using Docker to manually start LocalStack, you will have to configure the container on your own (see [docker-compose-pro.yml](https://github.com/localstack/localstack/blob/main/docker-compose-pro.yml) and [Configuration](/aws/capabilities/config/configuration).
381381
This could be seen as the "expert mode" of starting LocalStack.
382382
If you are looking for a simpler method of starting LocalStack, please use the [LocalStack CLI](#localstack-cli).
383383

@@ -440,7 +440,7 @@ If you are using the `localstack` CLI to start LocalStack, but the container is
440440
```bash
441441
DNS_ADDRESS=0 localstack start
442442
```
443-
- Remove port 53 as indicated in our [standard `docker-compose.yml` file](https://github.com/localstack/localstack/blob/master/docker-compose-pro.yml).
443+
- Remove port 53 as indicated in our [standard `docker-compose.yml` file](https://github.com/localstack/localstack/blob/main/docker-compose-pro.yml).
444444

445445
#### How should I access the LocalStack logs on my local machine?
446446

@@ -483,4 +483,4 @@ After running the task, run the diagnostic endpoint and share the archive file w
483483

484484
We have extensive network troubleshooting documentation available [here](/aws/capabilities/networking/).
485485

486-
If this does not solve your problem then please [reach out](/aws/getting-started/help-support).
486+
If this does not solve your problem then please [reach out](/aws/getting-started/help-support).

src/content/docs/aws/services/lambda.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Error: Failed to create/update the stack: sam-app, Waiter StackCreateComplete fa
657657
</Tabs>
658658

659659
To fix this issue, add the Docker volume mount `/var/run/docker.sock:/var/run/docker.sock` to your LocalStack startup.
660-
Refer to our [sample `docker-compose.yml` file](https://github.com/localstack/localstack/blob/master/docker-compose.yml) as an example.
660+
Refer to our [sample `docker-compose.yml` file](https://github.com/localstack/localstack/blob/main/docker-compose.yml) as an example.
661661

662662
### Function in Pending state
663663

src/content/docs/aws/tooling/extensions/developing-extensions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This section provides a brief overview of how to develop your own extensions.
1515

1616
## Extensions API
1717

18-
LocalStack exposes a Python API for building extensions that can be found in the core codebase in [`localstack.extensions.api`](https://github.com/localstack/localstack/tree/master/localstack-core/localstack/extensions/api).
18+
LocalStack exposes a Python API for building extensions that can be found in the core codebase in [`localstack.extensions.api`](https://github.com/localstack/localstack/tree/main/localstack-core/localstack/extensions/api).
1919

2020
The basic interface to implement is as follows:
2121

0 commit comments

Comments
 (0)