Commit Graph

7365 Commits

Author SHA1 Message Date
lxnay 4629810b63 Entropy/urlFetcher:
- add a new error status "-4", meaning timeout error, move KeyboardInterrupt error code to -100
Entropy/EquoInterface:
- properly handle timeout errors without discarding data downloaded until then


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3061 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 19:46:52 +00:00
lxnay 68731000d2 Entropy/urlFetcher:
- download: when running in debug mode, print exceptions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3060 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 19:17:37 +00:00
lxnay 183e33e996 Entropy/EquoInterface:
- fetch_file: when running in debug mode, print the exception occured in urlFetcher, if any


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3059 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 19:03:27 +00:00
lxnay 2349b21596 Entropy/UGCClientInterface:
- ease add_download_stats, removing branch and release_string parameters
Entropy/RepositorySocketClientCommands:
- ugc_do_download_stats: make it automatically retreiving branch and release string


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3058 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 18:56:49 +00:00
lxnay 9a82bb2cd8 Entropy/DistributionUGCInterface:
- get_entropy_release_strings_id: fix another typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3057 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 18:37:26 +00:00
lxnay 3b81ecbacb Entropy/DistributionUGCInterface:
- fix do_download_stats, wrong variable reference


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3056 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 18:34:45 +00:00
lxnay 5f21d3d658 Entropy/DistributionUGCInterface:
- fix is_user_ip_available_in_entropy_distribution_usage SQL query


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3055 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 18:32:17 +00:00
lxnay 15b6f3e829 Entropy/TODO:
- update TODO
Entropy/urlFetcher:
- minor code style update
Entropy/EntropyCacher:
- rename Cacher to __cacher, making it a private method
- make critical variables private
Entropy/EquoInterface:
- get_unsatisfied_dependencies: improve speed, commenting out disabled code, add support for negative entropy revision on dependency strings, improve caching speed
- get_available_packages_chash: improve speed
- extract_pkg_metadata: kernel dependent packages now get the kernel dependency with revision == -1 (to force the installation of the very latest kernel revision)
Entropy/RepoInterface:
- handle_eapi3_database_sync: clear database cache before calling database_checksum
Entropy/DistributionUGCInterface:
- new tables entropy_distribution_usage, entropy_branches, entropy_release_strings, entropy_ip_locations, thus add support for Earth latitude, longitude mapping and detailed distribution usage stats
- add support for geo-tagging IP addresses (retrieving latitude, longitude)
- code style updates (long SQL queries on multiple rows)
- removed deprecated method do_download
- speed improvements of update_download
- a bunch of new methods, relevant one is do_download_stats (which is a more complex version of do_downloads)
Entropy/DistributionUGCCommands:
- removed support for ugc:do_download, deprecated
- added support for ugc:do_download_stats (see above)
Entropy/RepositorySocketClientCommands:
- added support for ugc_do_download_stats (see above)
- removed support for ugc_do_download (see above)
Entropy/UGCClientInterface:
- removed support for add_download (see above)
- added support for add_download_stats (see above)
Entropy/EntropyDatabaseInterface:
- database_checksum: cache result (through live_cache) to RAM
- atomMatch: filter out invalid atomRev values, < 0


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3054 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 18:05:03 +00:00
lxnay c3116942db Entropy:
- adding REQS file, listing the required dependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3053 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 17:36:27 +00:00
lxnay dd9864e06d Entropy/Spritz:
- fix SystemSettings call, scan is no more exported, use clear() instead


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3052 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 17:35:57 +00:00
lxnay 490bf4408a Entropy:
- adding playground dir, will contain random scripts


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3051 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 17:35:22 +00:00
dyingmuppet 8593839df3 git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3050 cd1c1023-2f26-0410-ae45-c471fc1f0318 2009-02-22 13:29:00 +00:00
lxnay 8e61eee2f6 Entropy/urlFetcher:
- make internal methods private
- fix resume support when file is already completely downloaded


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3049 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 19:59:08 +00:00
lxnay 0c3ec7a16d Entropy/urlFetcher:
- fix resume support
Entropy/ut:
- trivial changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3048 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 19:48:12 +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 f1fe528c55 Entropy/entropyConstants:
- remove etpConst['packagestmpfile']
Entropy/entropyTools:
- getRandomNumber: if /dev/urandom is not available, fallback to random.randint
Entropy/*:
- when strictly required, if /dev/urandom is not available, fallback to random.randint


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3046 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 18:47:50 +00:00
lxnay 4865a100b8 Entropy/UT:
- fix urlFetcher test


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3045 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-19 16:15:20 +00:00
lxnay 20d5f806bf Entropy:
- add unit test dir


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3044 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-19 14:18:42 +00:00
lxnay bb2f9a1580 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3043 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 22:37:38 +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 589b6408d5 Entropy/ServerInterface:
- package_injector: add manual dependencies notification
Entropy/EntropyDatabaseInterface:
- retrievePostDependencies, retrieveManualDependencies: use retrieveDependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3040 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 14:00:47 +00:00
lxnay 87a711fe35 Entropy/TextInterface:
- inputBox: implemented support for list input items


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3039 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 13:46:33 +00:00
lxnay 0449b67878 Entropy/EquoInterface:
- _lookup_system_mask_repository_deps: tweak behaviour
- get_unsatisfied_dependencies: avoid issues with mapping types


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3038 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 11:59:40 +00:00
lxnay 8c555c7717 Entropy/EntropyDatabaseInterface:
- add support for manual dependencies on addPackage
- new handy method insertManualDependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3037 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 01:01:09 +00:00
lxnay 683f43779e Entropy/entropyTools:
- new functions get_operator, catsplit, isvalidatom


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3036 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 00:57:41 +00:00
lxnay 9dbbb33eaa Entropy/EntropyDatabaseInterface:
- fix areIDPackagesAvailable method


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3035 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 18:27:22 +00:00
lxnay 81e95deb43 Entropy/SystemSettings:
- SystemSettings is now a dict subclass



git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3034 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 18:19:03 +00:00
lxnay 79b700261f Entropy/EntropyDatabaseInterface:
- reintroduce previously removed methods:
  listIdPackagesInIdcategory
  listIdpackageDependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3032 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 12:45:56 +00:00
lxnay ce6cd09cca Entropy/config files:
- move to 4 branch by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3031 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 12:26:32 +00:00
lxnay 29517ae14b Entropy/rssFeed:
- fix AttributeError exception when xml doesn't have any description tag


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3030 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 11:22:46 +00:00
lxnay 06e606f4d3 Entropy/TODO:
- update TODO
Entropy/rssFeed:
- fix AttributeError exception when xml doesn't have any description tag


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3029 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 11:19:51 +00:00
lxnay 918cbdcc21 Entropy/EntropyDatabaseInterface:
- query style update
- new method retrieveManualDependencies, will be implemented the support of manually set dependencies soon
- some other misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3028 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 22:06:20 +00:00
lxnay 028910d672 Entropy/Spritz:
- package searches are now case-insensitive


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3027 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 22:01:30 +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 d041277cec Entropy/EntropyCacher:
- automatically copy data object on push(), there is no need to do weird things by caller anymore
Entropy/*:
- update EntropyCacher.push calls
Entropy/EquoInterface:
- atomMatch: add extra cache validation layer to make sure to not return crap
- atomMatch: improve speed by moving open_db function definition outside atomMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3025 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 10:38:12 +00:00
lxnay fd54977057 Entropy/translations:
- update Spanish translation
- re-sync all


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3024 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 09:54:35 +00:00
lxnay d50eab4dd2 Entropy/EntropyDatabaseInterface:
- add atomMatchValidateCache on atomMatch which verifies if the cached is completely valid
- new method areIDPackagesAvailable
Entropy/RepoInterface:
- if EAPI3 sync fails (read: exceptions), remove the repository to avoid inconsistencies
- _construct_paths: use a dictionary-based index
Entropy/EquoInterface:
- validate EquoInterface.atomMatch results in generate_dependency_tree
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3023 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 00:04:47 +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 6be51918bf Entropy/env file:
- add CONFIG_PROTECT entry for /etc/entropy


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3021 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-14 23:59:26 +00:00
lxnay 29f5c44ee7 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3020 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-14 18:54:43 +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 998c692f7b Entropy/EntropyDatabaseInterface:
- remove several unused methods
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3018 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-11 20:45:26 +00:00
lxnay ec168afc1d Entropy/EquoInterface:
- rename some methods, we are entering in a final stabilization process
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3017 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-11 19:21:03 +00:00
lxnay 05adba8c37 Entropy/ServerInterface:
- add_packages_to_repository: did not respect repo parameter causing packages to be added to the wrong repository


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3016 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-11 14:21:12 +00:00
lxnay cc45297622 Entropy/Notification Applet:
- update pixmaps (gfx)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3014 cd1c1023-2f26-0410-ae45-c471fc1f0318
0.51.0
2009-02-10 20:34:08 +00:00
lxnay e21c716d74 Entropy/Notification Applet:
- rewrite GUI part using new PyGTK API and widgets
- all the reported issues have been fixed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3013 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-10 20:19:42 +00:00
lxnay b7ae71fe74 Entropy/dumpTools:
- dumpobj: fix directory permissions setup


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3012 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-10 18:32:07 +00:00
lxnay cadf2ce5d4 Entropy/QAInterface:
- get_missing_rdepends: try to remove useless dependencies at the end

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3011 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-10 17:54:51 +00:00
lxnay b85bac4b97 Entropy/QAInterface:
- get_missing_rdepends: try to remove useless dependencies at the end

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3010 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-10 17:52:34 +00:00