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

RND-274 remove youtube #393

Merged
merged 8 commits into from
Aug 23, 2016
Merged

RND-274 remove youtube #393

merged 8 commits into from
Aug 23, 2016

Conversation

Saphyel
Copy link
Contributor

@Saphyel Saphyel commented Jul 26, 2016

Fixes https://jira.comicrelief.com/browse/RND-274

Changes proposed in this pull request

  • Remove all references to this module
  • Disable the module
  • Test this within RND

* Purge youtube
*/
function cr_update_8003() {
\Drupal::service('module_installer')->uninstall(['youtube']);
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 also need to remove the field itself, CMI doesn't do that for us

@pvhee
Copy link
Contributor

pvhee commented Jul 26, 2016

@Saphyel I'd also like you to test this within RND repo (so following the deployment process in https://github.com/comicrelief/rnd17/blob/develop/docs/developing.md from @bimsonz)

@Saphyel
Copy link
Contributor Author

Saphyel commented Jul 27, 2016

So I test this on RND and it works!:

$ drush updb -y
The following updates are pending:

cr module : 
  8003 -   Purge youtube 

Do you wish to run all pending updates? (y/n): y
Performing cr_update_8003                                           [ok]
Cache rebuild complete.                                             [ok]
Finished performing updates.

@@ -30,3 +30,13 @@ function cr_update_8001() {
function cr_update_8002() {
\Drupal::service('module_installer')->install(['cr_cards', 'cr_single_msg']);
}

/**
* Purge youtube module
Copy link
Contributor

Choose a reason for hiding this comment

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

@Saphyel can you also add a more descriptive message here, e.g. like "Remove field_XXX and uninstall youtube module" ?

@pvhee pvhee changed the title RND-274 youtube RND-274 remove youtube Jul 28, 2016
@pvhee
Copy link
Contributor

pvhee commented Aug 2, 2016

@Saphyel what's left to be done here?

@Saphyel
Copy link
Contributor Author

Saphyel commented Aug 2, 2016

@pvhee I'm doing my latest test but should be shippable in the next sprint/release (I'm using platform.sh for test that there is no problems in RND)

@Saphyel Saphyel added this to the 1.8 milestone Aug 17, 2016
@Saphyel Saphyel assigned pvhee and unassigned bimsonz Aug 17, 2016
@gusliedke gusliedke modified the milestones: 1.9, 1.8 Aug 22, 2016
@pvhee pvhee merged commit cea062d into develop Aug 23, 2016
@pvhee pvhee deleted the feature/RND-274_youtube branch August 23, 2016 15:41
@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants