fedora-infra / pkgwat.api

Python API for querying the Fedora Packages webapp
http://pkgwat.rtfd.org
Other
9 stars 9 forks source link

[Feature request] Expose package owner's email #21

Closed axilleas closed 10 years ago

axilleas commented 10 years ago

It would be cool to have this little addition. I haven't thought if it would pose any security risk, meaning getting used for spammers, etc. But then again one could obtain the email addresses by the changelog, it's just a few more clicks.

ralphbean commented 10 years ago

If the user has their email stored in FAS, I think that we then automatically get forwarding from FAS_USERNAME@fedoraproject.org to real_email@whatever.com. If that's so, then since pkgwat returns the fas username, you can easily construct their alias email from that.

Will that work for you?

ralphbean commented 10 years ago

Ah, I see @pypingou has a better suggestion here: https://github.com/daviddavis/pkgwat/issues/22#issuecomment-48276757

axilleas commented 10 years ago

Yes, thanks to both of you :) I leave this open if you think it's worth to implement some time in the future or not.

ralphbean commented 10 years ago

Yes, thanks to both of you :)

No problem :)

I leave this open if you think it's worth to implement some time in the future or not.

I think in this case it would be more tricky than not to implement. Getting users' emails from FAS requires authentication and one of the strengths of the fedora-packages webapp is that it doesn't actually authenticate with any of of the other apps that it queries and aggregates. We'd have to introduce a whole new angle to it to pull it off.

So, I think we should close this one at least for now.