[doap-interest] bug-database

Erling Wegger Linde erlingwl at gmail.com
Wed Apr 16 10:02:55 BST 2008


Hi Henry!

I have created an APP endpoint that pretty much gives you transparent
access to Jira and Trac. However, I need to configure which issue
tracker that a project is using, so that I know if my wrapper (behind
the APP endpoint) should connect with Jira's SOAP API or Trac's
XML-RPC endpoint. Here are examples of configuration:

        <bugtracker_name>trac</bugtracker_name>
        <bugtracker_url>http://localhost:8090/trac/mpl/</bugtracker_url>

        <bugtracker_name>jira</bugtracker_name>
        <bugtracker_url>http://localhost:8080/jira/</bugtracker_url>

But now that I am writing this I see that the endpoint is actually
expanded in my code by applying the suffixes:
"rpc/soap/jirasoapservice-v2" to Jira URLs and "login/xmlrpc" to the
Trac URLs. E.g. I don't need a "endpointURI" property. This implies
that I could get by with e.g.:

<http://localhost:8080/jira/>;
        a someNS:IssueTracker;
        someNS:name/type = "jira".

Well the best thing would of course be if I didn't need the name/type
property. I might get this to work with a trial/error approach - e.g.
if the adress doesn't respond to Trac requests, try Jira etc. But I
don't think this would scale well..

Is it out of the scope of Baetle to provide an IssueTracker class? Or
do I actually need that? Could I get by with just:

<http://localhost:8080/jira/>;
        someNS:name/type = "jira".

I guess a hack could be:

<http://localhost:8080/jira/>;
        doap:name = "jira".

What do you think?

Thanks again!
- Erling



On Wed, Apr 16, 2008 at 10:41 AM, Story Henry <henry.story at bblfish.net> wrote:
> Hi Erling,
>
>  I don't know much about bug databases, but I wonder what an endpoint
> address of a bug database is. Is this where you are hoping to add a new bug?
>
>  Bug databases that have web access currently only have human readable forms
> for entering information. I suppose it would be useful if there could be a
> link to a machine readable collection where you could POST a new bug entry,
> and so create a new bug/Issue using an ontology such as the one described by
> baetle. But I don't think there are any conventions to do this yet, though
> on the other hand, this seems like it should be quite easy to describe one.
>
>  One could look here a little at how the atom publication mechanism allows
> one to publish a new entry...
>
>  Henry
>
>
>
>  On 16 Apr 2008, at 10:29, Erling Wegger Linde wrote:
>
> >
> >
> >
> > Hi,
> >
> > I want to use the http://usefulinc.com/ns/doap#bug-database property.
> > However I need specify two attributes of the bug-database: namely its
> > endpoint URI and its name/type.
> >
> > E.g. I want to be able to know whether the bug-database is a Trac or
> > Jira implementation, and also its endpointadress. How should I do
> > that? Is it some other ontology I could refer to that has a relevant
> > concept with a uri and name/type property? Or do I have to create my
> > own ontology?
> >
> > Thanks, Erling
> > _______________________________________________
> > doap-interest mailing list
> > doap-interest at lists.gnomehack.com
> > http://lists.usefulinc.com/mailman/listinfo/doap-interest
> >
>
>



-- 
Med vennlig hilsen
Erling Wegger Linde


More information about the doap-interest mailing list