Commit Graph

105 Commits

Author SHA1 Message Date
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
lxnay
6c3fe1e920 Entropy/Equo:
on equo world, always force deep deps
this will workaround sys-libs/db issue


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2716 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:23:03 +00:00
lxnay
930f39420a Entropy/Branch switching:
- on Equo, force world updates calculation to use the new branch in any case


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2689 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-15 16:09:25 +00:00
lxnay
6a568bc9ed Entropy/UGC/Equo/Spritz:
- do not show the exception output when spawning UGC.add_downloads()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2655 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 17:30:32 +00:00
lxnay
abce4c417e Entropy/UGC/Equo/Spritz:
- do not crash when running add_downloads
- run add_downloads in background


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2652 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 16:15:41 +00:00
lxnay
de9cb17e9e Entropy/PackageInterface:
- remove add_download() from fetch_file_on_mirrors()
Entropy/Equo/Spritz:
- add add_downloads() (from UGC interface) after the fetch process
Entropy/SocketHostInterface/Repository Daemon:
- add a new command that let client register all the downloaded packages at once


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2646 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 22:24:39 +00:00
lxnay
f5a0bf69c1 Entropy/Equo:
- check if arguments passed by user are valid UTF8


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2558 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-24 09:56:19 +00:00
lxnay
350fb405e6 Entropy/Equo:
- do not run removal if --pretend is specified


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2542 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-23 11:44:45 +00:00
lxnay
994b4a87f5 Entropy/Equo:
- update --upgrade feature when running equo world
Entropy/EquoInterface:
- update move_to_branch() to reflect latest branch management changes
Entropy/EAPI3:
- update EAPI3 commands to reflect latest branch management changes
- also update server-side functions, removing the old ones to avoid to be run by old clients
see server/entropy-repository-daemon changes to know more


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2506 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 18:43:32 +00:00
lxnay
67f2a4b834 Entropy/Equo:
- add You Meant(tm) support to 'equo remove'
- change SpmInterface.get_package_slot() to SpmInterface.get_installed_package_slot()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2438 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-29 20:05:17 +00:00