Closed
Bug 1087525
Opened 10 years ago
Closed 10 years ago
Move mozilla.org::Server Operations: Desktop Issues to Infrastructure and Operations::Servicedesk
Categories
(bugzilla.mozilla.org :: Administration, task)
Tracking
()
RESOLVED
FIXED
Due Date:
People
(Reporter: fox2mike, Assigned: dylan)
References
Details
Attachments
(1 file, 2 obsolete files)
1.65 KB,
patch
|
dkl
:
review+
glob
:
review+
|
Details | Diff | Splinter Review |
We'd like to move the Server Operations: Desktop Issues from under mozilla.org to Infrastructure and Operations::Servicedesk before Oct 27, if possible.
The description, default QA etc will remain the same. We'd like all existing bugs moved over as well and flags retained.
Let me know if you have any questions, Thanks!
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dylan
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 1•10 years ago
|
||
Admin, Please run the following 2 scripts from the production webhead.
Assign this ticket back to me when completed.
# cd /path/to/bugzilla/root
# perl contrib/reorg-tools/syncmsandversions.pl mozilla.org 'Infrastructure & Operations'
# perl contrib/reorg-tools/movecomponent.pl mozilla.org 'Infrastructure & Operations' 'Server Operations: Desktop Issues'
Assignee: dylan → nobody
Component: Administration → Infrastructure
QA Contact: mcote
Comment 2•10 years ago
|
||
Error:
bugzillaadm.private.scl3# time perl contrib/reorg-tools/movecomponent.pl mozilla.org 'Infrastructure & Operations' 'Server Operations: Desktop Issues'
About to move the component 'Server Operations: Desktop Issues'
From 'mozilla.org'
To 'Infrastructure & Operations'
Press <Ctrl-C> to stop or <Enter> to continue...
Moving 'Server Operations: Desktop Issues' from 'mozilla.org' to 'Infrastructure & Operations'...
DBD::mysql::db do failed: Duplicate entry '707-107-600' for key 'flaginclusions_type_id_idx' [for Statement "UPDATE flaginclusions SET product_id = ? WHERE component_id = ?"] at contrib/reorg-tools/movecomponent.pl line 104.
Flags: needinfo?(dylan)
Restrict Comments: true
Assignee | ||
Comment 3•10 years ago
|
||
Add check to avoid adding duplicate entry to flaginclusions/flagexclusions.
Attachment #8511262 -
Flags: review?(dkl)
Assignee | ||
Comment 4•10 years ago
|
||
Here is the revised movecomponent.pl script. Please run the commands in Comment #1, replacing that movecomponent.pl script the attached.
Flags: needinfo?(dylan)
Assignee | ||
Updated•10 years ago
|
Attachment #8511290 -
Attachment mime type: application/x-perl → text/plain
Comment 5•10 years ago
|
||
for the record, same error.
Moving 'Server Operations: Desktop Issues' from 'mozilla.org' to 'Infrastructure & Operations'...
DBD::mysql::db do failed: Duplicate entry '707-107-600' for key 'flaginclusions_type_id_idx' [for Statement "UPDATE flaginclusions SET product_id = ? WHERE component_id = ? "] at /home/klibby/movecomponent.pl line 118.
Assignee | ||
Comment 6•10 years ago
|
||
I think it is too risky to run this code without another review, so :fubar, if you're reading this -- I'll see you on Monday.
Assignee: nobody → dylan
Attachment #8511262 -
Attachment is obsolete: true
Attachment #8511290 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8511262 -
Flags: review?(dkl)
Attachment #8511418 -
Flags: review?(dkl)
Assignee | ||
Updated•10 years ago
|
Component: Infrastructure → Administration
QA Contact: mcote
Comment 7•10 years ago
|
||
Comment on attachment 8511418 [details] [diff] [review]
bug-1087525-v2.patch
Review of attachment 8511418 [details] [diff] [review]:
-----------------------------------------------------------------
Code looks sane and it tests OK locally. With anything that has some slight potential for data loss, I would feel better if one other person
gave a quick glance as well.
Attachment #8511418 -
Flags: review?(glob)
Attachment #8511418 -
Flags: review?(dkl)
Attachment #8511418 -
Flags: review+
Assignee | ||
Comment 8•10 years ago
|
||
Per Comment #7, :glob said in IRC he will try to get it reviewed before tomorrow's push.
Restrict Comments: false
Comment on attachment 8511418 [details] [diff] [review]
bug-1087525-v2.patch
Review of attachment 8511418 [details] [diff] [review]:
-----------------------------------------------------------------
r=glob
Attachment #8511418 -
Flags: review?(glob) → review+
Comment 10•10 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
83eac0c..37bd66c master -> master
Assignee | ||
Comment 11•10 years ago
|
||
Admin, please proceed as in Comment #1. The script has been pushed to production. There should not be any errors now.
Assignee: dylan → nobody
Status: ASSIGNED → NEW
Component: Administration → Infrastructure
QA Contact: mcote
Comment 12•10 years ago
|
||
great success. \o/
bugzillaadm.private.scl3# time perl contrib/reorg-tools/syncmsandversions.pl mozilla.org 'Infrastructure & Operations'
real 0m1.008s
user 0m0.904s
sys 0m0.075s
bugzillaadm.private.scl3# time perl contrib/reorg-tools/movecomponent.pl mozilla.org 'Infrastructure & Operations' 'Server Operations: Desktop Issues'
About to move the component 'Server Operations: Desktop Issues'
From 'mozilla.org'
To 'Infrastructure & Operations'
Press <Ctrl-C> to stop or <Enter> to continue...
Moving 'Server Operations: Desktop Issues' from 'mozilla.org' to 'Infrastructure & Operations'...
Touching user profile data for 11464 bugs.
Updated 47344 users.
real 2m7.982s
user 0m15.169s
sys 0m5.519s
Component: Infrastructure → Administration
QA Contact: mcote
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dylan
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•10 years ago
|
||
Renamed.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•