Comment 10 for bug 695003

Revision history for this message
Stefano Candori (cando) wrote : Re: [Zeitgeist] [Bug 695003] Re: Bzr datasource doesn't use different uri for different events on the same branch

Well, now that have that info, i think we should have to choose the idea of
Mikkel.
Michal is it ok for you?

2011/1/5 Mikkel Kamstrup Erlandsen <email address hidden>

> On 5 January 2011 15:43, Mikkel Kamstrup Erlandsen
> <email address hidden> wrote:
> > On 5 January 2011 12:38, Michal Hruby <email address hidden> wrote:
> >>> file:///home/mikkel/myproject/trunk#27
> >>
> >> This is a perfectly valid file (directory) name, with one little problem
> >> that it doesn't exist.
> >
> > This is *not* a file name. It is a URI. Let's keep the terminology
> > correct here. It has path member being /home/mikkel/myproject/trunk
> > and has a URI fragment of 27. Please see
> > http://labs.apache.org/webarch/uri/rfc/rfc3986.html#components.
> >
> > Fragments should be definition point to some resource inside the
> > resource specified by the path element. If we consider the path
> > element as a bzr repo, and not just a file, then I think that a revno
> > fragment is perfectly reasonable.
>
> BTW - and if an app instructed to open file:///foo.txt#27 fails with
> "Can not open /foo.txt#27. No such file or directory." Then that's a
> bug in the app. Because the fragment should not be taken into account
> when resolving the path.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/695003
>
> Title:
> Bzr datasource doesn't use different uri for different events on the same
> branch
>
> Status in Zeitgeist Data-Sources:
> New
>
> Bug description:
> Step to reproduce:
> -commit or pull in a bzr branch ---->the event show up in GAJ
> -commit or pull another time-------> the event doens't show up because GAJ
> discard it (these two events have the same uri: the branch's path one)
>
> RainCT opinion: IMHO the Bazaar plugin should be fixed to give each
> revision a different URI, possibly including the revision ID.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/zeitgeist-dataproviders/+bug/695003/+subscribe
>