Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

PLAT-177 cdn #196

Merged
merged 18 commits into from
May 11, 2016
Merged

PLAT-177 cdn #196

merged 18 commits into from
May 11, 2016

Conversation

Saphyel
Copy link
Contributor

@Saphyel Saphyel commented Apr 26, 2016

Fixes https://jira.comicrelief.com/browse/PLAT-177

Changes proposed in this pull request

  • get CDN module
  • Implement it

This is actually block, because we need to build the cdn server (webops!)... maybe we can split into 2 this PR, one just for enable the module and other for configure it

@pvhee
Copy link
Contributor

pvhee commented Apr 26, 2016

@Saphyel makes sense - could you refactor this PR just to include the module?

Did you test that the CDN module works correctly?

Maybe write a couple of lines on the way to configure this?

@bimsonz bimsonz self-assigned this Apr 27, 2016
@bimsonz
Copy link
Contributor

bimsonz commented Apr 28, 2016

@Saphyel made a couple of updates here... its disabled in the profile and ive updated a comment from the install file. Ill assign this back to you to finish off the testing and implementation of our cdn settings.

@bimsonz bimsonz assigned Saphyel and unassigned bimsonz Apr 28, 2016
@Saphyel
Copy link
Contributor Author

Saphyel commented Apr 28, 2016

@bimsonz why you disabled it from the profile?

@bimsonz
Copy link
Contributor

bimsonz commented Apr 28, 2016

@Saphyel on your suggestion that we split this into two prs.. we dont need this enabled just yet and will slow down the build, if you finish it in this pr you can re enable it

* Uses hook_install().
*/
function cr_cdn_install() {
Drupal::configFactory()->getEditable('cdn.settings')->set('status', 1)->save(TRUE);
Copy link
Contributor

Choose a reason for hiding this comment

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

@Saphyel we'll be using CMI proper (using a config folder) for RND17 (see e.g. https://github.com/comicrelief/rnd17/tree/develop/sites/default/config) so this config change will live there and we don't need to do crazy things like editing config in install hooks.

As a result, I think we can get entirely rid of cr_cdn as a module, it'll just live as config in the sites/default/config dir for RND17

\cc @Saphyel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well in that case we configure CDN on the fly·

@Saphyel
Copy link
Contributor Author

Saphyel commented May 11, 2016

@pvhee care to merge?

@pvhee pvhee merged commit d5e6f5b into develop May 11, 2016
@pvhee pvhee deleted the feature/PLAT-177_cdn branch May 11, 2016 09:57
@pvhee pvhee mentioned this pull request Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants