Commit Graph

2664 Commits

Author SHA1 Message Date
lxnay
f5c18873fa Entropy/Equo:
- when restoring a database backup, check if the choice selected by the users is valid


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2892 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:49:36 +00:00
lxnay
78bb31fed8 Entropy/Equo:
- do not use text_configuration module but load EquoInterface instead when caching on exit
- small syntax updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2891 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:47:13 +00:00
lxnay
91bee1c1c7 Entropy/EquoInterface:
- some code style updates
- fix packageSetMatch for repository-based package sets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2890 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:51:05 +00:00
lxnay
bb1da44206 Entropy/Spritz:
- make package sets menu popping up correctly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2889 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:49:04 +00:00
lxnay
189daebd37 Entropy/translations:
- update Catalan


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2888 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:48:21 +00:00
lxnay
9912dee8c8 Entropy/translations:
- final sync


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2887 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:47:35 +00:00
lxnay
f5fb4a768a Entropy/entropyConstants:
- move cache files extension string to etpConst
- fix the Entropy code accordingly
Entropy/EntropyCacher:
- add sync method to force a cache flush
- implement a thread lock to be thread-safe
Entropy/EquoInterface:
- fix a bug with cache cleaning after masking/unmasking packages
- scan PackageSettings at every instance load to ensure proper settings reads
- get_masked_packages_tree: some speed improvements
- is_match_masked_by_user: new method, makes easy to check if a package has been masked by the user
- is_match_unmasked_by_user: same as above, new method
- mask_match, unmask_match: rewrite the management of package masking and make possible to mask a package from the interface too (only unmask was previously implemented)
- mask_match, unmask_match: make possible to mask/unmask by key + slot coupling (app-foo/foo:2)
Entropy/EntropyDatabaseInterface:
- improve speed of idpackageValidator child methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2886 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 21:27:32 +00:00
lxnay
30ed52ccc7 Entropy:
- move etpConst['packagemaskingreasons'] to EquoInterface.PackageSettings dict
- add reverse dict in EquoInterface.PackageSettings to standardize the package masking identifiers


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2885 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 10:30:56 +00:00
rogerc
5452d87beb update ca.po
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2884 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 10:06:50 +00:00
lxnay
d70fca2121 Entropy/Spritz:
- fix possible hangs when output string is longer than the maximum terminal width
- create common method gtkLoop to be used as GUI refresher
- improve add_atoms_to_queue speed and add matches parameter to provide already matched packages directly
- implement deptest and libtest features


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2883 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 00:03:56 +00:00
lxnay
7de3b90137 Entropy/EquoInterface:
- libraries_test: return dict as first tuple element if ldconfig is not found


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2882 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 00:01:16 +00:00
lxnay
8775fb28b8 Entropy:
- when removing items from sets, use their discard()
Entropy/EquoInterface:
- libraries_test: add an abort hook
- clear_dump_cache: catch OSError exceptions on os.remove


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2881 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-10 22:38:18 +00:00
lxnay
9d3277e00a Entropy:
- when using EntropyCacher, always try to pass it a shadow copy of the object


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2880 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:43:29 +00:00
lxnay
c53824ebd9 Entropy/dumpTools:
- also catch RuntimeError exceptions on dumpobj


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2879 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:42:56 +00:00
lxnay
f45b8f8e16 Entropy/deptest:
- check if packages proposed for install can be updated

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2878 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:42:13 +00:00
lxnay
16cc327185 Entropy/Spritz:
- more debugging info on the queue processor


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2877 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:41:32 +00:00
lxnay
23e75cb12c Entropy/Spritz:
- libtest, initial implementation, more tomorrow

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2876 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:48:13 +00:00
lxnay
2ffb634db2 Entropy/Spritz:
- implement deptest feature
- stub implementation of libtest


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2875 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:45:52 +00:00
lxnay
d06bd54864 Entropy/TODO:
- reorganize TODO list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2874 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:45:24 +00:00
lxnay
e5e0d6cc10 Entropy/dumpTools:
- loadobj: since we are multithreaded, a file can be removed between the availability check and the open() call, so, trap IOError and why not, also OSError exceptions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2873 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:42:56 +00:00
lxnay
77fcacda83 Entropy/Equo:
- deptest: improve reliability and dependencies match


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2872 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:40:50 +00:00
lxnay
9da61a6251 Entropy/translations:
- syncing translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2871 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 21:56:57 +00:00
lxnay
e407217e37 Entropy/Notification Applet:
- change config file name
Entropy/TODO:
- updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2870 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 20:13:43 +00:00
lxnay
272f80ee08 Entropy/Spritz:
- allow colors customization


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2869 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 20:02:43 +00:00
lxnay
4bf5d1d093 Entropy/entropyTools:
- add two new methods to convert dictionaries to XML and vice versa: xml_from_dict_extended, dict_from_xml_extended


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2868 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 15:56:43 +00:00
lxnay
5f72a95146 Entropy/ServerInterface:
- openServerDatabase: add is_new parameter to allow skipping critical checks for new databases
Entropy/EquoInterface:
- list_repo_packages_in_category: return list instead of set
Entropy/EntropyDatabaseInterface:
- searchPackagesByCategory: improve code syntax


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2867 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 15:56:09 +00:00
lxnay
050370b0ee Entropy/Spritz:
- move all the colors variable to SpritzConf
- improve speed on the per-category packages view and enable rubber banding
- other misc changes to improve speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2866 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 14:18:31 +00:00
lxnay
6124bcf10a Entropy/EquoInterface:
- atomMatch: some misc syntax adjustments
Entropy/RepoInterface:
- fix database download when Entropy API = 1


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2863 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-07 20:15:08 +00:00
lxnay
d0ff5ba4a9 Entropy/EntropyDatabaseInterface:
- createCountersTable: do not drop table
- retrievePackageSets: if packagesets table is not available, return {}
- databaseStructureUpdates: - re-add counters and packagesets table check


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2862 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:31:26 +00:00
lxnay
9a19a9f69c Entropy/TODO:
- update TODO
Entropy/Equo/Reagent/Activator:
- add short options (-p,-a,-v,-q,-pavq)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:24:25 +00:00
lxnay
ecf484f529 Entropy/EquoInterface:
- retrieveInstallQueue: if treepackages doesn't contain 0 as key, return empty list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2860 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:23:30 +00:00
lxnay
1eda423bd7 Entropy/EntropyCacher:
- introduce new cache management class, featuring async writes
Entropy/EquoInterface:
- make EquoInterface using EntropyCacher, gaining 15% more speed on non-cached atomMatch calls
- improve destroyer (destroy())
- atomMatch: reorganize cache hashing
Entropy/FileUpdatesInterface:
- improve scanfs method syntax
- improve load_cache reliability
Entropy/SecurityInterface:
- __set_advisories_cache: make it a public method (set_advisories_cache)
Entropy/ServerInterface:
- implement destroyer (destroy())
- ensure_paths: check if repository is in etpConst['server_repositories'] before spawning
Entropy/EntropyDatabaseInterface:
- fetchSearchCache: improve speed
- storeSearchCache: improve speed
- atomMatchFetchCache: improve speed
- atomMatchStoreCache: improve speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2859 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:56:27 +00:00
lxnay
98ed3fdc07 Entropy/entropyTools:
- TimeScheduled: add set_delay method
- TimeScheduled: remove try/except from do_delay, no longer needed
- lifobuffer: improve speed, add method clear and make it multithreading aware


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2858 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:48:56 +00:00
lxnay
357b2fe754 Entropy/outputTools:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2857 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:47:06 +00:00
lxnay
36136c3a72 Entropy/Equo:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2856 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:35 +00:00
lxnay
384cb91025 Entropy/Reagent:
- use SystemExit instead of sys.exit()
Entropy/Activator:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2855 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:09 +00:00
lxnay
e968c54eb6 Entropy/Spritz:
- spritz python executable: use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2854 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:42:28 +00:00
lxnay
b8e601c483 Entropy/Spritz:
- remove killThreads, no longer needed thanks to SystemExit exceptions
- make rubber banding and package actions menu working the right way(TM)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2853 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:41:57 +00:00
lxnay
6ac41432c2 Entropy/EntropyDatabaseInterface:
- insertDependencies(): improve speed
- insertPackageSets(): improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2852 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 22:25:11 +00:00
lxnay
f083b686ca Entropy/EntropyDatabaseInterface:
- make insertPackageSets method working
- improve speed of listBranchPackagesTbz2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2851 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 22:16:03 +00:00
lxnay
9a7243351b Entropy/ServerInterface:
- add parameter dbconn to update_database_package_sets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2850 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:38:12 +00:00
lxnay
cb5f2a8bbb Entropy/EntropyDatabaseInterface:
- addPackageToInstalledTable(): code style update
- insertPackageSets(): do not use an iter function


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2849 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:22:33 +00:00
lxnay
031045bca5 Entropy/EntropyDatabaseInterface:
- improve insertPackageSets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2848 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:04:47 +00:00
lxnay
315453ef4c Entropy/Spritz:
- fix rubber banding feature


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2847 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 15:07:43 +00:00
lxnay
b6341b436c Entropy/PortageInterface:
- fix package sets retrieval


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2846 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 22:56:05 +00:00
lxnay
4162925768 Entropy/PortageInterface:
- fix package sets retrieval


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2845 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 22:51:17 +00:00
lxnay
684f0da008 Entropy/translations:
- update Spanish translation
- update Italian translation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2844 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 21:07:04 +00:00
lxnay
bf90788585 Entropy/translations:
- sync and update,
svn ci -m Entropy/translations:

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2843 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 14:10:57 +00:00
lxnay
d4b919f1fa Entropy/TODO:
- update TODO
Entropy/EntropyDatabaseInterface:
- new method retrieveUnusedIdpackages
Entropy/EquoInterface:
- new method unused_packages_test(), self explanatory
Entropy/Equo:
- new command 'unusedpackages', useful to search unused dependencies/packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2842 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 14:10:08 +00:00
lxnay
f876e7909e Entropy/PackageInterface:
- __move_image_to_system: consider systemroot when generating my_remove_content


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2840 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-03 22:03:53 +00:00