Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update docs to recommend blobless cloning strategy (#4432)
zack71f3ca02c732
diff --git a/documentation/api/guides/quickstart.md b/documentation/api/guides/quickstart.mdindex dbab0768e..d554bf9fb 100644--- a/documentation/api/guides/quickstart.md+++ b/documentation/api/guides/quickstart.md@@ -17,8 +17,14 @@ you need to run this.2. Clone the repository to your computer. Then switch to the cloned directory.If you're planning to contribute, fork the repo and clone your fork instead.+ ```{note}+ We recommend cloning with the `--filter=blob:none` flag as it dramatically+ reduces the filesize and download time by creating a "blobless clone".+ You can learn more about these [here](https://gist.github.com/leereilly/1f4ea46a01618b6e34ead76f75d0784b).+ ```+```bash- git clone https://github.com/WordPress/openverse.git # or your fork+ git clone --filter=blob:none https://github.com/WordPress/openverse.git # or your forkcd openverse/```@@ -27,7 +33,7 @@ you need to run this.using the `gh` command.```bash- gh repo clone WordPress/openverse # or your fork+ gh repo clone WordPress/openverse -- --filter=blob:none # or your forkcd openverse/```diff --git a/documentation/frontend/guides/quickstart.md b/documentation/frontend/guides/quickstart.mdindex d4a259bd5..0a1d2fd59 100644--- a/documentation/frontend/guides/quickstart.md+++ b/documentation/frontend/guides/quickstart.md@@ -17,8 +17,14 @@ you need to run this.2. Clone the repository to your computer. Then switch to the cloned directory.If you're planning to contribute, fork the repo and clone your fork instead.+ ```{note}+ We recommend cloning with the `--filter=blob:none` flag as it dramatically+ reduces the filesize and download time by creating a "blobless clone".+ You can learn more about these [here](https://gist.github.com/leereilly/1f4ea46a01618b6e34ead76f75d0784b).+ ```+```bash- git clone https://github.com/WordPress/openverse.git # or your fork+ git clone --filter=blob:none https://github.com/WordPress/openverse.git # or your forkcd openverse/```@@ -27,7 +33,7 @@ you need to run this.using the `gh` command.```bash- gh repo clone WordPress/openverse # or your fork+ gh repo clone WordPress/openverse -- --filter=blob:none # or your forkcd openverse/```diff --git a/documentation/general/quickstart.md b/documentation/general/quickstart.mdindex 6f2e1e7ab..18041656d 100644--- a/documentation/general/quickstart.md+++ b/documentation/general/quickstart.md@@ -34,17 +34,23 @@ prerequisites.2. Clone the repository to your computer. Then switch to the cloned directory.If you're planning to contribute, fork the repo and clone your fork instead.+ ```{note}+ We recommend cloning with the `--filter=blob:none` flag as it dramatically+ reduces the filesize and download time by creating a "blobless clone".+ You can learn more about these [here](https://gist.github.com/leereilly/1f4ea46a01618b6e34ead76f75d0784b).+ ```+```bash- git clone https://github.com/WordPress/openverse.git # or your fork+ git clone --filter=blob:none https://github.com/WordPress/openverse.git # or your forkcd openverse/```- If you followed the setup guide and installed+ If you followed the general setup guide and installed[GitHub CLI](/general/general_setup.md#github-cli), you can clone more simplyusing the `gh` command.```bash- gh repo clone WordPress/openverse # or your fork+ gh repo clone WordPress/openverse -- --filter=blob:none # or your forkcd openverse/```diff --git a/documentation/ingestion_server/guides/quickstart.md b/documentation/ingestion_server/guides/quickstart.mdindex f3900a91d..24297b705 100644--- a/documentation/ingestion_server/guides/quickstart.md+++ b/documentation/ingestion_server/guides/quickstart.md@@ -18,8 +18,14 @@ you need to run this.2. Clone the repository to your computer. Then switch to the cloned directory.If you're planning to contribute, fork the repo and clone your fork instead.+ ```{note}+ We recommend cloning with the `--filter=blob:none` flag as it dramatically+ reduces the filesize and download time by creating a "blobless clone".+ You can learn more about these [here](https://gist.github.com/leereilly/1f4ea46a01618b6e34ead76f75d0784b).+ ```+```bash- git clone https://github.com/WordPress/openverse.git # or your fork+ git clone --filter=blob:none https://github.com/WordPress/openverse.git # or your forkcd openverse/```@@ -28,7 +34,7 @@ you need to run this.using the `gh` command.```bash- gh repo clone WordPress/openverse # or your fork+ gh repo clone WordPress/openverse -- --filter=blob:none # or your forkcd openverse/```diff --git a/documentation/meta/documentation/quickstart.md b/documentation/meta/documentation/quickstart.mdindex d0cdacd51..00a53b6f2 100644--- a/documentation/meta/documentation/quickstart.md+++ b/documentation/meta/documentation/quickstart.md@@ -17,8 +17,14 @@ you need to run this.2. Clone the repository to your computer. Then switch to the cloned directory.If you're planning to contribute, fork the repo and clone your fork instead.+ ```{note}+ We recommend cloning with the `--filter=blob:none` flag as it dramatically+ reduces the filesize and download time by creating a "blobless clone".+ You can learn more about these [here](https://gist.github.com/leereilly/1f4ea46a01618b6e34ead76f75d0784b).+ ```+```bash- git clone https://github.com/WordPress/openverse.git # or your fork+ git clone --filter=blob:none https://github.com/WordPress/openverse.git # or your forkcd openverse/```@@ -27,7 +33,7 @@ you need to run this.using the `gh` command.```bash- gh repo clone WordPress/openverse # or your fork+ gh repo clone WordPress/openverse -- --filter=blob:none # or your forkcd openverse/```