Commit Graph

6830 Commits

Author SHA1 Message Date
Fabio Erculiani 5d860aa17d [entropy.services.interfaces] improve ssl handling code, make some variables protected 2010-08-29 12:15:08 +02:00
Fabio Erculiani dce7a38c69 [entropy.misc] LogFile: remove loggers cache, does more harm than good 2010-08-29 09:49:05 +02:00
Fabio Erculiani 720e2ed55a [todo] update TODO 2010-08-29 08:46:01 +02:00
Fabio Erculiani 70ade04ff6 [entropy.services.interfaces] fix typo in session's stream_stat item 2010-08-28 18:43:39 +02:00
Fabio Erculiani 13b897cbc8 [todo] update TODO 2010-08-28 17:19:18 +02:00
Fabio Erculiani 821d810aa3 [entropy.db/entropy.spm] introduce content safety metadata collection (sha256, mtime)
The following changes add more security features to Entropy repository
files. Every package will have new security metadata associated, like
sha256 and mtime of package files. Once all packages will contain
such information, the feature can be used, for example, to determine
if a system has been compromised by changing critical executables.
This is not a replacement for rootkit tools such as rkhunter or chkrootkit,
but instead, the base support for their file checking mechanism.

Entropy Client support (equo, mainly) is planned in the near future.
2010-08-28 17:07:15 +02:00
Fabio Erculiani a6da16e9f0 [entropy.spm] PortagePlugin: properly calculate package size even when package is injected 2010-08-28 16:08:25 +02:00
Fabio Erculiani 0ea090b259 [todo] update TODO 2010-08-26 11:42:20 +02:00
Fabio Erculiani 44020f6d40 [po] update translations 2010-08-25 03:45:32 +02:00
Fabio Erculiani 630d069c52 [sulfur] show warnings for orphaned system packages and packages unavailable in repositories 2010-08-25 03:44:25 +02:00
Fabio Erculiani e099600132 [entropy] add logrotate file 2010-08-25 03:21:27 +02:00
Fabio Erculiani b3716a6555 [equo] warn user about orphaned packages not in repos anymore and orphaned system packages 2010-08-24 13:48:17 +02:00
Fabio Erculiani 4be9cb5a94 [entropy.client.interfaces.dep] trivial docstring update 2010-08-24 13:24:06 +02:00
Fabio Erculiani b4488b1a59 [entropy.transceivers] make SSH transceiver working on non-standard SSH ports (regression) 2010-08-24 09:54:37 +02:00
Fabio Erculiani 1970a36d14 [tests] add another revision bump test 2010-08-20 15:37:02 +02:00
Fabio Erculiani 3fcf104316 [entropy.server] fix revision bumping support
Packages were removed before the revision bumping logic code had
a chance to calculate the new package revision.
2010-08-20 14:14:36 +02:00
Fabio Erculiani 4352f39d1b [tests] server: add package revision bumping test 2010-08-20 14:14:15 +02:00
Fabio Erculiani 28b3913c2d [todo] update TODO 2010-08-18 21:57:08 +02:00
Fabio Erculiani a2649b3413 [entropy.db] fix regression in EntropyRepository.retrieveUseflags 2010-08-18 21:42:29 +02:00
Fabio Erculiani 47690cea4b [entropy.db] more list to tuple conversion, see previous commit 2010-08-18 21:41:49 +02:00
Fabio Erculiani c86ba293f5 [entropy.db] EntropyRepositoryBase: prefer tuple over list when returning objects
This commit drastically changes EntropyRepository API, return object
are now either tuple or frozenset for most functions. This aims to
improve metadata reliability across function calls, making impossible
to change their content. Frozenset and tuple are immutable types.
2010-08-18 20:58:15 +02:00
Fabio Erculiani 72b14eb71e [entropy.db] EntropyRepositoryBase: return frozenset objects instead of set 2010-08-18 17:42:56 +02:00
Fabio Erculiani 9d3f942095 Revert "[entropy.db] copy objects before pushing/popping to/from on-RAM cache"
This reverts commit 38c875a72e.
2010-08-18 15:59:38 +02:00
Fabio Erculiani 38c875a72e [entropy.db] copy objects before pushing/popping to/from on-RAM cache 2010-08-18 15:54:33 +02:00
Fabio Erculiani 4042bf9a4f [entropy.db] EntropyRepository: drop deprecated methods 2010-08-18 15:50:36 +02:00
Fabio Erculiani 20f5be83ae Tagging Entropy version 0.99.49.21 0.99.49.21 2010-08-18 14:40:50 +02:00
Fabio Erculiani 26c80211a4 [entropy.db] EntropyRepository: rewrite live cache support to improve robustness, cache object is now static 2010-08-18 14:01:58 +02:00
Fabio Erculiani 051ca2bfce [entropy.db] EntropyRepository: fix searchEclassedPackages(), it didn't work 2010-08-18 09:03:16 +02:00
Fabio Erculiani 6523d778a5 [entropy.db.skel] EntropyRepositoryBase.searchEclassedPackages always returns list 2010-08-18 09:02:29 +02:00
Fabio Erculiani 0fd5df5890 [equo] text_query.search_eclass: improve function reliability 2010-08-18 09:01:59 +02:00
Fabio Erculiani 0a3148308b Tagging Entropy version 0.99.49.20 0.99.49.20 2010-08-17 18:29:53 +02:00
Fabio Erculiani 1b02cbb7e0 [entropy.transceivers] FTP plugin: fix temporary file handling in EntropyFtpUriHandler.download() 2010-08-17 18:27:53 +02:00
Fabio Erculiani f2e4a8f2b2 [entropoy.client.interfaces.package] add docstring 2010-08-17 17:47:24 +02:00
Fabio Erculiani 0860909bef [equo] text_tools.acquire_entropy_locks: determine if another entropy is running before any other check, more nazism ftw 2010-08-16 22:25:51 +02:00
Fabio Erculiani 91d9476758 [entropy.db] EntropyRepository: introduce more on-RAM caching, improving Entropy Client queries speed 2010-08-16 20:08:38 +02:00
Fabio Erculiani f225a7dab5 [entropy.fetchers] fix MultipleUrlFetcher output update function 2010-08-16 19:58:09 +02:00
Fabio Erculiani 526da6ba81 [entropy.client] trivial string update 2010-08-16 19:49:24 +02:00
Fabio Erculiani 16ef7d892e [entropy.db] EntropyRepository: fix bogus implementation of searchKeySlot 2010-08-16 19:29:26 +02:00
Fabio Erculiani 59d499df6f [entropy.client] when waiting in Client.wait_resources() and resources get unlocked, throw all cache away 2010-08-16 18:31:19 +02:00
Fabio Erculiani 11126779c2 [entropy.db] EntropyRepository: taint live cache items when updating them 2010-08-15 23:23:59 +02:00
Fabio Erculiani 01784d79e1 [entropy.db] update API (changed searchNameCategory arguments) and 2x speed of atomMatch() by caching several functions 2010-08-15 17:29:29 +02:00
Fabio Erculiani 46ba83ace2 [entropy.db] EntropyRepository.retrieveName: use cursor object returned by execute() 2010-08-15 16:59:57 +02:00
Fabio Erculiani e792796b4f [todo] update TODO 2010-08-15 16:30:13 +02:00
Fabio Erculiani c719ec4f74 [entropy.db] EntropyRepository.addPackage: clear cache at the beginning of the function 2010-08-15 16:25:26 +02:00
Fabio Erculiani 3749ed5486 [entropy.db] EntropyRepository: remove unused attribute 2010-08-15 16:21:59 +02:00
Fabio Erculiani 6b8b7ab3d1 [entropy.spm] PortagePlugin: improve unpack_xpak() reliability 2010-08-15 15:41:32 +02:00
Fabio Erculiani 1dd0a2cfdf [po] update translations 2010-08-15 15:32:51 +02:00
Fabio Erculiani 0d6dbc3f0a [entropy.server] replace "database" with "repository" in ui messages 2010-08-15 15:32:25 +02:00
Fabio Erculiani 80c85b55d8 [entropy.client.interfaces.repository] move back post update repository hook execution to Repository class 2010-08-15 15:18:01 +02:00
Fabio Erculiani b7a8dfc30a [entropy.server] Server.add_packages_to_repository: fix blacklisted dependencies handling 2010-08-15 00:41:17 +02:00