Commit Graph

86 Commits

Author SHA1 Message Date
Fabio Erculiani
e57b064121 [entropy*] big caching routines cleanup, drop old and duplicated code 2010-01-02 15:00:27 +01:00
Fabio Erculiani
f8c1b987da [equo] ETP_LOGLEVEL_NORMAL is not available anymore 2009-12-29 19:38:36 +01:00
Fabio Erculiani
8046b29491 [entropy*] several updates, etpCache removal, code cleanup, API changes 2009-12-29 19:36:32 +01:00
Fabio Erculiani
f9f3d4c729 [entropy.*] reorganize etpCache (remove/move stuff in respective classes) drop old vars from entropy.const 2009-12-28 07:58:19 +01:00
Fabio Erculiani
fb9f180f8c [equo] some more code cleanup and polishing 2009-12-23 21:51:47 +01:00
Fabio Erculiani
1597ea2fc4 [equo] some more code cleanup and polishing 2009-12-22 20:29:08 +01:00
Fabio Erculiani
1aedb9fafb [entropy*] several code cleanup, tweakings and small API changes/polishing 2009-12-22 17:02:50 +01:00
Fabio Erculiani
7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani
32230aee42 [entropy] add support for build dependencies, entropy will now store them in repos (future task: make possible to install build deps too) 2009-12-20 22:32:28 +01:00
Fabio Erculiani
8638002785 [equo] fix "equo --info" 2009-12-01 23:22:28 +01:00
Fabio Erculiani
291a7c85cb [entropy.db] move more server/client-side stuff away from EntropyRepository 2009-11-09 18:39:37 +01:00
Fabio Erculiani
1ae46d6a49 [equo] fix xpak libs usage 2009-11-05 22:58:05 +01:00
Fabio Erculiani
11f798c23c [entropy.client] remove get_repository_db_file_checksum, not used anymore 2009-10-10 23:22:28 +02:00
Fabio Erculiani
33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani
e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani
e126f38290 [equo] improve code, make it more Python 3.x ready 2009-10-03 21:50:31 +02:00
Fabio Erculiani
7270556303 [equo] remove unused import 2009-10-01 18:33:11 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
2a7db1965a [entropy] fix OutputInterface.askQuestion answers handling 2009-09-26 09:18:23 +02:00
Fabio Erculiani
128cdda2b8 [entropy.db] drop getIDPackage (not completely reliable) in favour of getIDPackages 2009-09-20 18:15:58 +02:00
Fabio Erculiani
2fc1a5980f [equo] fix package files header 2009-09-20 14:44:41 +02:00
Fabio Erculiani
0367348e94 [equo] remove python-updater tool, not needed anymore 2009-09-19 20:16:48 +02:00
Fabio Erculiani
0cb23ae084 [equo] fix "equo database check" 2009-09-10 15:10:34 +02:00
Fabio Erculiani
c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani
5d4cce6f14 [entropy.spm/entropy.server/entropy.client] fix regression caused by entropy.spm API change 2009-08-29 21:39:38 +02:00
Fabio Erculiani
9359693cc5 [entropy.spm] make PortagePlugin to use SpmPlugin API, major API change 2009-08-29 21:31:43 +02:00
Fabio Erculiani
144be55371 [entropy.client*] make Entropy resources pid lock handling atomic 2009-08-23 10:50:42 +02:00
Fabio Erculiani
89062bf8f3 [entropy.db] complete API docstring and refactoring work 2009-08-15 22:27:41 +02:00
Fabio Erculiani
d1cbb6add5 [entropy.db] entropy.db API break+docstring merge almost complete 2009-08-14 16:37:56 +02:00
Fabio Erculiani
8ea6e2972b [entropy.db] more API documentation and polishing for reviewed code
:: API breakages and polishing (still under work)
:: imported docstrings for trusted (and stable) methods
2009-08-10 23:55:46 +02:00
Fabio Erculiani
0225582176 always use etpConst for package extensions 2009-06-09 12:09:38 +02:00
Fabio Erculiani
4610755369 entropy.client.interfaces.Client: rename methods
- _resources_run_create_lock => resources_create_lock
2009-05-28 06:03:05 +02:00
Fabio Erculiani
3f7d95f51a equo, rescue: rename _resources_run_remove_lock call into resource_remove_lock 2009-05-28 06:02:05 +02:00
Fabio Erculiani
0bc20f8ed4 entropy.client.interfaces.Client: rename methods
- _resources_run_check_lock => resources_check_lock
- _resources_run_remove_lock => resources_remove_lock
2009-05-28 06:00:14 +02:00
Fabio Erculiani
43c2826161 equo: extract_pkg_metadata moved to entropy.spm 2009-05-27 16:19:02 +02:00
Fabio Erculiani
51204fd173 entropy: remove gentoo-compat option, always enabled 2009-05-14 09:04:37 +02:00
Fabio Erculiani
0c5c9879ba entropy.client: move SystemSettings client parser to ClientSystemSettingsPlugin 2009-04-19 19:50:28 +02:00
Fabio Erculiani
9bd552689e entropy: when entropy.client.interfaces.methods' reopen_client_repository
is called, make sure all the repository databases are closed
2009-04-14 23:15:12 +02:00
Fabio Erculiani
bf9ac1a287 entropy.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:02 +02:00
Fabio Erculiani
897886f7fe entropy.const: moved all the repositories configuration settings to
SystemSettings, kept etpRepositories, etpRepositoriesOrder, etpRepositoriesExcluded
for backward compability. Did several hopefully last API changes
2009-04-06 19:00:46 +02:00
Fabio Erculiani
d807bad859 move Entropy client settings storage and parsing to SystemSettings 2009-04-05 16:32:20 +02:00
Fabio Erculiani
dee0b718ed text_query: API changes
functions inside text_query are now following Python guidelines.
Update the rest of the code accordingly.

On a side effect, printPackageInfo (now print_package_info) is
now 2.5 times faster on standard print
2009-03-29 15:49:34 +02:00
Fabio Erculiani
a5569db021 add "equo database vacuum"
This tool is useful to shrink the client repository database by
removing SQL indexes. Comes to help on ISO images creation
2009-03-28 20:42:13 +01: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
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
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