On Mon, May 30, 2011 at 4:35 PM, Christian Robottom Reis
<[email protected]> wrote:
> On Mon, May 30, 2011 at 10:40:00AM +0200, Zygmunt Krynicki wrote:
>> $ lava-tool submit-job --farm https://[email protected]
>> test.json --token
>> Token for [email protected]: ***********
>>
>> >So we need a way of storing tokens.  The easiest thing to do would be to
>> >store a token for a (username, host) pair, so you'd run a command like:
>>
>> IMHO that should be python-keyring. Let's not reinvent .netrc again.
>
> Good point.
>
> And for the problem of having to store a directory of farms, why not
> just encourage shell aliases:
>
>    lava-tool submit-job --farm $myfarm
>
> Storing a default (on first use, maybe?) seems sensible:
>
>    lava-tool submit-job --farm $myfarm
>    Storing https://[email protected] in ~/.lava/default
>
>    lava-tool submit-job
>    Using https://[email protected] from ~/.lava/default
>
> How does that look?

I prefer the ability to explicitly register shortnames for farms like
I proposed further above.

We can also have a shortname "default" or so that would be used if you
don't provide a --farm short-name ;).

Was there any argument against having shortname feature? or did you
guys just ignore me ;)?

-- 

 - Alexander

_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to