Merge lp:~manishsinha/zeitgeist/fix-blacklist-api into lp:zeitgeist/0.1
Status: | Rejected |
---|---|
Rejected by: | Siegfried Gevatter |
Proposed branch: | lp:~manishsinha/zeitgeist/fix-blacklist-api |
Merge into: | lp:zeitgeist/0.1 |
Diff against target: |
240 lines (+136/-27) 2 files modified
_zeitgeist/engine/extensions/blacklist.py (+112/-18) test/blacklist-test.py (+24/-9) |
To merge this branch: | bzr merge lp:~manishsinha/zeitgeist/fix-blacklist-api |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Markus Korn | Needs Information | ||
Seif Lotfy | Needs Fixing | ||
Review via email: mp+45013@code.launchpad.net |
Description of the change
Manish took the initiative to reimplemented the blacklist according to https:/
All test cases work and I think we should start reviewing the code here (i know its not the purpose of a merge request).
Unmerged revisions
- 1655. By Manish Sinha (मनीष सिन्हा)
-
Fixed unit tests and cleaned the blacklist extension
- 1654. By Manish Sinha (मनीष सिन्हा)
-
Rebase from trunk
- 1653. By Manish Sinha (मनीष सिन्हा)
-
Fix the logical error when comparing blacklist templates
- 1652. By Manish Sinha (मनीष सिन्हा)
-
Fixed blacklist-test.py's 2/4 tests - testClear and testBlacklistUi
ngClientDBusInt erface In testSetOne even though blacklist is being set, it cannot be retreived.
testAplyBlacklist fails becuase testSetOne fails - 1651. By Manish Sinha (मनीष सिन्हा)
-
Added RemoveTemplate and fixed all the names and functionality
- 1650. By Manish Sinha (मनीष सिन्हा)
-
Got the Blacklist extension working. It can query all blacklists, set blacklists and block events which match the blacklists
- 1649. By Manish Sinha (मनीष सिन्हा)
-
Commit to exhibit that bug 691167 bug is real
line 15-19 in the patch is unnecessary it can be replaced at line 15 with load(file( CONFIG_ FILE))
---
self._blacklist = pickle.
---
line 52 in the patch can be removed and is not needed, since internally we do not need to make event dbus send-able unless we are sending them out.
line 82 in the patch can be removed and is not needed, since internally we do not need to make event dbus send-able unless we are sending them out.