Closed (fixed)
Project:
Version Control / Project* integration
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2017 at 12:08 UTC
Updated:
29 Aug 2017 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drummGit commits are associated with Drupal.org user accounts by email address. Please add, and confirm, the email address used in your recent commits at https://www.drupal.org/user/392978/edit/email-addresses.
git logwill show you what the email address(es) were.Once this is done, please update this issue.
Comment #3
digitaldonkey commentedThank you. I understood now how i was wrong.
The commit email is now associated with my drupal.org account. Would be great if you can reindex
Comment #4
digitaldonkey commentedFrom a UX perspective:
It would be good if the sidebar shows ALL commits (including anonymous) are represented in the more visual sidebar statistics. Like:
This would increase the sites coherence and hint stupid commiters like me that they did something wrong more early.
Comment #5
digitaldonkey commentedComment #6
digitaldonkey commentedComment #7
digitaldonkey commentedComment #8
digitaldonkey commentedComment #9
digitaldonkey commentedComment #10
digitaldonkey commentedComment #11
drummYour commits are now up to date with your added email.
Comment #12
drummMoving to the project which implements this block.
If we add commits not associated to user accounts, we can show the name associated with the commit. I could see “Anonymous” looking like insecure commit access.
Comment #13
digitaldonkey commentedYou may name it "unknown" or use the provided Git name.
Comment #14
marvil07 commentedI would say this is by-design, but it could be argued depending on the concept of maintainer that you support.
I differentiate between a maintainer and a collaborator, although the idea is not defined on the code IRRC, at least not explicitly.
A collaborator may get attribution into the project by different means. E.g. the "Credit others" field on the issue, the commit message containing a username, or the git commit author stating the right git name and git mail. In all of these cases the collaborator is part of the project, but not a maintainer.
A maintainer do have at least direct access to push on the git repository (@drumm please correct me if I am wrong), and it is a person with a long term involvement in the project, and that's why it is shown on the maintainers block.
I know the difference can be fuzzy, but if you think someone deserves to be there, maybe you want to ask if they would like to co-maintain the module instead.
In the special case of anonymous, I do not really see the point of adding that to the maintainers block, it does not even make the idea of collaborator in my mind.
Comment #15
drumm“Anonymous” is confusing here - the issue is a maintainer pushes commits, but the email isn't matched up. Showing the maintainer this happened will help them get more commits matched up.
Comment #16
marvil07 commentedHere an example of how this may be addressed, naturally the help text needs to be improved.
Open to suggestions.
Comment #17
drummWe should only show this type of message to people with commit access to the project. It isn’t really actionable for anyone else.
I think it might make sense to show this on pages like https://www.drupal.org/node/148303/committers only. There will be plenty of cases where this isn’t correctable, such as commits with an old email address the committer no longer has access to. Since we don't allow or want history rewriting for that, we don't want the message to be too prominent. We mostly want to educate people making their first few commits.
This probably should check committer_uid instead of author. For example, importing a repository that has commit history might have good author emails that Drupal.org doesn’t know. Those not being matched up is normal.
Maybe a good simple fix is just replacing “Anonymous” with “Unattributed” in the block.
Comment #18
marvil07 commentedBecause of the way the block content is build, author data is easier to show, here the simpler approach I can think of, not tested.
If we want to show unattributed, I think it is more relevant to use author data anyway, but that's totally debatable, so maybe it is better to just provide both, given the idea is to inform about it, but that would require a bit more change.
Comment #20
drummMoved Unattributed to where the table is rendering, so it doesn’t get theme_username’s “(not verified)” added on.
Comment #21
drummThis has been deployed. For example: https://www.drupal.org/node/2897195/committers
Comment #22
marvil07 commentedThanks for the changes and the deploy!