[Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2011-11-11 Thread Curtis Hovey
** No longer affects: null

-- 
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/612344

Title:
  Blacklist API sucks

Status in Unity:
  Invalid
Status in Unity Files Lens:
  Invalid
Status in Zeitgeist Framework:
  Fix Released
Status in “unity-place-files” package in Ubuntu:
  Invalid

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/612344/+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 612344] Re: Blacklist API sucks

2011-05-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~zeitgeist-packagers/zeitgeist/debian

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Invalid
Status in Unity:
  Invalid
Status in Unity Files Place:
  Invalid
Status in Zeitgeist Framework:
  Fix Committed
Status in “unity-place-files” package in Ubuntu:
  Invalid

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

___
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 612344] Re: Blacklist API sucks

2011-04-07 Thread मनीष सिन्हा
** Changed in: null
   Status: Triaged = 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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Invalid
Status in Unity:
  Invalid
Status in Unity Files Place:
  Invalid
Status in Zeitgeist Framework:
  Fix Committed
Status in “unity-place-files” package in Ubuntu:
  Invalid

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

___
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 612344] Re: Blacklist API sucks

2011-04-05 Thread मनीष सिन्हा
** Branch unlinked: lp:~manishsinha/zeitgeist/fix-blacklist-api

** Branch linked: lp:~manishsinha/zeitgeist/new-blacklist-implementation

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity:
  Invalid
Status in Unity Files Place:
  Invalid
Status in Zeitgeist Framework:
  In Progress
Status in “unity-place-files” package in Ubuntu:
  Invalid

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

___
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 612344] Re: Blacklist API sucks

2011-03-10 Thread Mikkel Kamstrup Erlandsen
** Changed in: unity-place-files
   Status: Triaged = Invalid

** Changed in: unity
   Status: Triaged = Invalid

** Changed in: unity-place-files (Ubuntu)
   Status: Triaged = 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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity:
  Invalid
Status in Unity Files Place:
  Invalid
Status in Zeitgeist Framework:
  In Progress
Status in “unity-place-files” package in Ubuntu:
  Invalid

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

___
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 612344] Re: Blacklist API sucks

2011-02-21 Thread Didier Roche
** Changed in: unity
   Status: New = Triaged

** Changed in: unity-place-files (Ubuntu)
   Status: New = Triaged

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress
Status in “unity-place-files” package in Ubuntu:
  Triaged

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...

___
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 612344] Re: Blacklist API sucks

2011-01-13 Thread Seif Lotfy
** Changed in: zeitgeist
Milestone: 0.7.0 = 0.8.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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an
  asynchrounous-by-nature API? Come on!

  How about changing it to Get, Add, Remove and a changed signal? That
  way it'd be actually usable...



___
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 612344] Re: Blacklist API sucks

2011-01-06 Thread Markus Korn
After re-reading this bugreport, the discussion it includes and the merge 
proposal, I'm still not confident that the API which is proposed here is good 
enough. This is why I started working on a blacklist API spec.
It is still work in progress, and I'm not sure if this points in the right 
direction (comments are welcome) but I at least have a good feeling.

current version is here: http://paste.ubuntu.com/551001/

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



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


Re: [Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2011-01-06 Thread Mikkel Kamstrup Erlandsen
On 6 January 2011 10:43, Markus Korn thek...@gmx.de wrote:
 After re-reading this bugreport, the discussion it includes and the merge 
 proposal, I'm still not confident that the API which is proposed here is good 
 enough. This is why I started working on a blacklist API spec.
 It is still work in progress, and I'm not sure if this points in the right 
 direction (comments are welcome) but I at least have a good feeling.

 current version is here: http://paste.ubuntu.com/551001/

I think there is some good stuff in there Markus, however I'm not
entirely sold on the regex idea for lookups. I'd rather that we just
support the same globbing semantics as we do for event templates; ie
prefix-! for negation and postfix-* for truncation. I guess * will be
the most common case. Not allowing general regexes also motivates app
authors to choose more compatible blacklist ids. Ie, we'll be unlikely
to see:

 org.gnome.bookmarksepiphany
 org.gnome.downloadsepiphany

but we encourage something like:

org.gnome.epiphany.bookmarks
org.gnome.epiphany.downloads

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



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


Re: [Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2011-01-06 Thread मनीष सिन्हा
On Thu, Jan 6, 2011 at 5:29 PM, Seif Lotfy
612...@bugs.launchpad.netwrote:

 While I actually like Markus's proposal alot (kudos on the awesome work) I
 am kind of hesitant on the BlacklistTemplateIdentifier. I feel more
 comfortable using an identifier like actor/#uid as in
 application://firefox.desktop/porn. This allows us to easily trace where
 the blacklist came from.


I guess BlacklistTemplateIdentifier identifies a blacklist template instead
of where it came from. I don't agree on this, ANy blacklist template is a
event at the end of the day, so will have ID set which can be used as
identifier.

Tracing which applications set the application makes sense. We don't need
application://firefox.desktop/porn Why? Identifiers should be atomic if
possible.

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2011-01-06 Thread Markus Korn
My first idea related to RegEx based matches was that I thought we need
something very powerful there. But maybe I'm wrong, So I'm happy to
change my proposal there and only allow prefix-search and negation. And
if we need something more powerful later on we can always change 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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2011-01-06 Thread Markus Korn
@Siegfried, how do you want to identify a template in the collection of
all templates, for example, what do you propose as an argument for the
RemoveTemplate() method?

Do you want automatically generated identifier (e.g. auto-integer-id,
maybe in combination with sender string)? or do you have a system in
mind which does not use identifiers at all?

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-12-17 Thread Manish Sinha
** Changed in: zeitgeist
   Status: Triaged = In Progress

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  In Progress

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-12-15 Thread Manish Sinha
So the final consensus is that the parameter s is any randomly chosen
identifier for an application.


* GetBlacklists() - ({sE})
* AddBlacklist(sE) -- Changed(sE)
* RemoveBlacklist(sE) -- Changed(sE)

I changed the name to Blacklist instead of Template for the method names
as it sounds better and is more clear

-- 
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/612344

Title:
  Blacklist API sucks

Status in NULL Project:
  Triaged
Status in Unity Files Place:
  Triaged
Status in Zeitgeist Framework:
  Triaged

Bug description:
  Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-12-01 Thread Neil J. Patel
** Project changed: unity = null

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

Status in NULL Project: Triaged
Status in Unity Files Place: Triaged
Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-11-26 Thread Manish Sinha
 Let 'E' define the event dbus signature.

 Methods:
  - GetTemplates() - ({sE})
  - AddTemplate(s, E)
  - RemoveTemplate(s)
 Signals:
  - Changed({sE})
 Apps would use their normal namespaced bus names to construct blacklist 
 names. 
 Like 'org.gnome.Epiphany.PrivateBrowsing' for the blacklist template epiphany 
 install when you enter private mode.

I was looking at this bug today and wanted to clarify some points.

1) s =  'org.gnome.Epiphany.PrivateBrowsing'  ??

2) So ({sE}) means each blacklist template associated with the
application which set it

3) RemoveTemplate(s) would clear all the blacklists set by an
application. Should not it be RemoveTemplate(s, E) or RemoveTemplate(s,
{E}) meaning clearing more than one event template at a time

4) Similarly, how about AddTemplate(s, {E}) meaning adding more than one
template at a time

Have some more doubts on Changed() but will ask them after these 4
doubts are cleared.

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

Status in Unity: Triaged
Status in Unity Files Place: Triaged
Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-11-25 Thread Seif Lotfy
** Changed in: zeitgeist
Milestone: 0.7.0 = None

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

Status in Unity: Triaged
Status in Unity Files Place: Triaged
Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-11-10 Thread Didier Roche
** Changed in: unity
   Status: New = Triaged

** Changed in: unity
   Importance: Undecided = Low

** Also affects: unity-place-files
   Importance: Undecided
   Status: New

** Changed in: unity-place-files
   Importance: Undecided = Low

** Changed in: unity-place-files
   Status: New = Triaged

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

Status in Unity: Triaged
Status in Unity Files Place: Triaged
Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-11-09 Thread Seif Lotfy
At some point people will need to blacklist over Unity. I think that should be 
taken in consideration in the new design and development cycle.
Example: What if I don't want my .py files to show up in Unity

** Also affects: unity
   Importance: Undecided
   Status: New

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

Status in Unity: New
Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-10-25 Thread Seif Lotfy
with only a week left and no decision on the development method and API
I postponed the bug to 0.7

** Changed in: zeitgeist
Milestone: 0.6 = 0.7

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-09-29 Thread Seif Lotfy
thekorn it sucks, maybe. but do we need a new API for this, that's what I'm 
not sure about
seiflotfy thekorn, u can see mhr3 and kamstrup got into the details of it
seiflotfy they wrote the whoel api actually
m4n1sh_ seiflotfy: look into #ubuntu-classroom
* mvo has quit (Quit: Ex-Chat)
RainCT thekorn: what we should really add is AddBlacklistRule and 
DeleteBlacklistRule
thekorn RainCT: yeah,
thekorn after reading this bug, I tend to agree that we need some changes
thekorn mikkel's proposal seems close to perfect to me
thekorn so, whoever what's to work on it, should start with some paperwork,
thekorn we are not ready to do the implementation yet
seiflotfy thekorn, AFAIK m4n1sh is on it
seiflotfy thekorn, also m4n1sh will do the implementation of it and propose 
it for merge
seiflotfy he is very good with python
seiflotfy maybe better than you :P
m4n1sh_ seiflotfy: dont set the expectations too high
thekorn I'm sure he is.
seiflotfy m4n1sh, its marketing :P
m4n1sh_ yeah. I was going through the code. The progress is slow as  I am 
also on zg-sharp packaging and fixing the issues with meebey
thekorn but I would like to design it properly first,
thekorn to avoid extra roubndtrips of work
m4n1sh_ thekorn: sure!
m4n1sh_ seiflotfy: fuck man. OMG question on #ubuntu-classroom
seiflotfy thekorn, lets use the first draft from mikkel
m4n1sh_ seiflotfy: over to classroom
thekorn seiflotfy: why?
thekorn does it cover all possible usecases of the blacklist feature
* RainCT doesn't like kamstrup's proposal of having names for them
seiflotfy RainCT, why not
thekorn haha, that's actually the only thing I *like* about this proposal ;)
seiflotfy thekorn, +1
RainCT because it's not necessary and may cause conflicts between apps who 
have the same rule with different names (so one says it's enabled and another 
one it isn't)
m4n1sh_ thekorn: RainCT seiflotfy I like kamstrup idea
seiflotfy thekorn, whats up we have been getting along much better lately
seiflotfy we tend to agree on stuff
seiflotfy that is new to me
RainCT what could be nice is a free form string for users to write their own 
name/description for the rule and maybe a boolean to enable/disable it 
(although i'm not sure if this later thing should really be in ZG or be a GUI 
thing)
thekorn RainCT: if we set a naming convention, which is clearly defined 
somewhere, than it should be perfectly ok
RainCT no, there is no naming convention for blacklists
thekorn say who?
thekorn says
RainCT Me.
thekorn ah ok.
RainCT The Blacklist Management GUI would just resort to using unique IDs for 
user-defined stuff, which would be completely meaningless.
thekorn in fact, in mikkels proposal the names are free form strings
* meebey leaves work
RainCT And the private browsing example isn't something which should be 
handled by blacklist but by the epiphany plugin itself
RainCT and if you want to disable it centralized you can do it over the 
DataSourceRegistry and then the epiphany plugin is told it's been disabled
thekorn ok, as you can all see, there needs to be alot of discussion
RainCT ^^
thekorn so I don't expect we can do a change of the BL API until end of this 
year
thekorn and as it seems that people consider the BL featur as important
seiflotfy thekorn, we can work it off iteratively in a private branch
thekorn people == our user
seiflotfy until we feel comfortable with it
seiflotfy so maybe wokring on ti now is a good idea
* kep (~...@78.90.207.121) has joined #zeitgeist
RainCT So this will be the new Origin discussion, until I get tired of it and 
say do whatever you want and we have the ORM experience all over again?
* RainCT hides
kep hi
thekorn RainCT: that's exactly the problem
RainCT Hey kep
kep I am new to IRC chat
thekorn hi kep
kep can you tell me iz this a zeitgeist chat room
kep and where are you from if so
thekorn RainCT: and this is why the approach code until noone complains is 
bad
RainCT kep: Yes, but another Zeitgeist (http://zeitgeist-project.com/)
seiflotfy thekorn, actually i dont mind it
kep can you give me more info
kep I am from Bulagaria
kep and I am just finding some info on IRC so I can find ppl
seiflotfy thekorn, well having some code that is better than the current one 
is always an option
seiflotfy i think we know what we have now is not working
seiflotfy and what kamstrup suggested is a better solution although not 
perfect
thekorn seiflotfy: but we are not there yet to understand what is better
seiflotfy with the high demand i think its clear we need to work on it
seiflotfy and working code samples is never a bad idea
seiflotfy AFAIK you are more convinced when you see working code
thekorn I disagree
seiflotfy thekorn, explain please
thekorn design happens on paper, and not in code
thekorn and it's about designing a feature
thekorn seiflotfy: please remember all the wiki work, over weeks which was 
done by us to define our current DBUS api
thekorn the only thing which speeded things up was the in person meeting of 
us at the hackfest

[Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2010-09-28 Thread Manish Sinha
If we had huge number of blacklists. This can be possible since people don't 
want fine grained privacy. We can set the default modes and give them option.
E.g. For chrome, we will log all the events in normal browsing and no logging 
in incognito mode. Additionally people sometimes watch pr0n in normal mode too 
and would like to block the logging based on a list of websites (app adult 
based).

So I recommend,one more methods
Search(E)

Additionally, does s stand for the application's D-Bus signature? I got
a bit confused

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-09-28 Thread Manish Sinha
Meh, type in last comment
scrap This can be possible since people don't want fine grained privacy

I meant 
This can be possible since many people do want fine grained privacy

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-09-22 Thread Seif Lotfy
Go Manish! Go Manish! Its your birthday :P
(please ignore this comment)

** Changed in: zeitgeist
 Assignee: Seif Lotfy (seif) = Manish Sinha (manishsinha)

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



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


Re: [Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2010-09-10 Thread Siegfried Gevatter
2010/9/10 Manish Sinha 612...@bugs.launchpad.net:
 Will this clear all the blacklists? I just want to remove one specific
 blacklist

Ask for the list of blacklisting rules, remove the one you don't want
from it, and set it again (with that rule removed).

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



___
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 612344] Re: Blacklist API sucks

2010-09-10 Thread Mikkel Kamstrup Erlandsen
@Manish: Right, that will clear all blacklists I am afraid. Which is
also partially why we have this bug open to come up with something which
is easier for apps to handle.

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

Status in Zeitgeist Framework: Triaged

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



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


Re: [Zeitgeist] [Bug 612344] Re: Blacklist API sucks

2010-08-06 Thread Mikkel Kamstrup Erlandsen
On 5 August 2010 23:04, Siegfried Gevatter rai...@ubuntu.com wrote:
 2010/8/5 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
 Apps would use their normal namespaced bus names to construct blacklist
 names. Like 'org.gnome.Epiphany.PrivateBrowsing' for the blacklist
 template epiphany install when you enter private mode.

 Why would it use blacklisting for that? The extension should just stop
 sending events.

Because it's mode complex that way? ;-)

The other reason would be that you could have third party apps easily
control the privacy mode.

___
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 612344] Re: Blacklist API sucks

2010-08-05 Thread Mikkel Kamstrup Erlandsen
So if we have 10 clients monitoring the blacklist the daemon it will
result in 10 GetTemplates() calls on the bus? ;-) How about putting the
new list of templates in the Changed() signal? That way there'll be no
extra noise on the buzz when the list changes.

Anyway, I am still not entirely convinced about this API. I think
clients need a way to identify which blacklists come from where. I think
maybe a naming scheme would provide a better API. Like fx:

Let 'E' define the event dbus signature.

Methods:
 - GetTemplates() - ({sE})
 - AddTemplate(s, E)
 - RemoveTemplate(s)
Signals:
 - Changed({sE})

Apps would use their normal namespaced bus names to construct blacklist
names. Like 'org.gnome.Epiphany.PrivateBrowsing' for the blacklist
template epiphany install when you enter private mode.

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

Status in Zeitgeist Framework: New

Bug description:
Guys, GetBlacklist and SetBlacklist (without any signals) for an 
asynchrounous-by-nature API? Come on!

How about changing it to Get, Add, Remove and a changed signal? That way it'd 
be actually usable...



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