Commit Graph

2664 Commits

Author SHA1 Message Date
lxnay
bfc93662fb Entropy/SystemManagerServerInterface:
- reduce complexity of the queue processor as first step to debug multi-user threading issues on the daemon


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2942 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:59:10 +00:00
lxnay
76a4578f1d Entropy/SystemManagerServerInterface:
- revert previous changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2941 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:25:34 +00:00
lxnay
a63c1265f6 Entropy:
- append -O to python interpreter args for equo and spritz


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2940 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:17:30 +00:00
lxnay
76367c132b Entropy/Entropy System Daemon:
- small code refresh
Entropy/SystemManagerServerInterface:
- add thread lock on ServiceInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2939 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-25 19:01:16 +00:00
lxnay
c6266cc39c Entropy/Equo:
- searchOrphans: do not crash on symlink loops
Entropy/RepoInterface:
- when setting up a new gentoo profile and reverting the change, make sure to remove the old make.profile too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2938 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-25 17:25:12 +00:00
lxnay
f2472ca9ac Entropy/SystemManagerExecutorServerRepositoryInterface:
- always flush stdout before closing it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2937 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-20 20:00:21 +00:00
lxnay
730b0f237b Entropy/TODO:
- update TODO :-)
Entropy/GUI Repository Manager:
- rework the structure to avoid calling GUI functions outside the main thread, since GTK libs are not completely thread-safe
- add a bunch of bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2936 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-20 19:56:45 +00:00
lxnay
343bd0835f Entropy/ServerInterface:
- when downloading a remote db revision file, check if the download itself went fine
Entropy/SystemManagerExecutorServerRepositoryInterface:
- remove some debugging output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2935 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-20 19:41:22 +00:00
lxnay
fcb6469432 Entropy/SystemManagerServerInterface:
- load_queue_ext_rc, store_queue_ext_rc: queue_id is int...


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2934 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-18 12:26:45 +00:00
lxnay
97c4d47219 Entropy/ServerInterface:
- when uploading a new database, show a simple package sets summary
Entropy/EquoInterface:
- packageSetList, packageSetSearch: add matchRepo argument


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2933 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-18 12:22:17 +00:00
lxnay
52a7d3c35c Entropy/SystemManagerServerInterface:
- fix remove_queue_ext_rc


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2932 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-18 11:58:40 +00:00
lxnay
2ac214ef2b Entropy/TODO:
- update TODO
Entropy/SocketHostInterface:
 - use the 'with' statement when dealing with code inside thread locks
Entropy/SystemManagerServerInterface:
 - move queue items extended result objects away from the main dictionary, this will fix the performance issue with long queues
 - use the 'with' statement when dealing with code inside thread locks


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2931 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-18 11:51:02 +00:00
lxnay
97b2649568 Entropy/SystemSettings:
- improve internal dictionary handling and move live_unmasking dict away from the persistent dict
Entropy/Spritz:
- improve reliability of the queue clean button, especially when masked packages have been selected


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2930 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 17:29:48 +00:00
lxnay
955514a672 Entropy/Spritz:
- Package Unmask dialog: make sure to only enable valid treeview elements and filter out garbage like parent categories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2929 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 17:02:49 +00:00
lxnay
b7d763ec82 Entropy/Spritz:
- fix Undo Remove feature, should work as expected now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2928 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 16:56:14 +00:00
lxnay
3f912a1b42 Entropy/*:
- do not use mapping objects in function arguments but default them to None and use isinstance instead. Mapping objects can be really b*stards

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2927 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 16:55:47 +00:00
lxnay
26aa683cf6 Entropy/Spritz:
- move the exception window to its own dialogs.py class
- make every Spritz-based app to use ExceptionDialog directly to reduce code duplication
- remove gtkEventThread since it's not needed anymore
- fix traceback string reported by Spritz, which was a bit confusing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2926 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:13:06 +00:00
lxnay
d3580c2ab9 Entropy/Equo:
- always destroy EquoInterface when required at the end of the processing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2925 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:10:36 +00:00
lxnay
11df5aa314 Entropy/SecurityInterface:
- generate advisories cache on every new fetch if xcache is enabled
Entropy/EntropyCacher:
- fine tune while loops


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2924 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:10:01 +00:00
lxnay
f75ae7e975 Entropy/dumpTools: improve module speed by pre-allocating global variables
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2923 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:08:45 +00:00
lxnay
ccea15cbe1 Entropy/Spritz:
- when aborting the queue processing, do not tell the user that there's been an error, PEBKAC is always behind the corner


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2922 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 13:13:29 +00:00
lxnay
c660b43ae7 Entropy/TODO:
- update TODO
Entropy/LogFile:
- standardize time stamp in log files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2921 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 13:05:36 +00:00
lxnay
3c76a90f17 Entropy/Spritz:
- in confirmation dialogs and queue view, show packages marked for removal at the top


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2920 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 11:15:16 +00:00
lxnay
bb3f7cf44d Entropy/Spritz:
- Queue tab: add Clean button to reset the current package queue
- improve package search speed (string.find is ways faster)
- enable list search in the Advisories tab


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2919 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 09:26:17 +00:00
lxnay
f002fbd6dc Entropy/Spritz:
- remove regular exceptions from package search and use simple string matching instead, average users will appreciate


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2918 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:38:04 +00:00
lxnay
66972dd778 Entropy/entropyTools:
- lifobuffer: improve reliability

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2917 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:14:20 +00:00
lxnay
e0eda1afbd Entropy/Spritz:
- improve reliability when dealing with repository changes, always clear all caches and queues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2916 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:09:52 +00:00
lxnay
02f2b17bba Entropy/EquoInterface:
- reorder __init__ calls to avoid possible dumpTools lock under certain circumstances
Entropy/EntropyCacher:
- improve reliability
Entropy/entropyTools/lifobuffer:
- improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2915 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 20:23:40 +00:00
lxnay
8af814a0ae Entropy/Spritz:
- implement settings validator map, to avoid loading invalid settings from the xml file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2914 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 20:19:29 +00:00
lxnay
ca700989f1 Entropy/Spritz:
- when saving preferences to config file, trap IOError and OSError exceptions and return the error message back for further handling (in this case, a simple okDialog call)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2913 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 16:26:32 +00:00
lxnay
13d2fea80b Entropy/translations:
- sync translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2912 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 15:52:08 +00:00
lxnay
582eab8eae Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- remove conflicting_tagged_packages from etpConst and move to a 'per-repo' config file
Entropy/SystemSettings:
- handle new conflicting tagged packages file per-repo
Entropy/RepoInterface:
- when syncing the repo, download the new conflicting tagged packages file
Entropy/ServerInterface:
- handle the new conflicting tagged packages file (upload/download)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2911 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 15:36:54 +00:00
lxnay
83b5030e40 Entropy/ServerInterface:
- when checking if a repository is valid, spawn openServerDatabase with is_new = True


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2910 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:50:50 +00:00
lxnay
141241a1ec Entropy/SystemSettings:
- before bugging the Entropy client database on scan() check if it's valid and initialized


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2909 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:45:01 +00:00
lxnay
2f7c6b8e94 Entropy/TODO:
- update TODO
Entropy/PackageSettings class:
- rename to SystemSettings
- add filesystem directories and its mask parsers
Entropy/*:
- rename PackageSettings to SystemSettings
Entropy/SystemSettings:
- improve parsers code and speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2908 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:40:41 +00:00
lxnay
5f102d28c8 Entropy/Spritz:
- add entropy-repo-manager split executable and desktop file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2907 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:37:04 +00:00
lxnay
6764c067e3 Entropy/conf:
- move etpConst filesystem info settings to config files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2906 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 12:17:07 +00:00
lxnay
4b03355003 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2905 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 17:31:22 +00:00
lxnay
5fcbef3115 Entropy/EquoInterface:
- generate_dependency_tree: added support for PDEPENDs, which will be sorted correctly now, after the package itself
Entropy/EntropyDatabaseInterface:
- new method retrievePostDependencies, useful to retrieve PDEPENDs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2904 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 17:31:06 +00:00
lxnay
fa51b1576c Entropy/Reagent/Community Repos/ServerInterface:
- implement server-side database backup and restore tool
Entropy/EquoInterface:
- list_backedup_client_databases: add client_dbdir parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2903 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 10:46:55 +00:00
lxnay
ce069e52a3 Entropy/translations:
- sync translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2902 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 23:54:23 +00:00
lxnay
aa307fe4b8 Entropy/Spritz:
- implement package sets add/removal feature
- InputDialog: implement ListStore/TreeView for EquoInterface.inputBox()
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2901 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 22:39:39 +00:00
lxnay
7c1623dfc9 Entropy/EquoInterface:
- remove_user_package_set, add_user_package_set: also return a message description of the action taken


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2900 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 22:38:20 +00:00
lxnay
b7a6c7abb4 Entropy/Spritz:
- improve package sets support
- update code to reflect API changes in EquoInterface on packageSetMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2899 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:32:20 +00:00
lxnay
de6d8e7aac Entropy/Spritz:
- elaborateUndoremove: verify that dep_tree dict contains a 0 key before popping it out


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2898 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:31:28 +00:00
lxnay
854595f6cf Entropy/EquoInterface:
- new method add_user_package_set
- new method remove_user_package_set
- change API on packageSetMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2897 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:30:35 +00:00
lxnay
93d8e990b1 Entropy/Spritz:
- add SpritzApplication argument to EntropyPackageView __init__
- spawnUgcUpdate: filter out SystemExit exceptions
- addPackages: improve speed, avoid to trash cache on every call
- preliminary implementation of the package re-masking feature


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2896 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 12:41:53 +00:00
lxnay
927e10b652 Entropy/EquoInterface:
- is_match_unmasked_by_user, is_match_masked_by_user: change returning result and check if match passed is valid
- mask_match: remove EntropyCacher sync from the function, move it to clear_dump_cache


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2895 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 12:36:44 +00:00
lxnay
adac2e6dbf Entropy/EquoInterface:
- properly initialize EntropyCacher during EquoInterface.__init__ to avoid entering in a cache cleanup loop that causes it to be always cleared up
Entropy/EntropyCacher:
- add async argument to the push method to choose if to write the cache directly to disk or queue it into the CacheBuffer


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2894 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 11:05:44 +00:00
lxnay
595488824f Entropy/Spritz:
- fix 'review for install' button style


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2893 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:53:16 +00:00