Commit Graph

9547 Commits

Author SHA1 Message Date
Fabio Erculiani 8ebf92f17b [entropy.db.sqlite] enable _SCHEMA_2010_SUPPORT by default. 2012-08-10 10:24:57 +02:00
Fabio Erculiani b65962382d [entropy.db.mysql] migrate to oursql (from MySQLdb) 2012-08-10 10:09:43 +02:00
Fabio Erculiani e24bf78b63 [entropy.db.mysql] finalize schema (data types) 2012-08-10 10:09:18 +02:00
Fabio Erculiani 2bac80d76a [entropy.db.sqlite] catch OperationalError instead of Error 2012-08-09 17:25:11 +02:00
Fabio Erculiani 37e1d0f465 [entropy.db.sqlite] always enforce LIMIT 1 when using Cursor.fetchone()
Certain adapters don't clear cursor data automatically if fetchone()
is used and LIMIT 1 is not enforced.
2012-08-09 15:05:06 +02:00
Fabio Erculiani ea17f96d99 [entropy.db.sqlite] check if settings table exists before spawning schema updates 2012-08-09 15:04:16 +02:00
Fabio Erculiani 690984caf4 [entropy.db.sqlite] fix query statement 2012-08-09 13:40:24 +02:00
Fabio Erculiani 7e6c9530c1 [entropy.db] move alignDatabases() to entropy.db.skel class 2012-08-09 13:40:04 +02:00
Fabio Erculiani 4ddc162428 [entropy.db.mysql] increase datatypes' size 2012-08-09 09:45:59 +02:00
Fabio Erculiani 462d98e4a8 Tagging Entropy version 132 132 2012-08-09 01:07:50 +02:00
Fabio Erculiani 56be066b5a Release Entropy 132 2012-08-09 01:07:48 +02:00
Fabio Erculiani ac77ed6d9e [entropy.db.mysql] tweak some schema values 2012-08-09 01:01:41 +02:00
Fabio Erculiani deb5947452 [entropy.db] expose EntropyRepositoryCacher via entropy.db 2012-08-09 01:01:41 +02:00
Fabio Erculiani d71bf47e7d [entropy.client.package] relax "path" contraints and be tolerant against broken pkgs 2012-08-08 21:49:53 +02:00
Fabio Erculiani 34d464e7c6 [Rigo] PreferencesTreeView: add explicit "_" import 2012-08-08 21:42:10 +02:00
Fabio Erculiani c9a5f2481d [Rigo] implement Application Groups support (in:groups keyword) 2012-08-08 21:41:41 +02:00
Fabio Erculiani ad74ade00c [entropy.db] add MySQL connector (barely tested !!!) 2012-08-08 18:47:25 +02:00
Fabio Erculiani a1e7d92bfb [entropy.db.sqlite] trivial fixes (remove imports, catch IOError, etc) 2012-08-08 17:10:20 +02:00
Fabio Erculiani a7f958afd1 [entropy.db] split entropy.db package module into cache and sqlite 2012-08-08 11:11:42 +02:00
Fabio Erculiani d7e33693b4 [equo] entropy-client-services has been replaced by rigo-daemon, update error message string 2012-08-08 00:41:23 +02:00
Fabio Erculiani 0c15d697a3 [entropy.spm] PortagePlugin._extract_pkg_metadata_content: filter out empty path strings 2012-08-08 00:37:40 +02:00
Fabio Erculiani 3ffbbcb49d [entropy.client.package] _generate_content_file: do not catch Exception
Move the os.remove() call to the finally block and detect failures via
a status boolean. This way, warnings won't be raised as exceptions.
2012-08-07 22:02:37 +02:00
Fabio Erculiani 58cb8adf96 [entropy.client.package] _generate_content_safety_file: do not catch Exception
Move the os.remove() call to the finally block and detect failures via
a status boolean. This way, warnings won't be raised as exceptions.
2012-08-07 22:02:21 +02:00
Fabio Erculiani 3294f9963b Tagging Entropy version 1.0_rc131 1.0_rc131 2012-08-05 22:33:42 +02:00
Fabio Erculiani 55472f77e2 Release Entropy 1.0_rc131 2012-08-05 22:33:41 +02:00
Fabio Erculiani aa6edfccdc [Rigo] update translations 2012-08-05 22:32:50 +02:00
Fabio Erculiani 122396705d [Rigo] update translations 2012-08-03 16:31:46 +02:00
Fabio Erculiani 2b40390983 [Rigo] update rigo.pot 2012-08-03 16:31:01 +02:00
Fabio Erculiani 89b114f005 [Rigo*] implement mirrors optimization feature, see bug #3438 2012-08-03 16:26:52 +02:00
Fabio Erculiani 107e55a029 [RigoDaemon] fix polkit "Manage Configuration" message field (gnome-polkit guys are idiot!) 2012-08-03 16:17:21 +02:00
Fabio Erculiani cc93458fd1 [entropy.client.methods] optimize reorder_mirrors() configuration commit code
Move reorder_mirrors() logic to benchmark_mirrors() for easier code
reuse. Avoid touching Repository objects and clearing SystemSettings
metadata but rather atomically update them in place.
2012-08-03 15:41:39 +02:00
Fabio Erculiani 87f882357f [entropy.client.methods] reorder_mirrors: make it atomic 2012-08-03 14:19:02 +02:00
Fabio Erculiani af5a573d23 [entropy.client.methods] reorder_mirrors: enforce a reasonable upper bound timeout value 2012-08-03 14:18:23 +02:00
Fabio Erculiani 4a77fd59dd [entropy.client.methods] fix typos in docstring 2012-08-03 14:17:58 +02:00
Fabio Erculiani 5a24d2c174 [entropy.fetchers] make possible to override the default timeout 2012-08-03 14:15:42 +02:00
Fabio Erculiani a7358e63eb [entropy.client.methods] split internal add/remove repository functions 2012-08-03 13:50:11 +02:00
Fabio Erculiani 76e045d7b6 [entropy.client.methods] add "commit" keyword arg to reorder_mirrors() 2012-08-03 13:28:27 +02:00
Fabio Erculiani da334ec92e [Rigo] always convert dbus.Int and dbus.String into native Python object types 2012-08-03 06:30:05 +02:00
Fabio Erculiani b98e219bcb [kernel-switcher] migrate to argparse 2012-08-02 20:56:11 +02:00
Fabio Erculiani 1c7ec96ed9 [kernel-switcher] add --from-running switch support
If this switch is provided, kernel-switcher tries to look for
reverse dependencies of the currently running kernel (uname -r)
during the selection of external package modules that require to
be installed for the new kernel.
2012-08-02 20:15:00 +02:00
Fabio Erculiani f6ccf316e3 [Rigo] speedup recent searches ListStore (using a set()) and avoid duplicates 2012-08-02 12:30:53 +02:00
Fabio Erculiani 429c1f6be5 [Rigo] set a custom window title for each Rigo View SM State 2012-08-02 12:18:53 +02:00
Fabio Erculiani 57021922ed [Rigo] s:transactions:transitions 2012-08-02 12:09:43 +02:00
Fabio Erculiani c6829f479a [Rigo] enable (eventually) the search entry text completion 2012-08-02 12:01:46 +02:00
Fabio Erculiani 0683d9d38c [Rigo] rework special search keywords, make them more intuitive 2012-08-02 11:58:43 +02:00
Fabio Erculiani d0c367ba88 [Rigo] rewrite special search functions lookup using a hash table 2012-08-02 11:47:14 +02:00
Fabio Erculiani eb71741246 [entropy.client.package] remove tmp_file_content in the finally statement
Doing so in the Exception "handler" code messes up the traceback
information useful for debugging other possible issues.
2012-08-02 00:36:19 +02:00
Fabio Erculiani 5042023481 Tagging Entropy version 1.0_rc130 1.0_rc130 2012-08-01 22:41:09 +02:00
Fabio Erculiani 8dc597c19d Release Entropy 1.0_rc130 2012-08-01 22:41:09 +02:00
Fabio Erculiani eee8beeaf6 [todo] update TODO 2012-08-01 22:40:42 +02:00