Commit Graph

114 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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 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 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