Commit Graph

620 Commits

Author SHA1 Message Date
lxnay
aeee2d2b22 Entropy/*:
- use print_traceback instead of printTraceback function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3181 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:14:50 +00:00
lxnay
0d1c594fef Entropy/*:
- use is_root instead of isRoot function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3180 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:13:16 +00:00
lxnay
3a97fc8c8b Entropy/Client/Interface:
- split Client class into single ones
- deprecated camelCase methods
- remove a few, unused or useless
Entropy/docs:
- update APICHANGES
Entropy/*:
- adapt the code to work with non-deprecated methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3154 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 19:18:27 +00:00
lxnay
d7151b6555 Entropy/*:
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay
2f70ebdd21 Entropy/TODO:
- update TODO
Entropy/Core/Cache:
- EntropyCacher, fix stop(), non-working hasattr calls due to private class attributes
Entropy/Core:
- Singleton, delete object reference if instance has been destroyed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3139 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 18:49:12 +00:00
lxnay
7a57e1db33 Entropy:
- remove all the compat imports
Entropy/Equo:
- move etpExitMessages to equo.py
Entropy/Activator:
- fix import order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3135 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 23:23:39 +00:00
lxnay
c6794f3d38 Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3124 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 16:01:57 +00:00
lxnay
83e184fc5e Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay
715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
757125acf7 Entropy/entropyTools:
- TimeScheduled: optimize __do_delay
Entropy/EntropyCacher:
- stop(): use Thread.join instead of a while loop
Entropy:
- some minor changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3112 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-05 21:38:23 +00:00
lxnay
c3131dbab9 Entropy/TODO:
- update TODO
Entropy/Singleton:
- when an instance is destroyed, do not reuse it and load a new one instead
Entropy/Eqo:
svn ci -m 

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3109 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-05 11:27:47 +00:00
lxnay
b7020aef97 Entropy/Equo:
- add support for multifetch: --multifetch and --multifetch=N options added


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3086 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 11:21:33 +00:00
lxnay
aefb63a7a3 Entropy/TODO:
- update TODO
Entropy/EquoInterface/ServerInterface:
- they are now singleton, which is a big leap ahead in terms of ease of use
Entropy/Equo/Server:
- text_query, server_query: adapt code to better with singleton EquoInterface/ServerInterface instances
Entropy/Spritz:
- EquoInterface is now singleton, no need to load a global variable
Entropy/urlFetcher:
- add thread_stop_func, speed_limit, OutputInterface parameters to ease behaviour customization
- rename __setup_proxy (private) to _setup_proxy
- add set_id method, useful for thread identification when running multiple instances of urlFetcher
- close() is now a private method
- added thread_stop_func handling, used to stop fetches from other threads
- commit() is now a private method
- add handle_statistics method, if reimplemented, it's handy for controlling dataflow from other threads
Entropy/entropy.py:
- remove some unused functions imported from outputTools
Entropy/EntropyCacher:
- EntropyCacher is now singleton too
Entropy/MultipleUrlFetcher:
- base class that mimics the behaviour of urlFetcher adding the support for multiple simultaneous downloads
Entropy/entropyTools:
- improve xml_from_dict_extended and dict_from_xml_extended functions (add support for None types)
Entropy/entropy.sh:
- pre-declare public functions (pkg_*)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3078 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-27 17:59:34 +00:00
lxnay
d6df167385 Entropy/Clients:
- spawn add_download_stats instead of add_downloads


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3064 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 08:32:39 +00:00
lxnay
9138d410a9 Entropy/*:
- random trivial fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3062 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 23:49:06 +00:00
lxnay
a8d12ac17e Entropy/Equo/text_rescue:
- remove use of etpConst['packagestmpfile']


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3047 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 18:49:06 +00:00
lxnay
cbf0bb9f80 Entropy/text_query:
- show dependency type on dependency list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3042 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 14:06:12 +00:00
lxnay
d57249e737 Entropy/Community Repositories/Server Repositories:
- export support for manual dependencies handling to equo and reagent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3041 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 14:01:46 +00:00
lxnay
4ef1842bdc Entropy/TODO:
- update TODO
Entropy/Equo:
- if no repositories are configured, do not check against removed packages from repo
Entropy/Client:
- when running RepoInterface.sync, OnlineMirrorError exception is no longer raised


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3026 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 13:25:04 +00:00
lxnay
8ed554dca9 Entropy/Equo/text_query:
- searchPackages: handle DatabaseError exceptions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 00:00:19 +00:00
lxnay
dd743eadc1 Entropy/Spritz:
- add support for ChangeLog visualization in package properties window
Entropy/Equo/Server:
- add changelog query support
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3019 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-14 14:42:40 +00:00
lxnay
b9b08b78d4 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- implement config action, emerge --config hooks now implemented
Entropy/Equo:
- add new command equo config for handling packages needing a pkg_config (emerge --config) callback after install


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3006 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-09 00:03:14 +00:00
lxnay
cb509f5d42 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- call preinstall step before preremove and postremove on install actions
Entropy/client:
- move repositories.conf to repositories.conf.example
Entropy:
- use /usr/bin/python2 instead of /usr/bin/python as interpreter to avoid Python 3 issues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2996 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 12:17:27 +00:00
lxnay
97081b2624 Entropy/EntropyCacher:
- make possible to start/stop the thing
Entropy/EquoInterface:
- generate_cache: stop Cacher before purging


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2986 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 13:23:41 +00:00
lxnay
6d6500c24e Entropy/Equo/world:
- small fix, when upgrading branch, do not call RepoInterface.sync if an exception occured
Entropy/RepoInterface/EAPI3:
- handle get_eapi3_local_database correctly, can return None
Entropy/entropyConstants:
- new global method const_set_chmod


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2985 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 12:49:38 +00:00
lxnay
33caba6c93 Entropy/Equo:
- kill all stale threads the hard way when an exception occured
Entropy/Spritz:
- same as above


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2967 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-30 08:14:41 +00:00
lxnay
f998dcbc64 Entropy/TODO:
- update TODO
Entropy/Smart Applications:
- huge code refresh, getting ready for future massive improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2954 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-27 16:03:27 +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
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
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
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
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
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
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
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
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
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
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
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
6f57f6aa88 Entropy/Equo:
- smartpackagegenerator(): fix handlePackage database call values unpack


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2803 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-17 21:23:41 +00:00
lxnay
a411d87aeb Entropy/Equo:
- completely remove PackageMaskingStorage stuff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2801 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-17 12:21:03 +00:00
lxnay
e569355022 Entropy/entropyConstants:
- get rid of etpRemoteFailures and maskingReasonsStorage global variables
Entropy/EquoInterface:
- apply entropyConstants changes
- new method get_masked_package_reason
Entropy/EntropyDatabaseInterface:
- hack to control idpackageValidatorCache size


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2782 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-14 12:42:09 +00:00
lxnay
d0250f7d65 Entropy/Equo:
- fix deptest packages install


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2773 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-12 09:35:21 +00:00
lxnay
daae0887d6 Entropy/PackageInterface:
- new action implemented: source, useful to download packages source code
Entropy/Equo:
- add support for downloading source packages (equo source)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2765 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 23:47:00 +00:00
lxnay
c3fd734fef Entropy/Equo/libtest:
- show broken libraries in alphabetical order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2752 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-09 22:30:08 +00:00
lxnay
f228e68597 Entropy/Equo:
- add support for package sets
Entropy/EquoInterface:
- group initConfig_entropyConstants calls in a stand-alone EquoInterface method
- half-implement in-memory repositories (will be completed upon request)
- atomMatch: support matchRepo for server-repos too
Entropy/TODO:
- update TODO
Entropy/EquoInterface:
- improve packageSetMatch method
- implement packagesExpand and packageSetExpand methods
Entropy/exceptionTools:
- implement new InvalidPackageSet exception


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2738 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-08 12:48:47 +00:00
lxnay
46ba10dcbd Entropy/Equo/Reagent:
- implement package sets search
Entropy/ServerInterface:
- implement packageSetList, packageSetSearch, packageSetMatch methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2737 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-08 10:17:14 +00:00
lxnay
038c0761bd Entropy/Equo:
- fails on wrong extended parameters (like --as instead of --ask)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2719 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:33:49 +00:00
lxnay
a5790ca9df Entropy/Equo:
- fix switchbranch help output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2718 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:24:57 +00:00