Closed
Bug 519861
Opened 15 years ago
Closed 15 years ago
Write a script to synchronize getpersonas.com and AMO add-ons
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
5.2
People
(Reporter: clouserw, Assigned: jbalogh)
References
()
Details
Attachments
(3 files, 4 obsolete files)
19.83 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
7.40 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
1.80 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
This is 1.3 in the spec. Any new personas that are approved on getpersonas should be imported into the AMO db via cron. I've filed bug 519844 to get us personas db dumps and there is a dev site at sm-personas01.mozilla.org if you want it.
I can help you with details here. We don't need preview images or anything since we'll be loading those directly off getpersonas.com. Also, in my head this works, we should just associate all the imports with a generic user account for personas. When authors are "imported" we're just pulling in their names. Any clicks on the authors name will go to getpersonas.com.
Reporter | ||
Updated•15 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #404860 -
Flags: review?(clouserw)
Assignee | ||
Comment 2•15 years ago
|
||
now with a lockfile and personas disabling
Attachment #404952 -
Flags: review?(clouserw)
Assignee | ||
Updated•15 years ago
|
Attachment #404860 -
Attachment is obsolete: true
Attachment #404860 -
Flags: review?(clouserw)
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 3•15 years ago
|
||
importing approval times, fixing a couple bugs
Attachment #405158 -
Flags: review?(clouserw)
Assignee | ||
Updated•15 years ago
|
Attachment #404952 -
Attachment is obsolete: true
Attachment #404952 -
Flags: review?(clouserw)
Assignee | ||
Comment 4•15 years ago
|
||
Attachment #405160 -
Flags: review?(clouserw)
Assignee | ||
Updated•15 years ago
|
Attachment #405158 -
Attachment is obsolete: true
Attachment #405158 -
Flags: review?(clouserw)
Comment 5•15 years ago
|
||
You probably want to add the new add-on type to config/constants.php as well as models/addontype as well. Otherwise it won't show up in a few places, like the admin category manager.
Reporter | ||
Comment 6•15 years ago
|
||
Comment on attachment 405160 [details] [diff] [review]
personas import script
Why not use the existing categories table?
Attachment #405160 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 7•15 years ago
|
||
incremental patch so you can see what's changing
Attachment #405295 -
Flags: review?(clouserw)
Comment 8•15 years ago
|
||
Using addon_categories is great, that'll make my life in bug 519863 much happier.
Assignee | ||
Comment 9•15 years ago
|
||
one more incremental fix
Attachment #405325 -
Flags: review?(clouserw)
Reporter | ||
Updated•15 years ago
|
Attachment #405295 -
Flags: review?(clouserw) → review+
Reporter | ||
Updated•15 years ago
|
Attachment #405325 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 10•15 years ago
|
||
Comment 11•15 years ago
|
||
preview.AMO is flooding the amo-developers mailing list with warnings about PERSONAS_DB_HOST undefined etc...
I'll add some default values to stop the pain.
Comment 12•15 years ago
|
||
(In reply to comment #11)
> I'll add some default values to stop the pain.
Pain relievers committed to r53132.
Assignee | ||
Comment 13•15 years ago
|
||
with all the goodies this time
Attachment #405518 -
Flags: review?(clouserw)
Assignee | ||
Updated•15 years ago
|
Attachment #405518 -
Attachment is obsolete: true
Attachment #405518 -
Flags: review?(clouserw)
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 405518 [details] [diff] [review]
personas list view
oops, wrong bug
Updated•15 years ago
|
Keywords: push-needed
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•