Skip to content

Commit

Permalink
docs: rename repo Dragonfly2 to dragonfly (#195)
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao authored Dec 20, 2024
1 parent ad1f967 commit 0f39e72
Show file tree
Hide file tree
Showing 74 changed files with 101 additions and 104 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ In the best case, `dragonfly` can make the same task back-to-source download onl
### Dragonfly community
- Website: [https://d7y.io/](https://d7y.io/)
- Github Repo: [https://github.com/dragonflyoss/Dragonfly2](https://github.com/dragonflyoss/Dragonfly2)
- Github Repo: [https://github.com/dragonflyoss/dragonfly](https://github.com/dragonflyoss/dragonfly)
- Slack Channel: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
- Discussion Group: <[email protected]>
- Twitter: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
Expand Down
2 changes: 1 addition & 1 deletion blog/2023-09-15-security-audit/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Finally, we are grateful to the CNCF for funding this audit and supporting open
### Dragonfly community

- Website: [https://d7y.io/](https://d7y.io/)
- Github Repo: [https://github.com/dragonflyoss/Dragonfly2](https://github.com/dragonflyoss/Dragonfly2)
- Github Repo: [https://github.com/dragonflyoss/dragonfly](https://github.com/dragonflyoss/dragonfly)
- Slack Channel: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
- Discussion Group: <[email protected]>
- Twitter: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
Expand Down
2 changes: 1 addition & 1 deletion docs/development-guide/configure-development-nvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This document describes how to configure a local development environment for Dra
Clone the source code of Dragonfly:

```bash
git clone --recurse-submodules https://github.com/dragonflyoss/Dragonfly2.git
git clone --recurse-submodules https://github.com/dragonflyoss/dragonfly.git
cd Dragonfly2
```

Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/installation/binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This guide shows how to install the Dragonfly. Dragonfly can be installed either

### From the Binary Releases {#from-the-binary-releases}

Pre-built binaries are available on our Dragonfly [releases page](https://github.com/dragonflyoss/Dragonfly2/releases).
Pre-built binaries are available on our Dragonfly [releases page](https://github.com/dragonflyoss/dragonfly/releases).
These binary versions can be manually downloaded and installed.

Download the Dragonfly binaries:
Expand All @@ -35,7 +35,7 @@ Download the Dragonfly binaries:

```bash
VERSION=<your_version>
wget -O dragonfly_linux_amd64.tar.gz https://github.com/dragonflyoss/Dragonfly2/releases/download/v${VERSION}/dragonfly-${VERSION}-linux-amd64.tar.gz
wget -O dragonfly_linux_amd64.tar.gz https://github.com/dragonflyoss/dragonfly/releases/download/v${VERSION}/dragonfly-${VERSION}-linux-amd64.tar.gz
```

<!-- markdownlint-restore -->
Expand Down Expand Up @@ -77,7 +77,7 @@ export PATH="/path/to/dragonfly:$PATH"
Clone the source code of Dragonfly:

```bash
git clone --recurse-submodules https://github.com/dragonflyoss/Dragonfly2.git
git clone --recurse-submodules https://github.com/dragonflyoss/dragonfly.git
cd Dragonfly2
```

Expand Down
2 changes: 1 addition & 1 deletion docs/operations/integrations/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The [helm chart](https://github.com/dragonflyoss/helm-charts) is a project manag
User can query and download the latest version chart or history version
from [Artifact Hub](https://artifacthub.io/packages/helm/dragonfly/dragonfly).

Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/Dragonfly2/blob/main/CHANGELOG.md) to
Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/dragonfly/blob/main/CHANGELOG.md) to
make sure the breaking changes between the current version and target version.

```shell script
Expand Down
2 changes: 1 addition & 1 deletion docs/roadmap/v2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Client:

Others:

- A third party security audit was performed by Trail of Bits, you can see the full report [here](https://github.com/dragonflyoss/Dragonfly2/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf).
- A third party security audit was performed by Trail of Bits, you can see the full report [here](https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf).
- Hiding sensitive information in logs, such as the token in the header.
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const config = {
{
label: 'Community',
position: 'left',
href: 'https://github.com/dragonflyoss/Dragonfly2#community',
href: 'https://github.com/dragonflyoss/dragonfly#community',
},
{
label: 'Nydus',
Expand All @@ -102,7 +102,7 @@ const config = {
position: 'right',
},
{
href: 'https://github.com/dragonflyoss/Dragonfly2',
href: 'https://github.com/dragonflyoss/dragonfly',
className: 'header-github-link',
position: 'right',
},
Expand Down Expand Up @@ -154,7 +154,7 @@ const config = {
},
{
html: `
<a href="https://github.com/dragonflyoss/Dragonfly2" target="_blank">
<a href="https://github.com/dragonflyoss/dragonfly" target="_blank">
<img class="socials" src="/img/icon/footer-github.svg" alt="github icon" />
</a>
`,
Expand Down
11 changes: 4 additions & 7 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default function Home() {
<Link className={styles.getStartedButton} to="docs/next/">
GET STARTED
</Link>
<Link className={styles.githubButton} to="https://github.com/dragonflyoss/Dragonfly2">
<Link className={styles.githubButton} to="https://github.com/dragonflyoss/dragonfly">
<img className={styles.githubIcon} src={useBaseUrl('img/icon/github.svg')} alt="button logo" />
<span>GITHUB</span>
</Link>
Expand Down Expand Up @@ -586,7 +586,7 @@ export default function Home() {
<Translate>Join our contributors in building the future of Dragonfly.</Translate>
</p>
</div>
<Link className={styles.communityButton} to="https://github.com/dragonflyoss/Dragonfly2">
<Link className={styles.communityButton} to="https://github.com/dragonflyoss/dragonfly">
<img
className={styles.communityButtonIcon}
src={useBaseUrl('img/icon/community-github-button.svg')}
Expand All @@ -606,17 +606,14 @@ export default function Home() {
</p>
</div>
<div className={clsx('row', styles.communityButtonContain)}>
<Link className={styles.communityButton} to="https://github.com/dragonflyoss/Dragonfly2/issues">
<Link className={styles.communityButton} to="https://github.com/dragonflyoss/dragonfly/issues">
<img
className={styles.communityButtonIcon}
src={useBaseUrl('img/icon/community-issues-button.svg')}
/>
Issues
</Link>
<Link
className={styles.communityButton}
to="https://github.com/dragonflyoss/Dragonfly2/discussions"
>
<Link className={styles.communityButton} to="https://github.com/dragonflyoss/dragonfly/discussions">
<img
className={styles.communityButtonIcon}
src={useBaseUrl('img/icon/community-discussions-button.svg')}
Expand Down
2 changes: 1 addition & 1 deletion static/dragonfly/v2/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<meta name="go-import" content="d7y.io/dragonfly/v2 git https://github.com/dragonflyoss/Dragonfly2" />
<meta name="go-import" content="d7y.io/dragonfly/v2 git https://github.com/dragonflyoss/dragonfly" />
</head>
<body>
Welcome to Dragonfly!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export CGO_ENABLED="1"

# ensure same commit of code base
D7Y_COMMIT=01798aa08a6b4510210dd0a901e9f89318405440
git clone https://github.com/dragonflyoss/Dragonfly2.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
git clone https://github.com/dragonflyoss/dragonfly.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
(cd /Dragonfly2 && make build-dfget build-cdn)

# build plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ the docker container engine and installed docker-compose on your machine.
> ref [sed command with -i option failing on Mac, but works on Linux](https://stackoverflow.com/a/41416710)
```bash
git clone https://github.com/dragonflyoss/Dragonfly2.git
git clone https://github.com/dragonflyoss/dragonfly.git
cd ./Dragonfly2/deploy/docker-compose/

export IP=<host ip>
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-v2.0.2/setup/install/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ the executable files separately according to the modules.
### Download the precompiled binaries {#download-the-precompiled-binaries}

1. Download a binary package of the cdn. You can download one of the latest builds for Dragonfly on the
[github releases page](https://github.com/dragonflyoss/Dragonfly2/releases)
[github releases page](https://github.com/dragonflyoss/dragonfly/releases)

> Note: v2.x-rc.x rc indicates the candidate version and is not recommended to be deployed in a production environment
```bash
version=2.0.2

wget -O Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
https://github.com/dragonflyoss/dragonfly/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
```

2. Unzip the package.
Expand All @@ -50,7 +50,7 @@ the executable files separately according to the modules.
1. Obtain the source code of Dragonfly.

```bash
git clone --recurse-submodules https://github.com/dragonflyoss/Dragonfly2.git
git clone --recurse-submodules https://github.com/dragonflyoss/dragonfly.git
```

2. Enter the project directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ server = "https://example.com"

##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}

You can also generate hosts.toml with <https://github.com/dragonflyoss/Dragonfly2/blob/main/hack/gen-containerd-hosts.sh>
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>

```shell
bash gen-containerd-hosts.sh example.com
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v2.0.2/setup/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The [helm chart](https://github.com/dragonflyoss/helm-charts) is a project manag
User can query and download the latest version chart or history version
from [Artifact Hub](https://artifacthub.io/packages/helm/dragonfly/dragonfly).

Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/Dragonfly2/blob/main/CHANGELOG.md) to
Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/dragonfly/blob/main/CHANGELOG.md) to
make sure the breaking changes between the current version and target version.

```shell script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See documentation on [docs.docker.com]
## Step 2: Start dragonfly {#step-2-start-dragonfly}

Enter dragonfly project and start docker-compose,
refer to [deploy with docker compose](https://github.com/dragonflyoss/Dragonfly2/blob/main/deploy/docker-compose/README.md).
refer to [deploy with docker compose](https://github.com/dragonflyoss/dragonfly/blob/main/deploy/docker-compose/README.md).

```bash
$ cd deploy/docker-compose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export CGO_ENABLED="1"

# ensure same commit of code base
D7Y_COMMIT=01798aa08a6b4510210dd0a901e9f89318405440
git clone https://github.com/dragonflyoss/Dragonfly2.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
git clone https://github.com/dragonflyoss/dragonfly.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
(cd /Dragonfly2 && make build-dfget)

# build plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ the docker container engine and installed docker-compose on your machine.
> ref [sed command with -i option failing on Mac, but works on Linux](https://stackoverflow.com/a/41416710)
```bash
git clone https://github.com/dragonflyoss/Dragonfly2.git
git clone https://github.com/dragonflyoss/dragonfly.git
cd ./Dragonfly2/deploy/docker-compose/

export IP=<host ip>
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-v2.0.3/setup/install/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ the executable files separately according to the modules.
### Download the precompiled binaries {#download-the-precompiled-binaries}

1. Download a binary package. You can download one of the latest builds for Dragonfly on the
[github releases page](https://github.com/dragonflyoss/Dragonfly2/releases)
[github releases page](https://github.com/dragonflyoss/dragonfly/releases)

> Note: v2.x-rc.x rc indicates the candidate version and is not recommended to be deployed in a production environment
```bash
version=2.0.2

wget -O Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
https://github.com/dragonflyoss/dragonfly/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
```

2. Unzip the package.
Expand All @@ -50,7 +50,7 @@ the executable files separately according to the modules.
1. Obtain the source code of Dragonfly.

```bash
git clone --recurse-submodules https://github.com/dragonflyoss/Dragonfly2.git
git clone --recurse-submodules https://github.com/dragonflyoss/dragonfly.git
```

2. Enter the project directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ server = "https://example.com"

##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}

You can also generate hosts.toml with <https://github.com/dragonflyoss/Dragonfly2/blob/main/hack/gen-containerd-hosts.sh>
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>

```shell
bash gen-containerd-hosts.sh example.com
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v2.0.3/setup/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The [helm chart](https://github.com/dragonflyoss/helm-charts) is a project manag
User can query and download the latest version chart or history version
from [Artifact Hub](https://artifacthub.io/packages/helm/dragonfly/dragonfly).

Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/Dragonfly2/blob/main/CHANGELOG.md) to
Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/dragonfly/blob/main/CHANGELOG.md) to
make sure the breaking changes between the current version and target version.

```shell script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See documentation on [docs.docker.com]
## Step 2: Start dragonfly {#step-2-start-dragonfly}

Enter dragonfly project and start docker-compose,
refer to [deploy with docker compose](https://github.com/dragonflyoss/Dragonfly2/blob/main/deploy/docker-compose/README.md).
refer to [deploy with docker compose](https://github.com/dragonflyoss/dragonfly/blob/main/deploy/docker-compose/README.md).

```bash
$ cd deploy/docker-compose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export CGO_ENABLED="1"

# ensure same commit of code base
D7Y_COMMIT=01798aa08a6b4510210dd0a901e9f89318405440
git clone https://github.com/dragonflyoss/Dragonfly2.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
git clone https://github.com/dragonflyoss/dragonfly.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
(cd /Dragonfly2 && make build-dfget)

# build plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ the docker container engine and installed docker-compose on your machine.
> ref [sed command with -i option failing on Mac, but works on Linux](https://stackoverflow.com/a/41416710)
```bash
git clone https://github.com/dragonflyoss/Dragonfly2.git
git clone https://github.com/dragonflyoss/dragonfly.git
cd ./Dragonfly2/deploy/docker-compose/

export IP=<host ip>
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-v2.0.4/setup/install/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ the executable files separately according to the modules.
### Download the precompiled binaries {#download-the-precompiled-binaries}

1. Download a binary package. You can download one of the latest builds for Dragonfly on the
[github releases page](https://github.com/dragonflyoss/Dragonfly2/releases)
[github releases page](https://github.com/dragonflyoss/dragonfly/releases)

> Note: v2.x-rc.x rc indicates the candidate version and is not recommended to be deployed in a production environment
```bash
version=2.0.2

wget -O Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
https://github.com/dragonflyoss/dragonfly/releases/download/v${version}/Dragonfly2-${version}-linux-amd64.tar.gz
```

2. Unzip the package.
Expand All @@ -49,7 +49,7 @@ the executable files separately according to the modules.
1. Obtain the source code of Dragonfly.

```bash
git clone --recurse-submodules https://github.com/dragonflyoss/Dragonfly2.git
git clone --recurse-submodules https://github.com/dragonflyoss/dragonfly.git
```

2. Enter the project directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ server = "https://example.com"

##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}

You can also generate hosts.toml with <https://github.com/dragonflyoss/Dragonfly2/blob/main/hack/gen-containerd-hosts.sh>
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>

```shell
bash gen-containerd-hosts.sh example.com
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v2.0.4/setup/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The [helm chart](https://github.com/dragonflyoss/helm-charts) is a project manag
User can query and download the latest version chart or history version
from [Artifact Hub](https://artifacthub.io/packages/helm/dragonfly/dragonfly).

Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/Dragonfly2/blob/main/CHANGELOG.md) to
Before Upgrade, user must read the [Change Log](https://github.com/dragonflyoss/dragonfly/blob/main/CHANGELOG.md) to
make sure the breaking changes between the current version and target version.

```shell script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Install dragonfly system with object storage, refer to [install dragonfly](../..
### Step 5: Install the dfstore command-line tool
Install the last version of dfstore. You can install one of the version for Dragonfly on the [github releases page](https://github.com/dragonflyoss/Dragonfly2/releases).
Install the last version of dfstore. You can install one of the version for Dragonfly on the [github releases page](https://github.com/dragonflyoss/dragonfly/releases).
```shell
go install d7y.io/dragonfly/v2/cmd/dfstore@latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See documentation on [docs.docker.com]
## Step 2: Start dragonfly {#step-2-start-dragonfly}

Enter dragonfly project and start docker-compose,
refer to [deploy with docker compose](https://github.com/dragonflyoss/Dragonfly2/blob/main/deploy/docker-compose/README.md).
refer to [deploy with docker compose](https://github.com/dragonflyoss/dragonfly/blob/main/deploy/docker-compose/README.md).

```bash
$ cd deploy/docker-compose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export CGO_ENABLED="1"

# ensure same commit of code base
D7Y_COMMIT=01798aa08a6b4510210dd0a901e9f89318405440
git clone https://github.com/dragonflyoss/Dragonfly2.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
git clone https://github.com/dragonflyoss/dragonfly.git /Dragonfly2 && git reset --hard ${D7Y_COMMIT}
(cd /Dragonfly2 && make build-dfget)

# build plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ the docker container engine and installed docker-compose on your machine.
> ref [sed command with -i option failing on Mac, but works on Linux](https://stackoverflow.com/a/41416710)
```bash
git clone https://github.com/dragonflyoss/Dragonfly2.git
git clone https://github.com/dragonflyoss/dragonfly.git
cd ./Dragonfly2/deploy/docker-compose/

export IP=<host ip>
Expand Down
Loading

0 comments on commit 0f39e72

Please sign in to comment.