Closed Bug 861445 Opened 11 years ago Closed 11 years ago

Push Hacks WordPress theme updates to stage and production

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: craigcook, Assigned: cturra)

References

()

Details

(Whiteboard: r=114961,114962,115050,115140,115186,115192,115214,115217,115218)

We have a fresh batch of updates to the Hacks2010 theme that need to go out soon. It's all in SVN at http://.svn.mozilla.org/vc/projects/hacks.mozilla.org/trunk/wp-content/themes/Hacks2010/. See the whiteboard for the list of specific revisions but a simple 'svn up' should suffice.

We should push to stage first, verify all is well, then push to prod. As for scheduling, we need to find a time when a hacks admin is available. Any time Monday 4/15 or Tuesday 4/16 should work.
:craigcook - to get out ahead of the testing, i have pushed this theme change to hacks stage.

[root@genericadm.private.phx1 Hacks2010]# svn up
Updating '.':
U    category-featured-demo.php
U    footer.php
U    category-demo.php
U    style.css
U    page-home.php
U    css/login.css
A    css/socialshare.css
U    css/ed-content.css
U    css/ie7.css
U    search.php
U    views/article-complete.php
U    views/demo-complete.php
U    views/home-head-featarticles.php
U    views/demo-list.php
U    views/article-title.php
U    views/article-brief.php
U    404.php
U    index.php
U    functions.php
U    category-featured.php
U    page.php
U    category.php
U    archive.php
U    page-demos.php
U    single.php
U    page-about.php
U    comments.php
D    js/s_code.js
D    js/webtrends.js
U    js/fc-checkcomment.js
A    js/socialshare.min.js
U    img/icn-comments.png
U    img/reply-arr.png
A    img/icn-facebook.gif
A    img/icn-gplus.png
U    img/icn-youtube.png
U    img/blank-sm.png
U    img/search.png
U    img/blank.png
U    img/mozilla.png
U    img/bg.png
A    img/icn-share.png
A    img/icn-website.png
U    header.php
Updated to revision 115216.
Assignee: server-ops-webops → cturra
Depends on: 859921
Hey Rob. I saw you reply to another bug.

We need help testing these changes on hacks-dev.allizom.org and hacks.allizom.org, but none of us have administrator accounts on those instances. If you are still around, we might be able to do this testing and push the changes to production today. If not, we could do it early next week. Either is fine on our end.
I've tested it briefly now (being 2:30 in the morning on a poor hotel WiFi as factors), but I think it looks good!
Especially the user role fixes will make a major difference!
User roles are created on theme activation (otherwise they'd be constantly reset on every page load), so to make those kick in you'll have to very briefly switch to another theme and then back to Hacks2010. Once the roles are established they're kept in the database.

The social sharing widget needs to be enabled under Settings > Reading, just tick the box and the widget will appear on posts. You probably don't want to leave it on for long on dev or stage but we can turn it on for some testing.
Whiteboard: r=114961,114962,115050,115140,115186,115192,115214 → r=114961,114962,115050,115140,115186,115192,115214,115217,115218
I think we can go live with this now, whenever it works for you.Let me know how it progresses!
Flags: needinfo?(cturra)
We we have a couple other fixes ready in SVN since revision 115216:

http://www.pastebin.mozilla.org/2307811

We should update stage again and then do prod.
(In reply to Luke Crouch [:groovecoder] from comment #6)
> We we have a couple other fixes ready in SVN since revision 115216:

stage has been updated with the latest from svn as requested.

[root@genericadm.private.phx1 Hacks2010]# svn up
Updating '.':
U    index.php
U    functions.php
U    img/icn-website.png
U    header.php
Updated to revision 115255.
Flags: needinfo?(cturra)
Rob can you check those updates too and then we'll push to prod.
Flags: needinfo?(robert)
Sure. DO you have the bug references to what they were? (I think I know, but better to be sure).
Flags: needinfo?(robert)
Craig, can we test those other changes on stage?
Flags: needinfo?(craigcook.bugz)
(In reply to Luke Crouch [:groovecoder] from comment #10)
> Craig, can we test those other changes on stage?

Looks good to me.
Flags: needinfo?(craigcook.bugz)
i just want to confirm that everyone is happy with stage and is okay with me pushing this out to prod?
(In reply to Chris Turra [:cturra] from comment #12)
> i just want to confirm that everyone is happy with stage and is okay with me
> pushing this out to prod?

From what I can see, yes!
as requested, the following has been pushed to production:

[root@genericadm.private.phx1 Hacks2010]# svn up
Updating '.':
U    category-featured-demo.php
U    footer.php
U    category-demo.php
U    style.css
U    page-home.php
U    css/login.css
A    css/socialshare.css
U    css/ed-content.css
U    css/ie7.css
U    search.php
U    views/article-complete.php
U    views/demo-complete.php
U    views/home-head-featarticles.php
U    views/demo-list.php
U    views/article-title.php
U    views/article-brief.php
U    404.php
U    index.php
U    functions.php
U    category-featured.php
U    page.php
U    category.php
U    archive.php
U    page-demos.php
U    single.php
U    page-about.php
U    comments.php
D    js/s_code.js
D    js/webtrends.js
U    js/fc-checkcomment.js
A    js/socialshare.min.js
U    img/icn-comments.png
U    img/reply-arr.png
A    img/icn-facebook.gif
A    img/icn-gplus.png
U    img/icn-youtube.png
U    img/blank-sm.png
U    img/search.png
U    img/blank.png
U    img/mozilla.png
U    img/bg.png
A    img/icn-share.png
A    img/icn-website.png
U    header.php
Updated to revision 115291.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.