Fabio Erculiani
73ee752d28
[entropy.client.interfaces.package] translate missing strings
2009-08-07 23:38:16 +02:00
Fabio Erculiani
4708b386d3
[entropy.db] dbapi2.executescript does not support two args
2009-08-07 23:37:10 +02:00
Fabio Erculiani
b147aa4f85
[entropy.i18n] fix _ function, revert previous changes
2009-08-07 23:36:50 +02:00
Fabio Erculiani
c7a7f9a96b
[entropy.server.interfaces.mirrors] fix unbound local var
2009-08-07 21:46:25 +02:00
Fabio Erculiani
93467e4b34
[entropy.qa] __analyze_package_edb, do not crash when tmp_path is not avail
2009-08-07 21:23:54 +02:00
Fabio Erculiani
26755615c4
[entropy.db] add more docstrings and fix typo
2009-08-07 16:15:59 +02:00
Fabio Erculiani
baba5ce2e7
[entropy.db] more API & polishing work, almost done
2009-08-07 14:34:57 +02:00
Fabio Erculiani
50f86ec9bd
[tests] add EntropyRepository contentDiff test
2009-08-06 15:47:02 +02:00
Fabio Erculiani
5754836b29
[entropy.client.interfaces.qa] fix ErrorReportInterface initialization
2009-08-06 09:10:53 +02:00
Fabio Erculiani
86183df541
[entropy.client.interfaces.repository] when syncing repo, make sure to commit after indexes creation
2009-08-05 22:56:06 +02:00
Fabio Erculiani
b5a51e5f20
[entropy.db] several docstrings and API updates
...
:: add more docstrings
:: add force argument to commitChanges to ignore read-only bit
:: add SQL index on mirrorlinks table, was missing
2009-08-05 22:55:03 +02:00
Fabio Erculiani
262c57489a
[entropy.client] fix SystemSettings hooks triggering
2009-08-05 22:39:24 +02:00
Fabio Erculiani
f324711497
[entropy.output] update module header
2009-08-05 17:03:10 +02:00
Fabio Erculiani
01487606ee
[entropy.db] add several docstrings, fine tune API of some methods
2009-08-05 16:46:24 +02:00
Fabio Erculiani
24875f027f
[entropy.tools] ignore permission issues when saving repositories metadata to file
2009-08-05 16:46:24 +02:00
Fabio Erculiani
a32fd79f37
[entropy.const] make ETP_ARCH_CONST smarter
2009-08-05 16:46:24 +02:00
Fabio Erculiani
202a418a58
[entropy.dump] handle AttributeError exception on loadobj()
2009-08-05 16:46:24 +02:00
Fabio Erculiani
1dc3351dee
[entropy.client.interfaces.dep] when client db is not available do not raise exceptions on calculate_available_packages
2009-08-05 16:46:24 +02:00
Fabio Erculiani
bc4fcc8a39
[entropy.db] remove ServiceInterface argument from constructor, not needed anymore
2009-08-04 08:22:01 +02:00
Fabio Erculiani
9ea147d0db
[entropy.db] API docs + addPackage() API changes
...
:: add more reviewed API documentation
:: addPackage() now does not do anything else but adding packages
to repository, which is the intended original behaviour.
2009-08-03 23:10:59 +02:00
Fabio Erculiani
f861532fd2
[entropy.db/entropy.server] reduce the usage of ServerInterface in EntropyRepository
...
ServerInterface instance variable inside entropy.db.EntropyRepository
will be soon dropped thanks to new code pushed during last months.
It was just a ugly hack to avoid using Singletons, which are now
the way to go.
Moreover, this commit improves per-repository RSS handling.
2009-08-03 13:09:33 +02:00
Fabio Erculiani
4acb81f808
[entropy.db] make use of the new entropy.spm features (esp. singleton)
2009-08-03 12:38:53 +02:00
Fabio Erculiani
406e26582f
[entropy.spm] major module updates
...
:: Entropy Spm plugins are now singletons and must subclass SpmPlugin
:: added convenience function to return the currently configured Spm instance
2009-08-03 12:37:26 +02:00
Fabio Erculiani
e9f47ee6fd
[entropy.client.interfaces] add missing import statements
2009-08-03 12:36:58 +02:00
Fabio Erculiani
24f14b9b63
[entropy.db/entropy.server] move runTreeUpdatesQuickpkgAction to entropy.server
2009-08-03 12:16:23 +02:00
Fabio Erculiani
10b89e9d5b
[entropy.db] move client-related package name/slot updates to entropy.client
2009-08-02 18:49:37 +02:00
Fabio Erculiani
dbaf9b0b0a
[entropy.client.interfaces.cache] when changing repositories order, always drop all cache
2009-08-02 16:48:05 +02:00
Fabio Erculiani
eed80c0907
[entropy.services.interfaces] fix DEBUG bool
2009-08-01 22:54:49 +02:00
Fabio Erculiani
ec89edf36a
[entropy.services.interfaces] reduce logging messages when debug mode is disable
2009-08-01 22:51:42 +02:00
Fabio Erculiani
ffe7a7cb89
[entropy.services.ugc.interfaces] improve SSL exceptions handling and make sure to use a blocking socket
2009-08-01 22:41:36 +02:00
Fabio Erculiani
c91aa3fa86
[entropy.services.interfaces] force SSL socket to blocking (mode)
2009-08-01 22:36:41 +02:00
Fabio Erculiani
2508fcbcf6
[entropy.services.interfaces] do not handle SSL WantX509LookupError the same way of WantReadError
2009-08-01 19:20:49 +02:00
Fabio Erculiani
197df19d66
[entropy.services.interfaces] properly handle SSL exceptions on write
2009-08-01 19:10:46 +02:00
Fabio Erculiani
a266d20021
[entropy.services.interfaces] typo fixes on SSL and exception handling
2009-08-01 19:02:24 +02:00
Fabio Erculiani
8ac46be460
[entropy.services.*] fix SSL timing handling when sending huge amount of data
2009-08-01 18:55:51 +02:00
Fabio Erculiani
925e974c63
[entropy.services.interfaces] add future-proof SSL socket polling handler
2009-08-01 18:50:03 +02:00
Fabio Erculiani
8c02947a82
[entropy.exceptions] add TimeoutError exception
2009-08-01 18:48:42 +02:00
Fabio Erculiani
6926d8813a
[entropy.transceivers] make pylint happy when dealing with UrlFetcher class from MultipleUrlFetcher
2009-08-01 00:38:11 +02:00
Fabio Erculiani
bd895cc139
[entropy.db/entropy.server/entropy.tools] several code moves
...
:: entropy.tools: split md5sum_directory into two, adding md5obj_directory
which returns an hashlib.md5() instance
:: entropy.db: move serverUpdatePackagesData to entropy.server
:: entropy.server: receive entropy.db's serverUpdatePackagesData, created
repository_packages_spm_sync method
2009-08-01 00:19:59 +02:00
Fabio Erculiani
ae8c3dd0db
[entropy.i18n] make pylint happy, assign gettext.gettext to _()
2009-08-01 00:18:44 +02:00
Fabio Erculiani
98689fbec3
[entropy.qa] improve test_shared_objects() by adding self directory ELF linking test
2009-08-01 00:16:58 +02:00
Fabio Erculiani
7baf48b10c
[entropy.client] when installing a package, also show its description
2009-07-31 22:53:36 +02:00
Fabio Erculiani
0a6b6a9ded
[entropy.services.ugc.interfaces] fix wrong SQL query in search_keyword_items
2009-07-31 18:26:56 +02:00
Fabio Erculiani
aaab9b7090
[entropy.services.ugc.interfaces] fix buggy SQL query in search_iddoc_item
2009-07-30 11:28:19 +02:00
Fabio Erculiani
2750db2372
[entropy.server.interfaces.mirrors] fix syntax
2009-07-28 16:30:38 +02:00
Fabio Erculiani
835564714d
[entropy.server.interfaces.mirrors] properly handle ftp connection when done
2009-07-28 16:29:39 +02:00
Fabio Erculiani
8faafff956
[entropy.db] fix getIDPackageFromDownload, missing JOIN between tables
2009-07-28 16:22:51 +02:00
Fabio Erculiani
790c9d84dd
[entropy.server.interfaces.mirrors] add more type casting to fix output functions
2009-07-28 15:16:45 +02:00
Fabio Erculiani
55e2b72bb0
[entropy.server.interfaces.mirrors] add type casting
2009-07-28 15:13:14 +02:00
Fabio Erculiani
edaa63705b
[entropy.server/equo.community] Remove md5check tool, add pkgtest (which does the same plus QA tests)
2009-07-28 14:45:41 +02:00