You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolve site repo / file structure assumptions and make them configurable #7
Implement dcfg to facilitate handling the "last mile" configurations needed to deploy a working site while removing our rigid repo structure assumptions
Current plan of attack:
Implement a new "template" plugin in dcfg to handle writing/placing configs for drupal and wp
Update ddev cli to remove config file writing and provide stuff like db port as an env var to web container
Original issue reports:
Currently we are heavily assuming that site repos will have a folder called docroot in them that represents where the vhost will serve the site from. This is problematic as it currently requires a specific repo structure to dev or deploy a site with drud. It would be ideal to not require repos to be restructured in order to use our products.
Currently, we heavily assume a drupal site will have its files at sites/default/files (drupal default) and that a wordpress site will have its files at content/uploads (non-default derived from newmedia structure). Both provide options for this directory to be customized, and it can be a non-trivial task to change this path after a site has been operating for some time. Similar to #4, we should provide a way for developers to specify these paths so that sites do not require restructuring efforts to be used in our offerings.
These are options that can be controlled in the config file for both wordpress and drupal, which provides a straight-forward way for developers to specify the customization, but we would need to be able to define this path in our code for extracting/placing files as well.
You are right, in drupal's case public files dir, private files dir, temp dir, and in D8's case the CMI sync directory are all customizable. I do not believe we currently have private files support, if we do it is likely hardcoded to sites/default/files/private or something to that effect. The CMI directory is currently hardcoded to be "sync" one level above the docroot.
I do think https://github.com/drud/dcfg could be implemented to address most of the overall concerns. We could provide a default configuration that makes a site work w/ the default wp/drupal configs, with the option to provide your own. We could make this tool responsible for the final app configurations, and keep anything like file extraction in generic locations to be moved or symlinked by dcfg as configured.
Activity
beeradb commentedon Feb 3, 2017
From @rfay on January 24, 2017 16:20
Remember for drupal both public files and private files. Do we have private file support anyway?
Probably this and https://github.com/drud/general/issues/4 should be rolled together into a "Allow configuration of both drupal and WP sites" - Trying to thing what gotchas are likely besides files and docroot - We explicitly don't support multisite do we? That should be decided.
Anyway, we need explicit support for anything we would deploy whose location is configurable in either system.
beeradb commentedon Feb 3, 2017
From @tannerjfco on January 24, 2017 16:27
You are right, in drupal's case public files dir, private files dir, temp dir, and in D8's case the CMI sync directory are all customizable. I do not believe we currently have private files support, if we do it is likely hardcoded to sites/default/files/private or something to that effect. The CMI directory is currently hardcoded to be "sync" one level above the docroot.
beeradb commentedon Feb 3, 2017
From @tannerjfco on January 24, 2017 18:16
I do think https://github.com/drud/dcfg could be implemented to address most of the overall concerns. We could provide a default configuration that makes a site work w/ the default wp/drupal configs, with the option to provide your own. We could make this tool responsible for the final app configurations, and keep anything like file extraction in generic locations to be moved or symlinked by dcfg as configured.
beeradb commentedon Feb 3, 2017
From @frodopwns on January 25, 2017 20:47
dcfg++ !!!!
beeradb commentedon Feb 8, 2017
reviewers:
@rfay
@frodopwns
rickmanelius commentedon May 3, 2017
@beeradb @tannerjfco I'm assuming there is nothing left in this issue that is still actionable.
rickmanelius commentedon Jun 1, 2017
Updating labels. Seems like something worth addressing before 1.0 (if the components here are not already addressed elsewhere).
rfay commentedon Jun 8, 2017
This issue is obsolete, closing. New approaches are in #293
changed sequence of items ddev#6 and ddev#7
[docs] pantheon.yaml.example comments: changed sequence of items #6 and
ci(perf): wire gotestsum into Buildkite test runs, uploading per-test…