Closed
Bug 1152501
Opened 11 years ago
Closed 11 years ago
Patriot Act homepage promo for April 15
Categories
(www.mozilla.org :: Pages & Content, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: malexis, Assigned: craigcook)
References
Details
(Whiteboard: [kb=1715362] )
Attachments
(1 file)
Copy:
Help end mass surveillance
or
End mass surveillance
Designs TBD
| Reporter | ||
Updated•11 years ago
|
Whiteboard: [kb=1715362]
Comment 1•11 years ago
|
||
Link https://sendto.mozilla.org/page/s/section-215-petition?ref=20150414Advocacy_Surveil&utm_campaign=20150414Advocacy_Surveil&utm_source=mozilla.org&utm_medium=referral&utm_content=Advocacy_tile_small
Copy
"Help end mass surveillance"
Keep the megaphone.
Thanks, Craig!!!
Can we please have this live on Wednesday, April 15?
| Assignee | ||
Comment 2•11 years ago
|
||
cc jgmize: We'll use the waffle switch "patriot-act-home-promo" and set it to activate on 15 April 2015 and deactivate on a date TBD (Jen is getting the end date later today; we'll update the bug when we know it).
Assignee: nobody → craigcook.bugz
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
(In reply to Craig Cook (:craigcook) from comment #2)
> Created attachment 8591811 [details] [review]
> Github pull request https://github.com/mozilla/bedrock/pull/2909
>
> cc jgmize: We'll use the waffle switch "patriot-act-home-promo" and set it
> to activate on 15 April 2015 and deactivate on a date TBD (Jen is getting
> the end date later today; we'll update the bug when we know it).
craigcook: since you didn't specify a time, am I correct in assuming midnight PDT works for this?
| Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Josh Mize [:jgmize] from comment #3)
> craigcook: since you didn't specify a time, am I correct in assuming
> midnight PDT works for this?
Yeah, I don't think it's timed for a specific event so midnight PDT should be fine.
Comment 5•11 years ago
|
||
I'm getting clarification on times for live date and end date in the next 40 minutes or so.
Comment 6•11 years ago
|
||
End date is 11pm pacific on May 21, 2015.
Any chance we could set the live date to 8 or 9am pacific on Tuesday, April 14? :) Otherwise, any time after that on the 14th or 15th is fine.
Thanks!
Comment 7•11 years ago
|
||
This may have already been said somewhere, but this promo is for the US-EN site only. (just making sure that's clear!)
Comment 8•11 years ago
|
||
The code in https://bugzilla.mozilla.org/show_bug.cgi?id=1152159#c11 is now in production, and I have scheduled the promo to be enabled and disabled at the times requested in comment #6 with the following commands on the bedrock admin node:
export DIR=/data/bedrock/www/www.mozilla.org-django/bedrock
export PYTHON=/data/bedrock/src/www.mozilla.org-django/venv/bin/python
export SWITCH=patriot-act-home-promo
echo "cd $DIR && $PYTHON manage.py switch $SWITCH on --create" | at 08:00 2015-04-14
echo "cd $DIR && $PYTHON manage.py switch $SWITCH off" | at 23:00 2015-04-21
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 9•11 years ago
|
||
(In reply to Josh Mize [:jgmize] from comment #8)
> echo "cd $DIR && $PYTHON manage.py switch $SWITCH off" | at 23:00 2015-04-21
I realized there was an error in the end date, and corrected it with the following:
atrm 29 # job id of the command above
echo "cd $DIR && $PYTHON manage.py switch $SWITCH off" | at 23:00 2015-05-21
Comment 10•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock
https://github.com/mozilla/bedrock/commit/01b769ab137d911986735de56da2b0f02e2f6543
Bug 1152501 - remove Patriot Act campaign promo
Also relates to bug 1192764. This promo used a waffle switch that we shouldn't need to maintain because the whole promo can be removed.
https://github.com/mozilla/bedrock/commit/3ca301afcef1f7fe9e7fa90abdd39ec5dbda4646
Merge pull request #3199 from craigcook/bug-1192764-remove-patriot-act-promo
Bug 1152501 - remove Patriot Act campaign promo
You need to log in
before you can comment on or make changes to this bug.
Description
•