Bonjour Olivier,

On Tue, 2008-08-26 at 13:07 +0000, Jacques, Olivier (PD&E IT Test)
wrote:
> >> - Looking at daemon.conf and TestDirector back-end code, it looks that
> >> only one QC Project can be managed by the integration daemon. Is that
> >> correct?
> >
> > [Rob] Yes, that is correct - only one Project per ScmBug instance,
> > otherwise you'd need some form of mapping file to record which
> > repository maps to which Test Director/Quality Center DB.
>
> We might be able to come up with a syntax in the SCM commit message
> that would allow to indicate the defect tracking back-end or repository
> to use.
> 
> But maybe this not how scmbug is supposed to work today. It
> would be nice if Kristis or someone else could comment on this.

I'm not crazy about the idea of adding in the commit message the
repository. This was suggested in the past:

http://bugzilla.mkgnu.net/show_bug.cgi?id=775


Instead I would prefer to add the capability in Scmbug to map directory
names to product names in the glue:

http://bugzilla.mkgnu.net/show_bug.cgi?id=1169

The reasoning is that most likely you would separate at the SCM
directory structure which directory maps to which product and would
prefer not to have to enter the repository name during each commit (and
verify that it has been entered correctly).

> >  [Rob] Thanks for the suggestion but doesn't this require access to the
> > underlying DB? - We currently use the OLE interface. (BTW: I don't claim
> > to be a QC expert - just picked up the bare minimum to implement the
> > integration).  Also getting that a bug has been modified isn't enough -
> > we need to check that a particular formatted comment has been added.
> 
> No, there is no need to have access to the DB. The "Command" object, which
> is part of Quality Center OTA API allows you to execute simple SQL queries
> like this, through OLE.
> To check that a particular field (memo field in QC - like 'BG_DEV_COMMENTS')
> has been updated, just add
> AND AP_FIELD_NAME = 'BG_DEV_COMMENTS'
> to the query I provided earlier.

I just tracked this:

http://bugzilla.mkgnu.net/show_bug.cgi?id=1222

> > If you are able to get this sort of thing working I'm sure that
> > Kristis would be OK to integrate it.

Absolutely.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to