All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	jbeulich@suse.com, xen-devel@lists.xen.org
Subject: Re: [PATCH] scripts: Add a script to build and submit to coverity.
Date: Mon, 14 Dec 2015 13:50:55 +0000	[thread overview]
Message-ID: <1450101055.16856.68.camel@citrix.com> (raw)
In-Reply-To: <22121.48926.249211.58296@mariner.uk.xensource.com>

On Thu, 2015-12-10 at 18:06 +0000, Ian Jackson wrote:
> Ian Jackson writes ("Re: [PATCH] scripts: Add a script to build and
> submit to coverity."):
> > 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.
> 
> It occurs to me that it would be better if
>  - the Coverity token did not have to be sent to the build host,
>     but could remain on the controller
>  - the Coverity log file thing could be left in the build logs
> 
> But I don't think this means that your script ought not to have an
> `upload' function.  It just means that maybe osstest will need what
> amounts to a copy of it.

Having implemented the bulk of a new ts-coverity-scan this morning I'm
basically concluding that all going via xen.git/scripts/coverity-build.sh
is doing is making things more opaque and more difficult to work with from
the test system, without really adding much value (the commands are not all
that complex after all).

Therefore I'm considering (actually, I've pretty much decided) that the ts
script should probably just do things itself.

And given a regular automated scan run that I'm not sure what value the in
tree helper script is, so I'd likely propose to drop this patch too, unless
other folks think it would be useful.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      parent reply	other threads:[~2015-12-14 13:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 16:53 [PATCH] scripts: Add a script to build and submit to coverity Ian Campbell
2015-12-10 17:01 ` Jan Beulich
2015-12-10 17:07 ` Andrew Cooper
2015-12-10 17:48   ` Ian Jackson
2015-12-10 17:52     ` Andrew Cooper
2015-12-10 18:02       ` Ian Jackson
2015-12-10 18:06         ` Ian Jackson
2015-12-10 18:10           ` Andrew Cooper
2015-12-14 13:50           ` Ian Campbell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450101055.16856.68.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.