Closed Bug 653553 Opened 13 years ago Closed 13 years ago

[webby] Port stage_auth_url to pre-playdoh production

Categories

(Webtools Graveyard :: Elmo, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

References

Details

+++ This bug was initially created as a clone of Bug #653180 +++

See bug 653180 for details.  We're not ready to move to playdoh just yet, and I really need the fix from that bug on the current production for some engagement work.

I'm filing this bug to track what needs to be done and what gets done.
1. Create a hotfix branch off of master.
2. Transplant (cherry-pick?) the commit from bug 653180 onto it.
3. Merge the hotfix branch onto master.
4. Run schematic migrations from my machine connected to MPT and update the schema on bm-l10n-db.
5. git pull master on production.
Some additional thoughts:

Re 1. "hotfix" was inspired by git flow, but this will not be a git flow hotfix branch.  The reason is that git flow marges hotfix branches to both master and develop, and we don't need that.

Re 4. We don't have schematic on master, so I'll either run the sql by hand and then run 'schematic -u 1 migrations', or run schemtic from the develop branch on the prod DB.
(In reply to comment #1)
> 1. Create a hotfix branch off of master.
> 2. Transplant (cherry-pick?) the commit from bug 653180 onto it.
> 3. Merge the hotfix branch onto master.

https://github.com/mozilla/elmo/commit/c80fb267686771a8f38aa066401fc33f5e266b91

> 4. Run schematic migrations from my machine connected to MPT and update the
> schema on bm-l10n-db.

(elmo)stas@5tas:~/mozilla/code/elmo/elmo (develop)$ ./vendor/src/schematic/schematic migrations/
Running migration 1:
ALTER TABLE `webby_project` ADD `stage_login` varchar(80);
ALTER TABLE `webby_project` ADD `stage_passwd` varchar(80);
ALTER TABLE `webby_project` ADD `stage_auth_url` varchar(250);

That took 2.09 seconds
################################################## 

> 5. git pull master on production.

Done: https://l10n-stage-sj.mozilla.org/webby/markup (you need to be logged in)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
Assignee: nobody → stas
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.