Isn't it easiest to just ask for the FAS name of the person who wants to become a packager? I don't really see how this should be less efficient than searching the mail address in the FAS database.


On Thu, Feb 23, 2012 at 3:23 PM, Jamie Nguyen <jamie@tomoyolinux.co.uk> wrote:
Thomas Spura <tomspur@fedoraproject.org> wrote:
> On Thu, Feb 23, 2012 at 3:24 PM, Jamie Nguyen <jamie@tomoyolinux.co.uk> wrote:
>> Thomas Spura wrote:
>>> 2012/2/23 Miroslav Suchý <msuchy@redhat.com>:
>>>> But I find incredibly hard to find relation between bugzilla email and FAS
>>>> account.
>>>> How do you do this check?
>>>
>>> Show all useres in the cla_signed group [3] and search for the mail
>>> address. When it's not there it may be overritten in [4].
>>> When it's not there either, the user has not signed cla yet and cannot
>>> be a packager, yet.
>>
>> You can't be a packager without signing the CLA, but you can sign the
>> CLA without being a packager.
>
> Yes, no cla -> no packager, like I wrote above.
> When someone has signed the cla, you then need to look if the user is
> already member of the packager group...

Perhaps I misunderstand, but I think the real problem is that the
email used for bugzilla doesn't have to be the same as the email
specified when signing up for a FAS account. So if the bugzilla email
isn't found in FAS, it doesn't necessarily mean that they don't yet
have a FAS account. Similarly, it also doesn't necessarily mean that
they haven't signed the CLA yet.

I don't know how these queries are done, but I would have thought that
if you can query whether any members of the CLA group have the email
address in question, you might as well query the Packager group from
the start.


Jamie