darcs

Issue 1512 roundup: merge users twb and twb1.

Title roundup: merge users twb and twb1.
Priority feature Status resolved
Milestone Resolved in
Superseder some bugs.darcs.net users are duplicated
View: 1001
Nosy List Serware, darcs-devel, dmitry.kurochkin, kowey, stephen, thorkilnaur, twb
Assigned To
Topics BugTracker

Created on 2009-08-05.02:59:40 by twb1, last changed 2009-10-24.09:58:49 by kowey.

Files
File name Uploaded Type Edit Remove
unnamed kowey, 2009-08-06.13:02:16 message/rfc822
Messages
msg8008 (view) Author: twb1 Date: 2009-08-05.02:59:38
I have accidentally created a twb1 account in roundup.  Please merge
it into my main account, "twb".

While looking at the user list to try to remember who is the roundup
admin, I noticed few other people have the same issue.  I suggest
taking this opportunity to merge their accounts, too.
msg8016 (view) Author: kowey Date: 2009-08-06.13:02:17
Forwarding this note from Stephen (I'm puzzled as to why it didn't make
it on the tracker when Stephen replied. I think it was auto-dropped from
darcs-devel because that was automated traffic only, but why the mailgw
didn't pick it up confuses me).

By the way, Stephen, I couldn't find the corresponding roundup issue
number.  Is this known?

Thanks!
Attachments
msg8025 (view) Author: stephen Date: 2009-08-06.14:01:54
Eric Kow writes:
 > Forwarding this note from Stephen (I'm puzzled as to why it didn't make
 > it on the tracker when Stephen replied. I think it was auto-dropped from
 > darcs-devel because that was automated traffic only, but why the mailgw
 > didn't pick it up confuses me).

I got it bounced back from darcs-devel, I don't know why you didn't.

 > By the way, Stephen, I couldn't find the corresponding roundup issue
 > number.  Is this known?

No, I just realized what was happening a couple of days of days ago
myself.  The Roundup mail gateway code is baroque, and I'm modified
ours so I'm not 100% sure ... but now that it's happened at Darcs,
too, it's probably Roundup.  When I get back from this conference I'll
report it there.

There may be a situation where somebody uses the same *mailbox* at
multiple *domains* where this is supposed to happen (of course Roundup
can't tell the difference between a person who has mail addresses in
two different domains from two persons with the same mailbox in
different domains), but I've also seen it happen to people who only
ever use one address.
msg8041 (view) Author: twb Date: 2009-08-07.01:38:09
Stephen wrote:
> It's not an accident, it's a roundup bug.

I'm not sure why it's a bug.  Initially I had one account:

    username: twb
    primary address: trentbuck@gmail.com
    secondary addresses: twb@cyber.com.au

The latter address is my work email.  Recently "cybersource.com.au"
because my work's preferred domain, deprecating "cyber.com.au".  So
the next thing that happened was that I sent an email from
twb@cybersource.com.au, resulting in two accounts:

    username: twb
    primary address: trentbuck@gmail.com
    secondary addresses: twb@cyber.com.au

    username: twb1
    primary address: twb@cybersource.com.au

I *later* added this new address to the "twb" account, resulting in
the current state:

    username: twb
    primary address: trentbuck@gmail.com
    secondary addresses: twb@cyber.com.au, twb@cybersource.com.au

    username: twb1
    primary address: twb@cybersource.com.au

I don't see what Roundup could have done differently to detect this,
since there's no way for it to know that cyber.com.au is "the same as"
cybersource.com.au.

However there must be some way to merge twb1 into twb, since currently
queries like "list all bugs created by twb" will not list the bugs
created by twb1.
msg8096 (view) Author: kowey Date: 2009-08-11.16:35:03
Hi Simon,

I notice that you've had some experience merging duplicate users on issue1001. 
Do you think you might be able to describe the procedure (perhaps on
http://wiki.darcs.net/BugTracker/Automation ?).  When I tried to look into this,
I ran into the problem of the 'creator' field being reserved.

Many thanks!
msg9014 (view) Author: kowey Date: 2009-10-24.00:26:26
I've updated Simon's scripts, adding a function to (a) merge users given a
primary user and secondary users and (b) to detect duplicate users (with the
same email address) and merge them using the most active user as primary.

I've applied (b) merging a fair number of users.
There are still a few scattered around, duplicate users with different email
addresses.  These can be merged on demand
msg9015 (view) Author: twb Date: 2009-10-24.00:43:16
On Sat, Oct 24, 2009 at 12:26:29AM +0000, Eric Kow wrote:
> I've updated Simon's scripts, adding a function to (a) merge users
> given a primary user and secondary users and (b) to detect duplicate
> users (with the same email address) and merge them using the most
> active user as primary.

Vaguely apropos: there are various accidents/attempts to link debbugs
to roundup, see users NNNNNN and NNNNNN-forwarded.  You might want to
think about how to "clean up" those while you're there.

Note that one way roundup->debbugs updating works via a separate
script (that Debian runs), without the need for NNNNNN@bugs.debian.org
users in our roundup database.
msg9016 (view) Author: kowey Date: 2009-10-24.00:49:32
Here are some users I've merged:

mergeusers('Sebastien.Hinderer',['Sebastien.Hinderer1'])
mergeusers('CBa',['Christoph.Bauer'])
mergeusers('cygnus',['cygnus1'])
mergeusers('duncan',['duncan.coutts'])
mergeusers('era',['era+darcs'])
mergeusers('gdgib',['gdgib1'])
mergeusers('granth',['grant.husbands','granthusbands'])
mergeusers('hanwen',['hanwen1','lilydev']))
mergeusers('ijones',['isaac.jones'])
mergeusers('isaacd',['isaacdupree'])
mergeusers('kapheine',['kapheine1'])
mergeusers('marnix',['marnix.klooster'])
mergeusers('norman-ramsey',['nr1'])
mergeusers('simonmar',['simonmarhaskell'])
mergeusers('kirby',['sinsalaco'])
mergeusers('tuomov',['tuomov1'])
mergeusers('tim',['t-kirstc','catamorphism'])
mergeusers('stephen',['turnbull'])
mergeusers('byorgey',['byorgey1'])
mergeusers('donald',['donred'])
mergeusers('robk',['robk-darcsspam'])
mergeusers('jcpetruzza',['dgorin'])
mergeusers('tom',['tom1'])

It's probably worth getting in touch with these people to let them know, then we
can close this bug
msg9017 (view) Author: kowey Date: 2009-10-24.09:12:47
More semi-automated merging (with the help of a function to display users with
duplicate realnames):

merge_users('Aaron',['lists2546'])
merge_users('ajk',['antti-juhani'])
merge_users('fx',['d.love'])
merge_users('dastapov',['adept'])
merge_users('haskell',['greg'])
merge_users('bsort',['bublesort'])
merge_users('radford',['jim'])
merge_users('omega',['jovdmeer'])
merge_users('karel.gardas',['kgardas1'])
merge_users('markstos',['system'])
merge_users('WorldMaker',['admin1'])
merge_users('silverdirk',['conradme'])
merge_users('limare',['nil'])
merge_users('olivier.schwander',['oschwand'])
merge_users('ppessi',['Pekka.Pessi'])
merge_users('evilrob',['robk'])
msg9019 (view) Author: kowey Date: 2009-10-24.09:58:47
I've split off Trent's observation about Debian bugs into issue1654.

I've also notified all people whose accounts have been merged and am glad to be
finally getting rid of this bug. :-)
History
Date User Action Args
2009-08-05 02:59:40twb1create
2009-08-05 09:22:09koweysetpriority: feature
nosy: + Serware
topic: + BugTracker
title: roundup: merge users twb and twb1. -> roundup: merge duplicate users (eg twb and twb1)
2009-08-06 13:02:20koweysetfiles: + unnamed
status: unread -> unknown
title: roundup: merge duplicate users (eg twb and twb1) -> roundup: merge users twb and twb1.
messages: + msg8016
nosy: + stephen
2009-08-06 13:38:01adminsetnosy: + twb, - twb1
2009-08-06 14:01:57turnbullsetnosy: + turnbull
messages: + msg8025
2009-08-07 01:38:12twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen, turnbull
messages: + msg8041
2009-08-11 16:35:11koweysetstatus: unknown -> waiting-for
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen, turnbull
superseder: + some bugs.darcs.net users are duplicated
messages: + msg8096
assignedto: simon
2009-08-25 17:46:38adminsetnosy: + darcs-devel, - simon
2009-08-27 14:23:02adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen, turnbull
2009-10-23 22:45:56adminsetnosy: + serware, - Serware
2009-10-23 23:31:31adminsetnosy: + Serware, - serware
2009-10-24 00:26:28koweysetstatus: waiting-for -> has-patch
nosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen, turnbull
messages: + msg9014
assignedto: simon ->
2009-10-24 00:41:59adminsetnosy: - turnbull
2009-10-24 00:43:18twbsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen
messages: + msg9015
2009-10-24 00:49:34koweysetstatus: has-patch -> needs-reproduction
nosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen
messages: + msg9016
2009-10-24 09:12:49koweysetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen
messages: + msg9017
2009-10-24 09:58:49koweysetstatus: needs-reproduction -> resolved
nosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, Serware, stephen
messages: + msg9019