Skip to content

Commit

Permalink
@rfay's suggestions, thank you [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Randy Fay <randy@randyfay.com>
  • Loading branch information
stasadev and rfay committed May 6, 2024
1 parent 5e5fb47 commit abe6d0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .buildkite/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,11 @@ fi
# Make sure we start with mutagen daemon off.
unset MUTAGEN_DATA_DIRECTORY
if [ -f ~/.ddev/bin/mutagen -o -f ~/.ddev/bin/mutagen.exe ]; then
# This line can be removed when ~/.ddev/.mdd is well established in master, probably July 2024
MUTAGEN_DATA_DIRECTORY=~/.ddev_mutagen_data_directory/ ~/.ddev/bin/mutagen sync terminate -a || true
MUTAGEN_DATA_DIRECTORY=~/.ddev/.mdd/ ~/.ddev/bin/mutagen sync terminate -a || true
MUTAGEN_DATA_DIRECTORY=~/.mutagen ~/.ddev/bin/mutagen daemon stop || true
# This line can be removed when ~/.ddev/.mdd is well established in master, probably July 2024
MUTAGEN_DATA_DIRECTORY=~/.ddev_mutagen_data_directory/ ~/.ddev/bin/mutagen daemon stop || true
MUTAGEN_DATA_DIRECTORY=~/.ddev/.mdd/ ~/.ddev/bin/mutagen daemon stop || true
fi
Expand Down
4 changes: 1 addition & 3 deletions docs/content/users/install/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ Mutagen is enabled by default on Mac and traditional Windows, and it can be disa
* Rename your project’s `.ddev/mutagen/mutagen.yml` file to `.ddev/mutagen/mutagen.yml.bak` and run `ddev restart`. This ensures you’ll have a fresh version in case the file has been changed and `#ddev-generated` removed.
* Avoid having Mutagen sync large binaries, which can cause `ddev start` to take a long time. The `.tarballs` directory is automatically excluded, so Mutagen will ignore anything you move there. To see what Mutagen is trying to sync, run `ddev mutagen status -l` in another window.
* `export DDEV_DEBUG=true` will provide more information about what’s going on with Mutagen.
* As of DDEV v1.21.2, DDEV’s Mutagen daemon keeps its data in a DDEV-only `MUTAGEN_DATA_DIRECTORY`:
* `.mdd` located in `~/.ddev/.mdd` in DDEV v1.23.2+
* `.ddev_mutagen_data_directory` located in `~/.ddev_mutagen_data_directory` in DDEV v1.21.2 to v1.23.1
* DDEV’s Mutagen daemon keeps its data in a DDEV-only `MUTAGEN_DATA_DIRECTORY`, by default in `~/.ddev/.mdd`.
* DDEV’s private Mutagen binary is installed in `~/.ddev/bin/mutagen`. You can use all the features of Mutagen with `export MUTAGEN_DATA_DIRECTORY=~/.ddev/.mdd` and running the Mutagen binary in `~/.ddev/bin/mutagen`, for example:

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/content/users/usage/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ There’s only one global `.ddev` directory, which lives in your home directory:
# permanently set environment variable depending on your OS (e.g. in ~/.bashrc):
export XDG_CONFIG_HOME="/my-desired-path"
# restart the terminal and run:
mv ~/.ddev /my-desired-path/ddev
mv ~/.ddev ${XDG_CONFIG_HOME}/ddev
```

Otherwise, if `$XDG_CONFIG_HOME` is not set, `~/.ddev` can be moved to:
Expand Down Expand Up @@ -145,7 +145,7 @@ Again, these files are mostly regenerated on every `ddev start` so it’s best t
`.gitignore`
: Prevents files from getting checked in when they shouldn’t be.

`.mdd` (`~/.ddev_mutagen_data_directory` previously)
`.mdd`
: Directory used for storing [Mutagen](../install/performance.md#mutagen) sync data.

`.router-compose-full.yaml`
Expand Down

0 comments on commit abe6d0c

Please sign in to comment.