<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Hi,</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">
When CDash gathers the list of updates from Perforce the users are returned as author="Full Name", email="<a href="mailto:user@company.com">user@company.com</a>". The problem is that on the Manage Users page we get lots of messages like:</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">"Pedro Navarro is not registerd for this project but has been submitting in the past month".</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">The issue is that in manageProjectRoles.php page, the sql query to get unregistered users has:</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">...LEFT JOIN user2repository ON (dailyupdatefile.author=user2repository.credential ...</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">It's matching the author of the commit with the repository credentials! In this case dailyupdatefile.author="Pedro Navarro" and user2repository.credential="<a href="mailto:pnavarro@netflix.com">pnavarro@netflix.com</a>". If I add "Pedro Navarro" as a repository credential everything works fine but this doesn't seem right and leads me to the following questions:</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">- Is Perforce the only VCS that's returning full user names? Should we not do that?</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">- Wouldn't it be better to match dailyupdatefile.email with user2repository.credential? After all the user's E-Mail is always added as a credential by default.</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Pedro</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">
<br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div></div>