[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-10-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #18 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
Forgot to close this :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #17 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
2014-10-15 21:02:37 processed 771 usernames (22.6/sec), 1 (0.1%) fully
migrated, 770 (99.9%) partially migrated

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-10-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #16 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
List of broken users is generating now...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876
Bug 61876 depends on bug 39996, which changed state.

Bug 39996 Summary: Accounts magically unattached despite being recently created
https://bugzilla.wikimedia.org/show_bug.cgi?id=39996

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

 Status|REOPENED|NEW

--- Comment #15 from Nemo federicol...@tiscali.it ---
(In reply to Kunal Mehta (Legoktm) from comment #14)
 The problem is that new broken accounts are still being created (bug 39996),
 so until that is fixed, we can't really fix all of them.

Bug 39996 was closed, so the last maintenance script run should be the last!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #14 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
The problem is that new broken accounts are still being created (bug 39996), so
until that is fixed, we can't really fix all of them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-08-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #13 from Andre Klapper aklap...@wikimedia.org ---
(In reply to Kunal Mehta (Legoktm) from comment #12)
 Aargh. I ran migrateAccount.php --attachbroken using a list I generated 2
 days ago. I re-generated the list, expecting it to be empty. There are now 7
 usernames, all from commonswiki that are broken. They all have
 user_registration dates in the past 2 days, so it just means new broken
 accounts are being created.

legoktm: Did you have some time to follow up on this? Is this still an existing
problem, or has this been fully tackled?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #11 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
2014-07-14 09:43:06 processed 1014 usernames (24.9/sec), 3 (0.3%) fully
migrated, 1011 (99.7%) partially migrated

Running a script to verify there are no more of these left.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #12 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
(In reply to Kunal Mehta (Legoktm) from comment #11)
 2014-07-14 09:43:06 processed 1014 usernames (24.9/sec), 3 (0.3%) fully
 migrated, 1011 (99.7%) partially migrated
 
 Running a script to verify there are no more of these left.

Aargh. I ran migrateAccount.php --attachbroken using a list I generated 2 days
ago. I re-generated the list, expecting it to be empty. There are now 7
usernames, all from commonswiki that are broken. They all have
user_registration dates in the past 2 days, so it just means new broken
accounts are being created.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Depends on||67350
 Resolution|FIXED   |---

--- Comment #10 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
Ok, turns out this isn't fixed yet. There are about 1000 still broken accounts
that the script could fix, but CA doesn't think they exist due to bug 67350.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
(In reply to Kunal Mehta (Legoktm) from comment #8)
 2014-07-08 20:21:23 processed 18347 usernames (29.3/sec), 166 (0.9%) fully
 migrated, 17957 (97.9%) partially migrated
 
 I'll look through the log to see why some accounts didn't get processed.

I don't see any errors in the log. I think the count is off because some users
had multiple unattached accounts, but as soon as the script processed the first
of their usernames, it fixed all of them, so the later instances of those names
were already ok and had nothing to do.

I'm going to mark this as fixed now. If the 224 users whose accounts we
couldn't automatically re-attach would like their accounts back (and have a
reasonable way to prove they owned it), I can take care of those manually (just
file a bug and cc me). Otherwise they'll just be renamed out of the way during
the finalization.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #8 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
2014-07-08 20:21:23 processed 18347 usernames (29.3/sec), 166 (0.9%) fully
migrated, 17957 (97.9%) partially migrated

I'll look through the log to see why some accounts didn't get processed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   Priority|Normal  |High
 Blocks||39817

--- Comment #2 from Nemo federicol...@tiscali.it ---
(In reply to Kunal Mehta (Legoktm) from comment #1)
 if the user is
 unattached, has no edits, and has an empty user_password  user_email, we
 should be able to safely attach them.

Right. So this is the very first thing to do even before bug 39817 comment 10
or all the rest gets too muddy. (Cf.
https://www.mediawiki.org/wiki/Admin_tools_development/SUL_Audit/Metrics_20140704
.) Would be worth an Highest, who wants to add this feature to the script(s)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #3 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 144257 had a related patch set uploaded by Legoktm:
Add --attachbroken option to migrateAccount.php

https://gerrit.wikimedia.org/r/144257

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
I made a fork of sul-audit.py (source:
https://gist.github.com/legoktm/85192e897d57c89aad56) to detect broken
accounts, it's running on terbium right now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
Script took ~43m:

legoktm@terbium:~$ cat sul/broken-accounts.tsv | wc -l
18571

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
(In reply to Kunal Mehta (Legoktm) from comment #5)

 legoktm@terbium:~$ cat sul/broken-accounts.tsv | wc -l
 18571

For accounts with a user_editcount of 0:

legoktm@terbium:~/sul$ cat broken-no-ec.tsv | wc -l
18347

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

--- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 144257 merged by jenkins-bot:
Add --attachbroken option to migrateAccount.php

https://gerrit.wikimedia.org/r/144257

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |ASSIGNED
   Assignee|wikibugs-l@lists.wikimedia. |legoktm.wikipe...@gmail.com
   |org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-07-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed:

   What|Removed |Added

 CC||cste...@wikimedia.org,
   ||h...@online.de,
   ||legoktm.wikipe...@gmail.com

--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
Discussed with hoo and Nemo in #wikimedia-tech just now, if the user is
unattached, has no edits, and has an empty user_password  user_email, we
should be able to safely attach them.

If the user has a non-empty user_password or user_email, they should be able to
either login or force a password reset.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61876] Attach all broken autocreated local accounts to their global account

2014-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61876

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l