Commit Graph

6830 Commits

Author SHA1 Message Date
Fabio Erculiani 34c8672638 [entropy.db] fix isjustname() usage in EntropyRepository.atomMatch(), and fix isjustname() itself 2010-10-17 15:00:10 +02:00
Fabio Erculiani ad5b770cf3 [entropy.db] isjustname: rework logic, make "389-admin" return True 2010-10-17 14:37:02 +02:00
Fabio Erculiani 6b8aadcc48 Tagging Entropy version 0.99.50.6 0.99.50.6 2010-10-10 18:00:15 +02:00
Fabio Erculiani 9028e4bd2b [todo] update TODO 2010-10-10 17:59:58 +02:00
Fabio Erculiani 2ee7096434 [entropy.const] const_kill_threads: do not try to kill own thread, it won't work 2010-10-10 17:57:05 +02:00
Fabio Erculiani cfbb0909c5 [services] add client-updates-daemon wrapper (which sets LC_*), move real executable to /usr/libexec, close bug #1880 2010-10-10 17:55:21 +02:00
Fabio Erculiani 4300322176 [entropy.client] rename Client.clientLog into Client.logger 2010-10-09 23:23:28 +02:00
Fabio Erculiani 8781d9d928 [todo] update TODO 2010-10-09 13:55:57 +02:00
Fabio Erculiani 255b2fe468 [reagent,activator] cleanup respective modules, trivial fixes 2010-10-09 13:55:24 +02:00
Fabio Erculiani 7dec719efc [sulfur.views] catch IOError when calling resize_image 2010-10-09 13:35:09 +02:00
Fabio Erculiani 118db0340c [todo] update TODO 2010-10-09 01:17:54 +02:00
Fabio Erculiani 7c2d053366 [entropy.core,entropy.server] implement support for per-repository packages mirrors support. 2010-10-09 01:17:23 +02:00
Fabio Erculiani 01dc775a90 Tagging Entropy version 0.99.50.5 0.99.50.5 2010-10-08 20:47:43 +02:00
Fabio Erculiani 0b72e1836c [entropy.db] do not use _connection().commit() directly 2010-10-08 20:47:21 +02:00
Fabio Erculiani 8d2a7e8a60 Tagging Entropy version 0.99.50.4 0.99.50.4 2010-10-08 20:44:46 +02:00
Fabio Erculiani 76873c4e6a [entropy.db] improve reliability of transactions, always commit when updating settings 2010-10-08 20:42:43 +02:00
Fabio Erculiani 0cfccd4267 [entropy.conf] uniform setting keys (keeping backward compat) 2010-10-08 18:20:24 +02:00
Fabio Erculiani fb344f9890 Tagging Entropy version 0.99.50.3 0.99.50.3 2010-10-08 18:19:38 +02:00
Fabio Erculiani 1a423ed034 [update TODO] 2010-10-08 18:19:15 +02:00
Fabio Erculiani acaeb3eb0a [entropy.client.interfaces.package] do not use temporary unpack paths with ":" in it.
sys-libs/glibc got confused. Thanks to Diego Elio Pettenò for
finding this out.
2010-10-08 18:13:14 +02:00
Fabio Erculiani ff36b9d6f9 [equo] implement support for interactive merge 2010-10-07 16:54:56 +02:00
Fabio Erculiani cb0fd53361 [entropy.db] remove implementation specific arguments from EntropyRepositoryBase.exportRepository() 2010-10-04 23:57:59 +02:00
Fabio Erculiani 83cf08a6e6 [entropy.client.interfaces.db] when updating repositories, after the actual update, always validate database file 2010-10-04 20:09:20 +02:00
Fabio Erculiani 5feff074ba [entropy.services.interfaces] catch socket.error exception when polling on ssl 2010-10-04 19:54:04 +02:00
Fabio Erculiani 043def01fa [sulfur] validate repositories every time application cache is reset 2010-10-04 19:47:24 +02:00
Fabio Erculiani ad1611c2fd [tests] add new EntropyRepository SQL schema tests 2010-10-04 19:18:01 +02:00
Fabio Erculiani da5b3bac0b [entropy.client.services.ugc.interfaces] cache is_repository_eapi3_aware() result for good sake 2010-10-04 17:40:07 +02:00
Fabio Erculiani 0b97b900a4 [sulfur] execute installed packages repository backup without blocking the UI, introduce thread lock to avoid concurrency issues. 2010-10-04 17:15:51 +02:00
Fabio Erculiani 625a9279ac [entropy.client.interfaces] improve (and change API) backup_repository() and restore_repository() reliability. Make them safe to use. 2010-10-04 16:58:49 +02:00
Fabio Erculiani e09b199f70 [entropy.db] make importRepository() atomic 2010-10-03 15:49:45 +02:00
Fabio Erculiani ea63fe2b16 [entropy.db] improve reliability of contentDiff(), generating random temp. table in a smarter way 2010-10-03 15:48:48 +02:00
Fabio Erculiani 440f379966 [entropy.db] EntropyRepository(Base): importRepository is now a static method 2010-10-03 14:28:12 +02:00
Fabio Erculiani 8da4e66b36 [entropy*] before calling Client.backup_repository() or Client.restore_repository(), make sure that transactions are committed 2010-10-03 13:53:45 +02:00
Fabio Erculiani 2a531dd014 [entropy.db] introduce SQL schema changes in EntropyRepository (small API break)
New SQL schema changes have been introduced to EntropyRepository,
keeping them disabled by default (older Entropy client have to be
flushed out first). The aim is to improve performance avoiding
extra SQL joins on baseinfo and extrainfo tables, thus removing
"categories", "flags", "licenses" tables (which missed external
keys also).
This upgrade is completely backward compatible and new schema is detected
at runtime, so the whole class can work with old and new one transparently.
The downside is that listPackageIdsInCategoryId() is no longer available and
has been replaced by a more generic listPackageIdsInCategory().
This new SQL schema will be hopefully enabled before the end of 2011.
2010-10-03 11:33:16 +02:00
Fabio Erculiani 770721dae4 [tests] add EntropyRepository.getSetting() test 2010-09-29 20:51:28 +02:00
Fabio Erculiani bd9b4a9000 [entropy.db] EntropyRepository: fix schema_revision comparison in _databaseStructureUpdates 2010-09-29 20:49:38 +02:00
Fabio Erculiani 9adc3fff28 [entropy.db] EntropyRepository: run schema update routines only when schema_revision stored in db differs from the one stored in the class obj. 2010-09-29 20:35:43 +02:00
Fabio Erculiani a42c9c72ed [entropy.db] raise KeyError exception the new way 2010-09-29 20:25:41 +02:00
Fabio Erculiani d219de58a1 [po] update Italian translation 2010-09-29 13:50:07 +02:00
Fabio Erculiani d83e644825 [entropy.client] improve usability of rescue and resurrect tools 2010-09-29 12:19:23 +02:00
Fabio Erculiani 71200c2d9f [todo] update TODO 2010-09-28 11:13:43 +02:00
Fabio Erculiani 2531888516 [entropy.db] deprecate EntropyRepositoryBase.commitChanges() in favour of commit() 2010-09-28 11:13:12 +02:00
Fabio Erculiani 7734745bce Revert "[entropy.server] sync package sets at every commit hook (to avoid unaligned data)"
This reverts commit ab16a7e6d7.
2010-09-28 09:52:20 +02:00
Fabio Erculiani 4aad2397a5 [entropy.db] EntropyRepository: make _migrateCountersTable() atomic 2010-09-28 09:36:25 +02:00
Fabio Erculiani ffd8cf0f5c [conf] add http://mirror.agooga.ru to repositories.conf.example 2010-09-28 08:29:29 +02:00
Fabio Erculiani 6e639a3844 [todo] update TODO 2010-09-27 23:01:01 +02:00
Fabio Erculiani fdd75c87b3 [sulfur] fix speed regression caused by the removal of fixed_height_mode from our main gtk.TreeView 2010-09-27 23:00:09 +02:00
Fabio Erculiani 3ac93c51a9 [sulfur] move package installation logic (from argv) in a less annoying place, improving startup speed 2010-09-27 22:58:38 +02:00
Fabio Erculiani 41deaba72c [entropy.spm] remove environment_update() arguments, unwanted. 2010-09-27 21:35:29 +02:00
Fabio Erculiani 5d4f7c18eb [entropy.client.interface.methods] optimize reorder_mirrors() do not execute ping test function on the same mirror more than once 2010-09-27 21:34:30 +02:00