Commit Graph

129 Commits

Author SHA1 Message Date
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
9492b30cfa [client.text_ui] improve "equo hop" user friendliness 2009-08-08 16:41:35 +02:00
Fabio Erculiani
defa50c77b [client.text_ui] clean old repository paths when branch hopping 2009-08-08 15:34:17 +02:00
Fabio Erculiani
e0e5ba9f1a [entropy.client.interfaces.dep] handle client db errors on calculate_world_updates()
Raise SystemDatabaseError exception when client database is corrupted
when calling Client.calculate_world_updates()
2009-07-26 16:37:35 +02:00
Fabio Erculiani
d391ec4bac [entropy.qa] rename libraries_test method to test_shared_objects 2009-07-16 08:49:51 +02:00
Fabio Erculiani
d301e9515b [client.text_ui] make possible to install entropy packages via relative paths 2009-07-13 08:33:00 +02:00
Fabio Erculiani
2cd628fd5d [entropy.client/entropy.qa] move libraries_test to entropy.qa 2009-07-07 12:38:01 +02:00
Fabio Erculiani
2caba4969d [client.text_ui] clear SystemSettings at the end of worldUpdate to allow branch hooks to run 2009-06-27 19:05:23 +02:00
Fabio Erculiani
184f5dc7ce [client.text_ui] beautify 'equo world' output 2009-06-27 17:36:01 +02:00
Fabio Erculiani
3e9af17094 [client.text_ui] remove branch migration script code, will be handled internally 2009-06-27 17:29:41 +02:00
Fabio Erculiani
9154235172 [client.text_ui] implement post branch hop script in equo
NOTE: this code will be moved to entropy.client in the next commit.
It's just a testing proof of concept, and still incomplete.
2009-06-24 13:57:59 +02:00
Fabio Erculiani
a220d1882a [client.text_ui] fix critical updates warning 2009-06-21 21:49:13 +02:00
Fabio Erculiani
209c8b69f1 [client.text_ui] fix undefined reference in text_ui 2009-06-21 20:23:06 +02:00
Fabio Erculiani
6695f1309d [entropy/sulfur/equo] implement critical updates installation priority 2009-06-20 23:05:18 +02:00
Fabio Erculiani
d5aaaf56ed fix returning data 2009-05-31 10:38:32 +02:00
Fabio Erculiani
865601888d make ugc calls synchronous 2009-05-28 17:40:21 +02:00
Fabio Erculiani
8089ba5d7a fix typo 2009-05-26 10:53:23 +02:00
Fabio Erculiani
598d3958f7 fix equo merge/remove output 2009-05-26 10:52:06 +02:00
Fabio Erculiani
2e153e632f equo, show conflicts in printed queue 2009-05-26 10:49:49 +02:00
Fabio Erculiani
df14576b56 equo: add "equo upgrade" option (alias for equo world) 2009-05-16 20:40:34 +02:00
Fabio Erculiani
9421572b1c equo: during install queue output generation, handle installed repo information consistently 2009-05-14 10:54:46 +02:00
Fabio Erculiani
5ec9677460 entropy.Client: rework calculate_world_updates when using ignore-spm-downgrades
So we have several nasty issues when using ignore-spm-downgrades here.
First of all, calculate_world_updates should get the setting directly from
SystemSettings instead of bugging developer asking for it.
Secondly, calculate_world_updates should return a 4D tuple, also containing
the matches ignored when ignore-spm-downgrades is enabled.
Moreover, Spritz packages.py getPackageItem featured an unused argument,
which has been dropped.

I know this commit is a bitch because we are talking about changing API
and affecting several files at once.
2009-05-12 14:44:52 +02:00
Fabio Erculiani
2deebc2ab6 Community Repositories: make it back working.
Community Repositories support was broken due to codebase changes
and introduction of SystemSettings, which now overwrites any
overridden setting. This commit fixes all the issues and also
improves the current support.
2009-04-25 23:21:30 +02:00
Fabio Erculiani
0c5c9879ba entropy.client: move SystemSettings client parser to ClientSystemSettingsPlugin 2009-04-19 19:50:28 +02:00
Fabio Erculiani
4e52998840 text_ui: branchHop: adjust return error codes 2009-04-18 19:04:17 +02:00
Fabio Erculiani
515b897500 text_ui: equo hop, disable branchHop access for non-root users 2009-04-18 19:03:39 +02:00
Fabio Erculiani
36537f39a0 equo: implement new command 'equo hop' which substitutes 'equo world
--upgrade <branch>'
2009-04-17 23:47:33 +02:00
Fabio Erculiani
6b7ca12957 equo: remove 'equo world --upgrade' option, will be moved to 'equo hop' 2009-04-17 16:01:31 +02:00
Fabio Erculiani
e12d40c246 equo world: do not run orphans search when running with --fetch 2009-04-17 15:44:46 +02:00
Fabio Erculiani
e16039af52 client.text_ui: fix shutil module usage 2009-04-08 06:25:23 +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
df34d1627e client.text_ui (equo): fix grammar typo 2009-03-31 09:33:31 +02:00
Fabio Erculiani
7b3c1f1986 equo: add support for custom install source. 2009-03-31 09:32:54 +02:00
Fabio Erculiani
19937466cd "equo source", new option --savehere
user can choose to download sources into CWD instead of entropy tmp
directory
2009-03-30 13:23:15 +02:00
Fabio Erculiani
7dd3f8a0ed "equo unusedpackages" add --sortbysize parameter and logic 2009-03-29 20:17:39 +02:00
Fabio Erculiani
2590fcdd06 text_ui: code style updates and improved unusedPackagesTest
unusedPackagesTest now prints package size information when run without
--quiet
2009-03-29 20:10:11 +02:00
lxnay
3fd8a17ca1 Entropy/Equo:
- make equo source available for normal users too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3203 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-19 00:04:57 +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
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
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
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