Commit Graph

2218 Commits

Author SHA1 Message Date
lxnay 2827b21133 Entropy/i18n:
- update COPYRIGHT header


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3199 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 19:44:20 +00:00
lxnay a198077f8b Entropy/bash based trigger executor:
- move from libraries to misc


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3198 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 19:43:49 +00:00
lxnay 8408277697 Entropy/db:
- __handle_found_ids_match: don't raise exception, just warn the user and step over, when an invalid dep string is found


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3197 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 19:42:56 +00:00
lxnay 1128f6a079 Entropy:
- add preliminary python lzma library


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3196 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 11:02:31 +00:00
lxnay e2a6451c29 Entropy/Cache:
- add docstrings
- code style updates
- pylint test passed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3194 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-16 10:03:45 +00:00
lxnay e16748511a Entropy/i18n lib:
- only catch ImportError and OSError exceptions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3193 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 20:06:36 +00:00
lxnay cae364a427 Entropy/Core/SystemSettings:
- reset all the metadata when clear is called
- make most of the properties private
- add docstring
- refactor some code to help readability and score with pylint
Entropy/Client/Interfaces/Methods:
- unmask_match_generic, mask_match_generic, don't call internal SystemSettings properties directly but use new available methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3192 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 20:05:55 +00:00
lxnay 9a4d0f971a Entropy/db/LocalRepository:
- __handle_found_ids_match: remove atom parameter, not needed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3191 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 20:03:39 +00:00
lxnay 3136c25db3 Entropy/*:
- use save_repository_settings instead of saveRepositorySettings function (deprecated)
- use _save_repositories_content instead of _saveRepositoriesContent function (deprecated)
- use write_parameter_to_file instead of writeParameterToFile function (deprecated)
- use write_new_branch instead of writeNewBranch function (deprecated)
- use is_entropy_package_file instead of isEntropyTbz2 function (deprecated)
- use collect_linker_paths instead of collectLinkerPaths function (deprecated)
- use collect_paths instead of collectPaths function (deprecated)
- use list_to_utf8 instead of listToUtf8 function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3188 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:49:53 +00:00
lxnay 97590a6cad Entropy/*:
- use spawn_function instead of spawnFunction function (deprecated)
- use uncompress_tar_bz2 instead of uncompressTarBz2 function (deprecated)
- use bytes_into_human instead of bytesIntoHuman function (deprecated)
- use hide_ftp_password instead of hideFTPpassword function (deprecated)
- use get_file_unix_mtime instead of getFileUnixMtime function (deprecated)
- use get_random_temp_file instead of getRandomTempFile function (deprecated)
- use get_file_timestamp instead of getFileTimeStamp function (deprecated)
- use convert_unix_time_to_human_time instead of convertUnixTimeToHumanTime function (deprecated)
- use get_current_unix_time instead of getCurrentUnixTime function (deprecated)
- use get_year instead of getYear function (deprecated)
- use convert_seconds_to_fancy_output instead of convertSecondsToFancyOutput function (deprecated)
- use get_repository_settings instead of getRepositorySettings function (deprecated)
- use write_ordered_repositories_entries instead of writeOrderedRepositoriesEntries function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3187 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:45:55 +00:00
lxnay 90967de156 Entropy/*:
- use compare_versions instead of compareVersions function (deprecated)
- use entropy_compare_versions instead of entropyCompareVersions function (deprecated)
- use get_newer_version instead of getNewerVersion function (deprecated)
- use get_entropy_newer_version instead of getEntropyNewerVersion function (deprecated)
- use filter_duplicated_entries instead of filterDuplicatedEntries function (deprecated)
- use extract_ftp_host_from_uri instead of extractFTPHostFromUri function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3186 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:37:29 +00:00
lxnay 6956cfdffc Entropy/*:
- use extract_xpak instead of extractXpak function (deprecated)
- use read_xpak instead of read_xpak function (deprecated)

- use compare_md5 instead of compareMd5 function (deprecated)
- use sort_update_files instead of sortUpdateFiles function (deprecated)
- use allocate_masked_file instead of allocateMaskedFile function (deprecated)
- use extract_elog instead of extractElog function (deprecated)
- use remove_package_operators instead of removePackageOperators (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3185 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:04:28 +00:00
lxnay 0765fb8b1f Entropy/*:
- use extract_xpak instead of extractXpak function (deprecated)
- use read_xpak instead of read_xpak function (deprecated)

- use backup_client_repository instead of backupClientDatabase (deprecated)
- use unpack_bzip2 instead of unpackBzip2 (deprecated)
- use unpack_gzip instead of unpackGzip (deprecated)
- use unpack_xpak instead of unpackXpak (deprecated)
- use suck_xpak instead of suckXpak (deprecated)
- use append_xpak instead of appendXpak (deprecated)
- use aggregate_edb instead of aggregateEdb (deprecated)
- use extract_edb instead of extractEdb (deprecated)
- use remove_edb instead of removeEdb (deprecated)
- use create_hash_file instead of createHashFile (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3184 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:27:14 +00:00
lxnay 07d9fe86bf Entropy/*:
- use print_exception instead of printException function (deprecated)
- use application_lock_check instead of applicationLockCheck function (deprecated)
- use get_random_number instead of getRandomNumber function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3183 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:19:13 +00:00
lxnay fac809a8d5 Entropy/*:
- use print_traceback instead of printTraceback function (deprecated)
- use get_traceback instead of getTraceback function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3182 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:16:09 +00:00
lxnay 997007d036 Entropy/Tools:
- rename every camel case function inside tools
- keep API for backward compatibility
- improve performance of package version sorting functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3178 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:04:13 +00:00
lxnay 497cc88b4b Entropy/db:
- remove some unused stuff
- do not use c as variable name


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3177 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 23:06:20 +00:00
lxnay 977d2612e6 Entropy/Client/Interfaces/Package:
- call Trigger.run() only when there are triggers to run


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3176 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 23:05:33 +00:00
lxnay db9a20cfd4 Entropy/Client/Interfaces/Trigger:
- fix OpenGL setup when using NVIDIA or ATI libGL


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3175 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 23:04:45 +00:00
lxnay 50f2096b1f Entropy/Client/Interfaces:
- split remaining classes in __init__ into separate files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3174 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 22:19:55 +00:00
lxnay f536f6a13f Entropy/Server:
- fix warnings import and stuff
Entropy/Client:
- same as above


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3173 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 18:30:08 +00:00
lxnay 28426955cc Entropy/Client/Interfaces:
- split Client and Package classes into separate files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3171 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:48:37 +00:00
lxnay e2205fe4e4 Entropy/Server/Interfaces/Main:
- deprecated openServerDatabase in favour of open_server_repository
- deprecated doServerDatabaseSyncLock in favour of do_server_repository_sync_lock
Entropy/*:
- update code, use new methods listed above


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3169 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:22:02 +00:00
lxnay ebd9a7558f Entropy/Server/Interfaces:
- split subpackage into modules


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3167 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:10:38 +00:00
lxnay 9478153553 Entropy/Server:
_ interfaces is now a sub-package

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3166 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:02:23 +00:00
lxnay d494ddc013 Entropy/Transceivers/Server Interface:
- move FileTransceiver from entropy.server.interfaces.MirrorsServer to entropy.transceivers under the FtpServerHandler name


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3164 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:38:17 +00:00
lxnay 4d57fd5e87 Entropy/i18n compat module:
- provide entropy_i18n module for backward compatibility


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3162 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:35:48 +00:00
lxnay c8273c31e0 Entropy/Const:
- remove unused constants and comments


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3161 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:34:31 +00:00
lxnay 6898bd926f Entropy/Dump:
- move code comments inside functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3160 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:33:57 +00:00
lxnay 7b0deacfb2 Entropy/Cache:
- add is_started method to EntropyCacher class


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3159 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:33:14 +00:00
lxnay a413fc733f Entropy/Transceivers/FtpInterface:
- fix transfer speed info and its output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3158 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 23:57:07 +00:00
lxnay 898bd4aeed Entropy/TODO:
- update TODO
Entropy/Server:
- merge server config files into one (server.conf), reduce complexity
Entropy/Transceivers:
- FtpInterface add ETA and current up/down speed information


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3157 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 23:49:19 +00:00
lxnay 3d08f2b2b7 Entropy/Client/Interface:
- became a subpackage containing split Client (EquoInterface) classes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3155 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 19:47:59 +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 e689462717 Entropy/Services/UGC:
- add a stats map to make do_download_stats undestand from where the call comes from


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3153 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 15:07:52 +00:00
lxnay 5692e31979 Entropy/Client/Interfaces/Package:
- hopefully for the last time, fixing sources_fetch_step


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3152 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:49:57 +00:00
lxnay e1c33398f1 Entropy/Client/Interfaces/Package:
- fix sources_fetch_step, again


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3151 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:38:59 +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 6deea18956 Entropy/Transceivers/FtpInterface:
- fix is_file_available, make it working on vsftp servers too

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3149 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:47:26 +00:00
lxnay 0958913fde Entropy/Misc/rssFeed:
- fix module import issue


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3148 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:24:50 +00:00
lxnay 281e11f7e6 Entropy/Misc/rssFeed:
- fix module import issue


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3147 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:17:41 +00:00
lxnay 8165dafa9a Entropy:
- move all the code inside the entropy package
- add compat modules outside
Entropy/Transceivers/FtpInterface:
- fix is_file_available to work on more systems


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3146 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:10:08 +00:00
lxnay f6d3a4717a Entropy/Server:
- module import updates
- show exception when trapping it in add_packages_to_repository


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3145 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 22:39:14 +00:00
lxnay 22c1470446 - Server: do_download_stats, use get_datetime instead of get_date
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3144 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 22:09:36 +00:00
lxnay 5e8dda37a3 Entropy/Services/UGC:
- fix typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3143 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 22:02:52 +00:00
lxnay c369a0acf7 Entropy/Services/UGC:
- fix typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3142 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 22:00:40 +00:00
lxnay edce9b5c03 Entropy/Services/UGC:
- update structure of entropy_distribution_usage
- other minor changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3141 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 21:57:14 +00:00
lxnay 8297695411 Entropy/package:
- move entropyConstants to entropy.const (keep entropyConstants module for backward compat)
- move entropyTools to entropy.tools (keep entropyTools module for backward compat)
- move outputTools to entropy.output (keep outputTools module for backward compat)
- move dumpTools to entropy.dump (keep dumpTools for backward compat)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3140 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 19:15:46 +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 f7ae50a83a Entropy/QAInterface:
- fix syntax error


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3137 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-09 11:03:59 +00:00