All,
I want to create a Python script that can query FAS to provide a suggested fix to ticket 2997https://fedorahosted.org/fedora-infrastructure/ticket/2997 and am hoping that I can find a script to use as a reference point. I've put a small script together in Python after referring to this page, https://fedorahosted.org/releases/p/y/python-fedora/doc/existing.html#fas. But I have not gotten very far because any query I try to run results in authentication errors. I do not see anything on the reference page as to how I pass credentials to the class.
Regards, Will
On 11/06/2011 10:58 PM, Will Sterling wrote:
But I have not gotten very far because any query I try to run results in authentication errors. I do not see anything on the reference page as to how I pass credentials to the class.
Maybe this [1] helps.
Fabian
[1] https://fedorahosted.org/fama/browser/fas-group-inactive.py
Yes, that does help a lot. Thank you.
On Sun, Nov 6, 2011 at 4:21 PM, Fabian Affolter fab@fedoraproject.orgwrote:
On 11/06/2011 10:58 PM, Will Sterling wrote:
But I have not gotten very far because any query I try to run results in authentication errors. I do not see anything on the reference page as to how I pass credentials to the class.
Maybe this [1] helps.
Fabian
[1] https://fedorahosted.org/fama/browser/fas-group-inactive.py _______________________________________________ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
On Sun, 6 Nov 2011 14:58:56 -0700 Will Sterling wsterling@fedoraproject.org wrote:
All,
I want to create a Python script that can query FAS to provide a suggested fix to ticket 2997https://fedorahosted.org/fedora-infrastructure/ticket/2997 and am hoping that I can find a script to use as a reference point. I've put a small script together in Python after referring to this page, https://fedorahosted.org/releases/p/y/python-fedora/doc/existing.html#fas. But I have not gotten very far because any query I try to run results in authentication errors. I do not see anything on the reference page as to how I pass credentials to the class.
Will, Drop by irc soon and I'll see if I can help out there. I've done more than I've wanted to do with the python-fas interface recently :)
-sv
infrastructure@lists.fedoraproject.org