Commit Graph

9402 Commits

Author SHA1 Message Date
Fabio Erculiani afd2608153 [Rigo] rewrite NoticeBoard TreeView behaviour
Previously, the Notice object was shown directly inside the
cell renderer, which made things a bit clumsy and buggy.
Now, notices are loaded through xdg-open in html format.
2012-07-14 18:19:59 +02:00
Fabio Erculiani 3912ca0471 [RigoDaemon] _noticeboards_available_signal: convert dbus.String() to Python unicode 2012-07-14 18:19:42 +02:00
Fabio Erculiani 7135ba3a01 [RigoDaemon] make sure to keep the Installed Packages Repository closed
This helps in case of uncommitted transactions that could cause
any sqlite3 db consumer to lock until timeout with "Database is locked".
2012-07-14 16:10:18 +02:00
Fabio Erculiani 0ce6633733 [entropy.client] add public method: close_installed_repository() 2012-07-14 16:05:50 +02:00
Fabio Erculiani 941bfaf1e8 [services] optimize execution time of _expand_cpvs() 2012-07-09 19:32:34 +02:00
Fabio Erculiani 9227b17744 [services] portage-repository-converter: add support to Portage md5 eclass cache 2012-07-09 19:32:10 +02:00
Fabio Erculiani 9b673fad9b [entropy.output] fix is_stdout_a_tty when sys.stdout has no fileno() 2012-07-07 18:15:34 +02:00
Fabio Erculiani bdcc0821fc Tagging Entropy version 1.0_rc124 1.0_rc124 2012-07-07 14:11:59 +02:00
Fabio Erculiani 89713f2528 Release Entropy 1.0_rc124 2012-07-07 14:11:58 +02:00
Fabio Erculiani 0e54ec96ec Revert "[entropy.server] keep repo closed during early init stages"
This reverts commit 4c8d6c74e3.
It is no longer needed.
2012-07-07 14:05:57 +02:00
Fabio Erculiani a312a6146e [entropy.server] reimplement connection pooling
This commit should hopefully fix any deadlock reported in
Entropy Server due to weird sqlite3 behaviours when multiple
idle connections are open on the same file
2012-07-07 13:58:25 +02:00
Fabio Erculiani b8976f4c0c [entropy.db] EntropyRepository: expose connection and cursor pools
This commit makes possible for subclasses to reimplement the
connection and cursor pool logic.
2012-07-07 13:29:29 +02:00
Fabio Erculiani 017f2b162c [entropy.db] EntropyRepository: hold __connlock during pool setup
This commit ensures that __connlock is held during the whole
__cursor_cache and __connection_cache initialization. This avoids
any possible race condition, especially on dbapi2.connect() which
could cause weird random anomalies
2012-07-07 09:34:21 +02:00
Fabio Erculiani b9c7a2dd92 Tagging Entropy version 1.0_rc123 1.0_rc123 2012-07-06 21:43:32 +02:00
Fabio Erculiani 9d2b329836 Release Entropy 1.0_rc123 2012-07-06 21:43:31 +02:00
Fabio Erculiani 4c8d6c74e3 [entropy.server] keep repo closed during early init stages 2012-07-06 21:30:22 +02:00
Fabio Erculiani 15349565a9 [entropy.*] rework EntropyRepository.commit() usage
Using the new baseinfo/extrainfo SCHEMA, several deadlocks were
found when using Eit (thus Entropy Server), due to aggressive
sqlite3 object caching.
This commit removes almost every implicit commit() call from the
EntropyRepository code, forcing the caller to properly handle
transactions. This will hopefully fix any deadlock problem observed
inside our chroots.
2012-07-06 21:10:56 +02:00
Fabio Erculiani 38373a3428 Tagging Entropy version 1.0_rc122 1.0_rc122 2012-07-02 23:41:32 +02:00
Fabio Erculiani 01a8f3e586 Release Entropy 1.0_rc122 2012-07-02 23:41:31 +02:00
Fabio Erculiani fb5cb00b9d [entropy.db] make sure to commit() at the end of createAllIndexes()
It has been found that with the new baseinfo, extrainfo SCHEMA,
createAllIndexes() deadlocks at the ANALYZE statement. Committing
any previous transaction before calling ANALYZE fixes the issue.
2012-07-02 23:40:03 +02:00
Fabio Erculiani 0596e92e53 [Rigo] handle the case where get_visible_range() returns None 2012-07-02 12:05:39 +02:00
Fabio Erculiani 6c89b1ec0f Tagging Entropy version 1.0_rc121 1.0_rc121 2012-07-02 11:47:10 +02:00
Fabio Erculiani 703f2ff929 Release Entropy 1.0_rc121 2012-07-02 11:47:09 +02:00
Fabio Erculiani 3a07ed4483 [client] update translations 2012-07-02 11:46:47 +02:00
Fabio Erculiani 1897e961ff [Rigo] update translations 2012-07-02 11:46:27 +02:00
Fabio Erculiani fdb655348e [Rigo] disable the "Preferences" button when an activity is in progress 2012-07-02 00:01:50 +02:00
Fabio Erculiani e1a0ca94c5 [Rigo] update rigo.pot 2012-07-01 23:43:59 +02:00
Fabio Erculiani b29764443b [Rigo] implement Repository management 2012-07-01 23:41:07 +02:00
Fabio Erculiani 853359c208 [entropy.client] make sure to drop any reference to disabled repo when enabling 2012-06-28 15:47:24 +02:00
Fabio Erculiani 18f422a680 [entropy.client] bump configuration file mtime when enabling/disabling repositories
This is useful for any mtime-based cache around. os.rename() doesn't
affect mtime.
2012-06-28 15:46:07 +02:00
Fabio Erculiani 83c69da974 [entropy.core] SystemSettings: remove mtime cache for repositories.conf.*
The code only checked for repositories.conf mtime, completely ignoring
any mtime change inside repositories.conf.d/. Drop for now.
2012-06-28 15:45:09 +02:00
Fabio Erculiani cc9f70d9c4 [equo] update .pot 2012-06-27 09:46:21 +02:00
Fabio Erculiani 6cc0b57e8b [equo] fix typo in string, close bug 3436 2012-06-27 09:45:44 +02:00
Fabio Erculiani a1ba8b983a enable baseinfo-extrainfo-2010 database schema by default
After 2 years, we are ready to enable it by default
2012-06-21 11:47:59 +02:00
Fabio Erculiani 1f83831ed8 ignore hidden files when generating the SPM config files list 2012-06-21 11:47:55 +02:00
Fabio Erculiani 979369d5d5 [entropy.spm] add support for ENTROPY_*DEPEND variables inside ebuilds 2012-06-10 12:28:47 +02:00
Fabio Erculiani ed688f2ef5 [client] update entropy.pot 2012-06-09 14:35:59 +02:00
Fabio Erculiani e29c4e888c Tagging Entropy version 1.0_rc120 1.0_rc120 2012-06-06 14:54:44 +02:00
Fabio Erculiani 595d5ed7c4 Release Entropy 1.0_rc120 2012-06-06 14:54:21 +02:00
Fabio Erculiani 4efd1a4c89 [Rigo] add fallback icons (KDE icon set might not provide them) 2012-06-06 14:38:05 +02:00
Fabio Erculiani 79bd3fa839 Tagging Entropy version 1.0_rc119 1.0_rc119 2012-06-04 12:13:07 +02:00
Fabio Erculiani 959abae8b2 Release Entropy 1.0_rc119 2012-06-04 12:12:46 +02:00
Fabio Erculiani 859cb562ed [entropy.spm] PortagePlugin: rewrite _bump_vartree_mtime(), fix Portage cache corruption
It has been found that pkg vdb entry mtime was not properly updated,
which resulted in the following Portage cache corruption:

>>> Auto-cleaning packages...
portage: COUNTER for net-libs/gnutls-2.12.18 was corrupted; resetting to value of 0
2012-06-04 12:09:13 +02:00
Fabio Erculiani 773797c76f [Rigo] do not override DATA_DIR and ICON_PATH with relative paths, fix bug 3370 2012-06-04 10:26:14 +02:00
Fabio Erculiani 66a4783d20 Tagging Entropy version 1.0_rc118 1.0_rc118 2012-06-03 23:15:53 +02:00
Fabio Erculiani 8da07e1f03 Release Entropy 1.0_rc118 2012-06-03 23:15:30 +02:00
Fabio Erculiani 4d3de3b731 [Rigo] fix markup escape issue in Notice Board view 2012-06-03 23:14:48 +02:00
Fabio Erculiani bba78d129c Tagging Entropy version 1.0_rc117 1.0_rc117 2012-05-28 15:46:33 +02:00
Fabio Erculiani 1e4718de7a Release Entropy 1.0_rc117 2012-05-28 15:46:27 +02:00
Fabio Erculiani a3eebe993d [client] update translations 2012-05-28 15:45:16 +02:00