On Thu, 2019-05-30 at 09:43 -0700, Kevin Fenzi wrote:
On 5/30/19 3:22 AM, Ankur Sinha wrote:
> On Thu, May 30, 2019 11:50:12 +0200, Didier Fabert wrote:
> > Hi Ankur,
>
> Hi Didier,
>
> > You have to create a directory and download one file to get script working.
> > In the same directory of fedora-active-user.py
> >
> > mkdir fedora_cert
> > curl -fsSL -o fedora_cert/__init__.py
> >
https://pagure.io/fedora-packager/raw/master/f/src/fedora_cert/__init__.py
> >
> > I modify a little this script and send pypingou a PR[1]
>
> Thanks for that. I've used your fork, downloaded fedora_cert as you
> suggest and it works now.
Ideally it should drop fedora-cert use entirely. It looks like currently
all it uses it for is to figure out your username. Instead it should
default to your local user name or take a --user or something. :)
I'd kinda rather there was a standard way for all such things to read
the username from a standard file, because my Fedora username is not my
system username and passing --user or --username or whatever to
everything is a pain.
Things that need to do this include, just off the top of my head, the
bodhi and koji clients, fedpkg...I know some of them have
implementations of this, I don't know if they all agree on how to do
it...
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net