Look for committers and not authors in automatic ticket updates

Bernat Foj Capell's Avatar

Bernat Foj Capell

09 Aug, 2011 10:55 AM

Hi,

I think that this may in fact be on github's side, but currently, when an automatic ticket update is made, e.g. by using [#519 state:resolved] in the ticket, if you are the author, and you've correctly set "Committer Names" in your profile, it will work as expected. However, if the author is a third person and you are the committer, the author will be used to try to retrieve the name of the one who is updating the ticket, when really it's the committer that is making this action.

Since usually in these cases the author may not even have a lighthouse account, even less set the correct "Committer Names", the correct tracking will be lost, and the default account owner will appear. See for example the last change in http://ubiquo.lighthouseapp.com/projects/27683/tickets/519-add-hide... where the reported author is neither the author nor the committer.

  1. 1 Posted by Nicole on 11 Aug, 2011 04:25 PM

    Nicole's Avatar

    Bernat -

    We're trying to sort this out. Is the author (csaura) of the commit you linked to above a member of your account?

    Let us know and we'll continue troubleshooting.

    Thanks,
    Nicole

  2. 2 Posted by Bernat Foj Cape... on 11 Aug, 2011 04:39 PM

    Bernat Foj Capell's Avatar

    Hi,

    His lighthouse account is http://ubiquo.lighthouseapp.com/users/86387, is that what you mean? I don't think he has set the committer names in his profile. But I was reporting this ticket only as an example, since in this case, I think that the most appropiate person to be the "ticket updater" is the committer (me) and not the author of the commit.

    Cheers,
    Bernat

  3. 3 Posted by Nicole on 12 Aug, 2011 05:47 PM

    Nicole's Avatar

    Sending the author versus the committer information is on Github, but if a user doesn't have their committer name set in their Lighthouse user profile it will revert to posting under whoever created the token being used in Github.

    Let me know if you have any other questions.

    Thanks,
    Nicole

  4. Nicole closed this discussion on 12 Aug, 2011 05:47 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac