Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mounts to clarify "share" #408

Closed
wants to merge 1 commit into from
Closed

Update mounts to clarify "share" #408

wants to merge 1 commit into from

Conversation

JGrubb
Copy link
Contributor

@JGrubb JGrubb commented Nov 12, 2016

No description provided.

@@ -345,7 +345,7 @@ The format is:
* `"/web/sites/default/files": "shared:files/files"`

> **Note**
> The `shared` means that the volume is shared between your applications inside an environment. The `disk` key defines the size available for that `shared` volume.
> `shared` means that the volume is shared between builds of the same application, _not_ that the volume can be shared between different applications within a project. The `disk` key defines the size available for that `shared` volume.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shared part doesn't mean shared between builds of the same application, it means shared between instances of the application (even though the mounts sort of are shared between builds... but that's a weird way to think about it).

We shouldn't replace one misleading statement with another. I'd suggest we remove the note entirely, and reword this section so that's it's clear mounts are persistent.

I updated the D8 example with some clearer wording recently:
https://github.com/platformsh/platformsh-example-drupal8/commit/b6c7b4f025433a66526f3dc859620446d94ae5a7#diff-fe14053ff51cb358f8b709415b2a2d17

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @pjcdawkins. We should also clarify that subfolders can be used in mounts too (ie. /foo: "shared:files/foo/bar".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait sorry, subfolders can be used in mounts? Is that a new development, because that used to not be true, or so I was told.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's new, since 8th November

@xtfer xtfer added the WIP label Nov 27, 2016
@JGrubb
Copy link
Contributor Author

JGrubb commented Dec 22, 2016

I'm closing this. I suspect that the "correct" wording of this feature is too subjective, so I'm going to let someone else sort it out.

@JGrubb JGrubb closed this Dec 22, 2016
@Crell Crell deleted the JGrubb-patch-1 branch October 16, 2017 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants