Re: [Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2012-02-03 Thread Mikkel Kamstrup Erlandsen
On 2 February 2012 12:49, Siegfried Gevatter rai...@ubuntu.com wrote:
 This doesn't need any changes in libzeitgeist, does it?

Not that I am aware of. It'll just be callers changing the strings
they pass for event/subject attributes. So no API changes.

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Fix Released

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2012-02-03 Thread Siegfried Gevatter
I'm closing the libzeitgeist task then.

** Changed in: libzeitgeist
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  Invalid
Status in Zeitgeist Framework:
  Fix Released

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2012-02-02 Thread Siegfried Gevatter
This doesn't need any changes in libzeitgeist, does it?

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Fix Released

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2012-01-01 Thread Seif Lotfy
** Changed in: zeitgeist
 Assignee: (unassigned) = Siegfried Gevatter (rainct)

** Changed in: zeitgeist
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2011-12-29 Thread Siegfried Gevatter
** Changed in: zeitgeist
Milestone: 0.9.1 = 0.9.0

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Triaged

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2011-12-29 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2011-12-04 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: New = In Progress

** Changed in: zeitgeist
 Assignee: (unassigned) = Siegfried Gevatter (rainct)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  In Progress

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2011-12-04 Thread Launchpad Bug Tracker
** Branch linked: lp:~zeitgeist/zeitgeist/884193

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Triaged

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 884193] Re: Add a way to query only a specific class - and NOT sub classes

2011-12-04 Thread Siegfried Gevatter
** Changed in: zeitgeist
Milestone: None = 0.9.1

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/884193

Title:
  Add a way to query only a specific class - and NOT sub classes

Status in Zeitgeist Client Library:
  New
Status in Zeitgeist Framework:
  Triaged

Bug description:
  The problem is that nfo:FileDataObject (which we use as manifestation
  for all files) has subclasses nfo:RemoteDataObject and
  nfo:EmbeddedFileDataObject which we may not be interested in querying
  for (at least, we're not in Unity). In Unity we qualify our queries by
  restricting them to also have subject prefix file:*.

  Not only does this feel slightly hackish, but it is also slower since
  the indexes are used less effectively. I propose adding a new modifier
  + to the manifestation and interpretation (for both event and
  subject)  that signifies that the field must be matched exactly,
  without subtype expansion.

  ie:

Event.new_for_values (manifestation=FILE_DATA_OBJECT)

  matches also remote- and embedded objects, while prepending a +
  forces the matching to be strict:

Event.new_for_values (manifestation=++FILE_DATA_OBJECT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libzeitgeist/+bug/884193/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp