- it can happen that some socket interface flavours don't have the settimeout attribue, check that before it's too late ghgh
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2592 cd1c1023-2f26-0410-ae45-c471fc1f0318
- optimize several sql queries and python functions
Entropy/EntropyDatabaseInterface:
- addPackage(): when providing an idpackage, run removePackage() to ensure no collisions
Entropy/PackageInterface:
- when a package fails to unpack, try to download it again and start over
- when running fetch_step(), check if returns 0, otherwise, give up
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2591 cd1c1023-2f26-0410-ae45-c471fc1f0318
- uncompressTarBz2(): catch EOFError exceptions and return -1
Entropy/PackageInterface:
- __unpack_package(): when running fetch_step, check if returns 0
- try to unpack the package 3 times before giving up, if it fails, try to redownload it again
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2589 cd1c1023-2f26-0410-ae45-c471fc1f0318
- get_downloads(), get_docs(), add_vote(): - check if the returned data is a valid tuple before splitting it
Entropy/EquoInterface:
- extend get_meant_packages() capabilities to run off any database and branch
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2588 cd1c1023-2f26-0410-ae45-c471fc1f0318
- listIdPackagesInIdcategory(): add order_by parameter
- contentDiff(): improve reliability
Entropy/DistributionUGCInterface:
- get_ugc_vote(): improve speed
- before calling tostring() method to mysql objects, check if it's necessary
Entropy/EquoInterface:
- print traceback in the case that clientdb got corrupted and we're running in safe mode
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2581 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make possible to blacklist missing library dependencies at runtime and through packages.db.missing_deps_whitelist file inside the repository db directory
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2573 cd1c1023-2f26-0410-ae45-c471fc1f0318
- searchPackage(): add order by parameter
Entropy/EquoInterface:
- get_branch_from_download_relative_uri(), move from ServerInterface to here
- fetch_file_on_mirrors() add branch that needs to be passed to fetch_file() to store the download in the right directory
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2572 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make installing external packages impossible when Spritz is busy
- remove doGtkEvents call every time busyCursor() and normalCursor() is spawned
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2566 cd1c1023-2f26-0410-ae45-c471fc1f0318
- we might run into a system with broken libbz2.so*, since Entropy can even run without it, in case of this happens during Portage pkg_* hooks, we can happily ignore and step over
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2562 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add support for specifying SMTP host and port
PackageInterface:
- check if download path is available on the db when requesting a fetch action, if not, warn the user and step over
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2560 cd1c1023-2f26-0410-ae45-c471fc1f0318
- make user activation requirement on register_user() optional
Entropy/MailSender:
- new class to send basic and complex emails
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2554 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add valid password range
- add valid username range
Entropy/EAPI3/Client:
- do not crash if repository, arch or product are None (while converting to coloured output) in convert_stream_to_object()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2543 cd1c1023-2f26-0410-ae45-c471fc1f0318