It happened that if a file is not available on the provided URL,
the local one was created anyway containing no data. Thus verify
if it was already available, if not, remove it on errors.
dependencies_test method now uses the new exclude_deptypes argument
of entropy.db.LocalRepository.retrieveDependencies
generate_depends_tree method now uses the new exclude_deptypes argument
of entropy.db.LocalRepository.retrieveDepends
retrieveDependencies features a new argument "exclude_deptypes", useful
to filter out unwanted dependency types from the results.
It is used by entropy.client.interfaces.dep.dependencies_test to ignore
PDEPENDs
- add new table automergefiles, to handle untouched config files automerges and autoremoval
- add support methods for automergefiles tables
Entropy/Client/Interfaces:
- add support for configuration files automerge and autoremove, if user did not modify a config file, it will be automerged or autoremoved
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3209 cd1c1023-2f26-0410-ae45-c471fc1f0318
- function renaming
- code refactoring
Entropy/Spritz:
- use new entropy.const functions
Entropy/Client/Interface/Methods:
- use new entropy.const functions
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3201 cd1c1023-2f26-0410-ae45-c471fc1f0318
- __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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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