I'm not getting karma for my bazaar branches

Bug #270411 reported by Scott Severance
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned

Bug Description

In looking through my karma summary, I noticed that I haven't been getting credit for my bzr revisions. Here are a couple sample branches:
    - https://code.edge.launchpad.net/~scott.severance/sysres/mssever
    - https://code.edge.launchpad.net/~scripters/scripting/trunk

Tags: karma lp-code
description: updated
Revision history for this message
Ursula Junque (ursinha) wrote :

Hi Scott,

The branches you've mentioned were created in the same day you visited your karma page? If so, the branches aren't showing on the karma history because Launchpad does the karma calculation once a day, as explained in https://help.launchpad.net/YourAccount/Karma.

Thanks!

Changed in launchpad:
status: New → Incomplete
Revision history for this message
Scott Severance (scott.severance) wrote :

The branches show up fine. But when I look at other people's karma page I see entries stating "Revision added", though there are no such entries on my karma page, despite the fact that my revisions go back to last week (so there's been plenty of time for them to show up).

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 270411] [NEW] I'm not getting karma for my bazaar branches

On Tuesday 30 September 2008 09:13:18 Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> In looking through my karma summary, I noticed that I haven't been
> getting credit for my bzr revisions. Here are a couple sample
> branches: -
> https://code.edge.launchpad.net/~scott.severance/sysres/mssever -
> https://code.edge.launchpad.net/~scripters/scripting/trunk
>
> ** Affects: launchpad-bazaar
> Importance: Undecided
> Status: Incomplete

This is because you have configured bazaar to use:
   Scott Severance <http://www.scottseverance.us>
as the username.

Launchpad looks for an email address in the bazaar username and links
that to confirmed email addresses for launchpad users in order to
assign karma.

I'd suggest changing your bazaar username to be something of the format:
   Real Name <email address hidden>

Revision history for this message
Scott Severance (scott.severance) wrote :

If I changed my bazaar username as suggested, then that would involve giving my e-mail address away to spammers. It's true that Launchpad might not display the email address itself, but any bot viewing the bzr log through the web interface would learn my e-mail address. And since I have to log in to get write access anyway, Launchpad obviously knows my identity without having to parse my e-mail address from the log.

Additionally, I didn't find any documentation about this behavior.

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 270411] Re: I'm not getting karma for my bazaar branches

On Tuesday 30 September 2008 11:42:29 Scott Severance wrote:
> If I changed my bazaar username as suggested, then that would involve
> giving my e-mail address away to spammers. It's true that Launchpad
> might not display the email address itself, but any bot viewing the
> bzr log through the web interface would learn my e-mail address. And
> since I have to log in to get write access anyway, Launchpad
> obviously knows my identity without having to parse my e-mail address
> from the log.
>
> Additionally, I didn't find any documentation about this behavior.

If you look at the following branch:

https://code.edge.launchpad.net/~drizzle-developers/drizzle/development

you'll see that Brian Aker has his email shown if and only if there is a
logged in user. The web bots crawl as an anonymous user.

Also once LP is able to link your email to your user account, the email
text is replaced with a link to the launchpad user. If your emails are
not public there, then your email address is not shown anywhere.

Also the issue is to do with linking revisions in a distributed revision
control system with a central user. The only way we can do this is to
work with what we are given. If the revision doesn't contain a unique
way to identify you, we can't link them. Just because you have
revisions in your branch, it doesn't mean you are the author of those
revisions.

Revision history for this message
Scott Severance (scott.severance) wrote :

Actually, it's still visible (see for example the revision ID at http://bazaar.launchpad.net/~drizzle-developers/drizzle/development/files), although it would take a somewhat more sophisticated bot to correctly obtain the e-mail address.

What you said about the distributed nature of bzr makes sense. Perhaps this is something that should be documented.

Revision history for this message
Jonathan Lange (jml) wrote :

Closing this bug since the karma allocation is working as intended. I've filed bug 325619 to track the documentation bug.

Changed in launchpad-bazaar:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.