Closed Bug 700742 Opened 13 years ago Closed 13 years ago

Push QMO theme and plugin updates to production

Categories

(quality.mozilla.org :: Website, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: craigcook, Assigned: jason)

References

()

Details

We need to push the latest code updates for QMO from git (https://github.com/mozilla/quality.mozilla.org) to production at your earliest convenience. Sorry for the short notice but today would be great. If you're all booked solid for today already, let us know your next open launch window (Thursday maybe?)

Note this also adds a languages folder in qmo_content (moving the custom language files out of their plugin folders so they're less likely to be lost in future updates). We're also removing some plugins we're no longer using.

This upgrade includes a significant version update to Buddypress which is a somewhat delicate process, and just pushing the code without a few added precautions can cause major breakages. So the steps will be:

1. Deactivate ALL plugins
2. Push the code from Git
3. Activate ONLY Buddypress and complete its update procedure (creating some new pages, etc)
4. Activate the other plugins

If we can set up a time for this push I can be online to handle the deactivating/reactivating on the WordPress side of things, we'll just need someone from IT to handle the push from Git.
Assignee: nobody → server-ops
I can be around to handle Wordpress things if Craig isn't for some reason.
When do we think that this is likely to happen?
I can do this tomorrow (Thursday)... say, around 1pm PT?
Sounds good to me.
This is mostly completed. Craig is still working out some kinks... There will probably be another small push on this, so I'm marking as resolved incomplete... please re-open when that's ready.

https://etherpad.mozilla.org/9PA9FgOhS3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
I've committed some fixes to git that should be pushed as soon as possible.
Assignee: server-ops → jthomas
Can I proceed with this anytime? Do we need to follow the steps above?
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
(In reply to Jason Thomas [:jason] from comment #7)
> Can I proceed with this anytime? Do we need to follow the steps above?

Yep, any time, and you don't need to follow the steps. This is just a straight code update and doesn't need any downtime. Just 'git pull' at your earliest convenience. Thanks!
Completed.

[root@dm-qmo01 ~]# cd /data/www/quality.mozilla.org/wordpress/qmo_content
[root@dm-qmo01 qmo_content]# ls
bb-config.php.dist  languages  plugins  themes  uploads  wp-config.php.dist
[root@dm-qmo01 qmo_content]# git pull
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 13 (delta 12), reused 13 (delta 12)
Unpacking objects: 100% (13/13), done.
From git://github.com/mozilla/quality.mozilla.org
   56bb313..c95cd4c  master     -> origin/master
Updating 56bb313..c95cd4c
Fast-forward
 plugins/wp-recaptcha/wp-plugin.php |    6 ++--
 themes/QMO4/_inc/global.js         |    4 +-
 themes/QMO4/footer.php             |    2 +-
 themes/QMO4/functions.php          |   47 +++++++-----------------------------
 themes/QMO4/page-teams.php         |    1 +
 themes/QMO4/style.css              |    4 +-
 6 files changed, 18 insertions(+), 46 deletions(-)
[root@dm-qmo01 qmo_content]#
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.