[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963210: qa.debian.org: DDPO still using old name



Hi Raúl,

I had spent some time understanding carnivore, and found the reason why this was happening, but in the end I never got around to implementing a fix.. So thank you for taking the time to look into this!

As you guessed, i would prefer not to have my deadname show at all, and to have all my packages merged under one identity.

Let me know if I can assist in any way.

Thanks a lot, Martina.

On 03/04/2021 00:45, Raúl Benencia wrote:
On Sat, Jun 20, 2020 at 05:07:43PM +0100, Martina Ferrari wrote:
In the past months, I have been gradually switching all my online identities to
my new name (Martina) and uid/nick (Tina). I have changed emails, GPG keys, and
finally my Debian LDAP uid.

Hola Martina! Long time. :-)

I did some research to get to the bottom of this issue. I'll be verbose
describing what I found in hopes of it being useful for similar issues in the
future.

The source of your deadname is in a database that DDPO uses under the hood
called carnivore[1]. I think your case might be very similar to #706260. In your
case, names are being merged[2] because there are still some packages that use
your deadname.

In quants, qa.debian.org, if you check the file
/srv/qa.debian.org/carnivore/uids you might see something like this:

| martina ferrari <tina@debian.org>: email:tina@debian.org
| martina ferrari <tincho@debian.org>: email:tina@debian.org
| martín ferrari <tincho@debian.org>: email:tina@debian.org

I haven't confirmed this—I don't have access to quants—but I tried it locally
after running extract_data myself.

You can explicitly state[3] that you don't want your name to be merged with your
deadname, at the cost of unlinking the two uids. If you add[3] "Martina
Ferrari", then the result will be:

| martina ferrari <tina@debian.org>: email:tina@debian.org
|
| martina ferrari <tincho@debian.org>: email:tincho@debian.org
| martín ferrari <tincho@debian.org>: email:tincho@debian.org

This approach has the disadvantage that you'll stop seeing all packages in a
single page; probably not what you want, so I kept digging.

The developer.wml[4] file shows that it chooses the first name of all the
indexed names. A possible solution is to somehow set your name at the beginning
of that list. Another solution can be to state that you prefer a single name on
the DB.

I wrote a patch that implements this last solution, allowing you to state a
preferred name. I'm still testing it, but I'll try to submit it for review on
the weekend.

nota bene: it's the first time I'm interacting with this codebase so I might be
entirely wrong. \o/

[1] https://salsa.debian.org/qa/qa/-/blob/c850ab59/carnivore/README#L12-13
[2] https://salsa.debian.org/qa/qa/-/blob/c850ab59/carnivore/extract_data#L85
[3] https://salsa.debian.org/qa/qa/-/blob/c850ab59/carnivore/extract_data#L82
[4] https://salsa.debian.org/qa/qa/-/blob/c850ab59/wml/developer.wml#L1654


--
Martina Ferrari (Tina)


Reply to: