zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04807
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 396: Some little fixes.
------------------------------------------------------------
revno: 396
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Sun 2012-02-12 21:08:32 +0100
message:
Some little fixes.
- Fix mimetypes.py ("Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT").
- Print message when performing a database backup.
- Improve NEWS entry for previous release (mention new schema version)
- Fix file name in comment.
modified:
NEWS
extensions/benchmark.vala
python/mimetypes.py
src/utils.vala
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'NEWS'
--- NEWS 2012-02-10 14:42:54 +0000
+++ NEWS 2012-02-12 20:08:32 +0000
@@ -42,9 +42,10 @@
Engine:
- - The language for extensions has changes from Python to Vala.
+ - Changed the language for extensions from Python to Vala.
- The post_get_events hook is no longer supported.
- The FTS and Histogram extensions are now shipped together with Zeitgeist.
+ - Introduced new DB schema (version 5).
---------------------------------------------------------------------
---------------------------------------------------------------------
=== modified file 'extensions/benchmark.vala'
--- extensions/benchmark.vala 2012-01-26 10:08:09 +0000
+++ extensions/benchmark.vala 2012-02-12 20:08:32 +0000
@@ -1,4 +1,4 @@
-/* fts.vala
+/* benchmark.vala
*
* Copyright © 2011 Collabora Ltd.
* By Seif Lotfy <seif@xxxxxxxxx>
=== modified file 'python/mimetypes.py'
--- python/mimetypes.py 2012-02-06 10:11:17 +0000
+++ python/mimetypes.py 2012-02-12 20:08:32 +0000
@@ -218,12 +218,12 @@
SCHEMES = tuple((
("file://", Manifestation.FILE_DATA_OBJECT),
- ("http://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("https://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("ssh://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("sftp://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("ftp://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("dav://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("davs://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
- ("smb://", Manifestation.FILE_DATA_OBJECT.REMOTE_DATA_OBJECT),
+ ("http://", Manifestation.REMOTE_DATA_OBJECT),
+ ("https://", Manifestation.REMOTE_DATA_OBJECT),
+ ("ssh://", Manifestation.REMOTE_DATA_OBJECT),
+ ("sftp://", Manifestation.REMOTE_DATA_OBJECT),
+ ("ftp://", Manifestation.REMOTE_DATA_OBJECT),
+ ("dav://", Manifestation.REMOTE_DATA_OBJECT),
+ ("davs://", Manifestation.REMOTE_DATA_OBJECT),
+ ("smb://", Manifestation.REMOTE_DATA_OBJECT),
))
=== modified file 'src/utils.vala'
--- src/utils.vala 2012-02-06 16:19:27 +0000
+++ src/utils.vala 2012-02-12 20:08:32 +0000
@@ -124,6 +124,8 @@
original = File.new_for_path (get_database_file_path ());
destination = File.new_for_path (get_database_file_backup_path ());
+ message ("Backing up database to \"%s\" for schema upgrade...",
+ get_database_file_backup_path ());
original.copy (destination, FileCopyFlags.OVERWRITE, null, null);
}