|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] scripts: Add a script to build and submit to coverity.
Andrew Cooper writes ("Re: [PATCH] scripts: Add a script to build and submit to
coverity."):
> On 10/12/15 17:48, Ian Jackson wrote:
> > Ideally there would be a way to get it to read the token from a file
> > in $HOME. We could then provide the token in ~osstest in the
> > production colo.
>
> One way or another, the authentication token needs to be in a post
> header. How this script and `curl` make it happen is open to improvement.
>
> Perhaps something like this? (Completely untested)
>
> --form token=@~osstest/coverity-secret-token
If curl can do that then fine. Given
> >>> + declare -a curl_args
> >>> + curl_args+=("--form" "token=$COV_TOKEN")
> >>> + curl_args+=("--form" "email=$COV_EMAIL")
this could be achieved by having ts-do-coverity-thing set COV_TOKEN to
$HOME/.xen-osstest/coverity-secret or whatever. ts-do-coverity-thing
would need to set a bunch of other COV_SOMETHING anyay.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |