Skip to content

Commit ae29925

Browse files
committed
rename defang org in code
1 parent 9e21bf2 commit ae29925

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.github/workflows/build-samples-json.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
uses: peter-evans/repository-dispatch@v1
1515
with:
1616
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
17-
repository: defang-io/defang-docs
17+
repository: DefangLabs/defang-docs
1818
event-type: sample-update

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
uses: peter-evans/repository-dispatch@v1
154154
with:
155155
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
156-
repository: defang-io/defang-docs
156+
repository: DefangLabs/defang-docs
157157
event-type: cli-autodoc
158158
client-payload: '{"version": "${{ github.ref_name }}"}'
159159

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ This repo includes:
2222

2323
Install the Defang CLI from one of the following sources:
2424

25-
- Using the [Homebrew](https://brew.sh) package manager [defang-io/defang tap](https://github.com/DefangLabs/homebrew-defang):
25+
- Using the [Homebrew](https://brew.sh) package manager [DefangLabs/defang tap](https://github.com/DefangLabs/homebrew-defang):
2626
```
27-
brew install defang-io/defang/defang
27+
brew install DefangLabs/defang/defang
2828
```
2929
- Using a shell script:
3030
```
@@ -41,7 +41,7 @@ Install the Defang CLI from one of the following sources:
4141
```
4242
- or with Flakes:
4343
```
44-
nix profile install github:defang-io/defang#defang-bin --refresh
44+
nix profile install github:DefangLabs/defang#defang-bin --refresh
4545
```
4646
- Download the [latest binary](https://github.com/DefangLabs/defang/releases/latest/) of the Defang CLI. For this beta, MacOS users will have to explicitly allow running of downloaded programs in the OS security settings.
4747

pkgs/npm/src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function downloadAppArchive(
1010
archiveFilename: string,
1111
outputPath: string
1212
): Promise<string> {
13-
const repo = "defang-io/defang";
13+
const repo = "DefangLabs/defang";
1414
const downloadUrl = `https://github.com/${repo}/releases/download/v${version}/${archiveFilename}`;
1515
const downloadTargetFile = path.join(outputPath, archiveFilename);
1616

samples/nodejs/document-starter/pages/getting-started/installing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We offer a few different ways to install the Defang CLI. You can use Homebrew, a
99
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Just run the following command in your terminal:
1010

1111
```bash
12-
brew install defang-io/defang/defang
12+
brew install DefangLabs/defang/defang
1313
```
1414

1515
## Using a Bash Script

samples/other/vllm/ui/src/app/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ We offer a few different ways to install the Defang CLI. You can use Homebrew, a
9999
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Just run the following command in your terminal:
100100

101101
```bash
102-
brew install defang-io/defang/defang
102+
brew install DefangLabs/defang/defang
103103
```
104104

105105
## Using a Bash Script

src/bin/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626

2727
# Use curl to fetch the latest release data
2828
echo "Fetching the latest release information..."
29-
RELEASE_JSON=$(curl -s -L https://api.github.com/repos/defang-io/defang/releases/latest)
29+
RELEASE_JSON=$(curl -s -L https://api.github.com/repos/DefangLabs/defang/releases/latest)
3030

3131
# Check for curl failure
3232
if [ $? -ne 0 ]; then

src/cmd/cli/command/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func GetCurrentVersion() string {
3838
}
3939

4040
func GetLatestVersion(ctx context.Context) (string, error) {
41-
req, err := http.NewRequestWithContext(ctx, http.MethodGet, "https://api.github.com/repos/defang-io/defang/releases/latest", nil)
41+
req, err := http.NewRequestWithContext(ctx, http.MethodGet, "https://api.github.com/repos/DefangLabs/defang/releases/latest", nil)
4242
if err != nil {
4343
return "", err
4444
}

src/cmd/cli/command/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func TestGetLatestVersion(t *testing.T) {
7777

7878
httpClient = &http.Client{Transport: &mockRoundTripper{
7979
method: http.MethodGet,
80-
url: "https://api.github.com/repos/defang-io/defang/releases/latest",
80+
url: "https://api.github.com/repos/DefangLabs/defang/releases/latest",
8181
resp: rec.Result(),
8282
}}
8383

0 commit comments

Comments
 (0)