Commit Graph

4725 Commits

Author SHA1 Message Date
Fabio Erculiani
86eaf08bad Tagging Entropy version 0.99.49.50 2010-09-06 23:40:16 +02:00
Fabio Erculiani
f78ecd08a1 [entropy.client.interfaces.dep] update tagged packages binding logic, when tag != None, tag is not == slot anymore 2010-09-06 23:25:26 +02:00
Fabio Erculiani
3c5d0fb684 [entropy.client] remove debugging code 2010-09-06 15:09:10 +02:00
Fabio Erculiani
52372dc357 [entropy.client.interfaces.package] move URL name retrieval code into separate function, add scheme information to string 2010-09-06 11:04:46 +02:00
Fabio Erculiani
86402f18b0 [entropy.fetchers] fine tune rsync:// download function parameters 2010-09-06 10:57:19 +02:00
Fabio Erculiani
797bd279db [entropy.fetchers] UrlFetcher: urlencode "url" constructor argument only in urllib function 2010-09-06 10:50:48 +02:00
Fabio Erculiani
6339ed1b8f [entropy.spm] PortagePlugin.generate_package: remove unnecessary os.close() call 2010-09-06 10:15:30 +02:00
Fabio Erculiani
808e64d618 [entropy.spm] PortagePlugin: make generate_package() package file generation atomic 2010-09-06 10:14:31 +02:00
Fabio Erculiani
638d1db1a8 [entropy.fetchers] rework UrlFetcher variables initialization, make it more robust 2010-09-05 21:16:41 +02:00
Fabio Erculiani
65606273ca [entropy.fetchers] add back support for file:// URIs in UrlFetcher 2010-09-05 21:16:19 +02:00
Fabio Erculiani
46b3be4ef4 [entropy.const] drop etpConst['supported_download_protocols'], accept any URI, entropy.fetchers.UrlFetcher will handle them using a whitelist 2010-09-05 21:15:13 +02:00
Fabio Erculiani
7e47864325 [entropy.tools] add is_valid_uri function 2010-09-05 21:14:25 +02:00
Fabio Erculiani
2dcadd4b79 [entropy.db] EntropyRepository: create provided_libs table on _databaseStructureUpdate call rather than around in the code 2010-09-05 19:39:05 +02:00
Fabio Erculiani
7bb12def2b [entropy.client] Client.unlock_resources: make lock handling fully resistent to race conditions 2010-09-05 19:19:03 +02:00
Fabio Erculiani
26498d2d97 [entropy.client] Client.unlock_resources: fix possible race condition on removing lock file 2010-09-05 19:02:14 +02:00
Fabio Erculiani
165bd01733 [entropy.spm] PortagePlugin: fix write_contents call in _create_contents_file_if_not_available
write_contents root parameter was passed without a trailing "/".
This caused injected packages (server-side) not writing Portage
CONTENTS metadata correctly.
2010-09-05 14:49:43 +02:00
Fabio Erculiani
6fba685d97 [entropy.db] EntropyRepository._foreignKeySupport: on_delete_cascade checks
Some Entropy development versions had foreign keys support but no
on_delete_cascade setting stored. This commit copes with that
2010-09-05 14:36:08 +02:00
Fabio Erculiani
3c4d863807 [entropy.db] EntropyRepository.removePackage: fix regression, properly execute removal script 2010-09-05 14:23:05 +02:00
Fabio Erculiani
d32cba9fab [entropy.fetchers] list supported entropy.fetchers protocols in entropy.const 2010-09-04 19:25:34 +02:00
Fabio Erculiani
3d75036234 [entropy.fetchers] trivial variable name change 2010-09-04 19:08:56 +02:00
Fabio Erculiani
40e7a97566 [entropy.fetchers] add back support for https and ftps 2010-09-04 18:41:33 +02:00
Fabio Erculiani
8938b24667 [entropy.fetchers] implement support for rsync:// protocol using /usr/bin/rsync 2010-09-04 18:38:39 +02:00
Fabio Erculiani
efd32ede4e [entropy.db] remove usage of illegale protected methods inside EntropyRepository.contentDiff 2010-09-04 16:04:52 +02:00
Fabio Erculiani
1198a24290 [entropy.*] remove "eclasses" metadata support
"eclasses" package metadata is not in use in Entropy and is too
tight with Portage. Dropping.
2010-09-04 15:26:16 +02:00
Fabio Erculiani
f2d92793d0 [entropy.security] Repository.is_pubkey_available: catch GPGError exceptions 2010-09-03 23:49:46 +02:00
Fabio Erculiani
c5cfeec3cd Revert "[entropy.db] if EntropyRepository caching is disable, do not use live cache at all"
This reverts commit ef586a5ae5.
2010-09-02 20:13:23 +02:00
Fabio Erculiani
ef586a5ae5 [entropy.db] if EntropyRepository caching is disable, do not use live cache at all 2010-09-02 19:09:37 +02:00
Fabio Erculiani
146f127740 [entropy.db] ensure that removePackage keeps live cache clean 2010-09-02 19:06:09 +02:00
Fabio Erculiani
5183a77dea [entropy.server] when adding packages, commit EntropyRepository changes to disk as soon as possible 2010-09-02 19:04:48 +02:00
Fabio Erculiani
f184c8d779 [entropy.spm] PortagePlugin: fix world file handling, typo in function 2010-09-02 16:45:53 +02:00
Fabio Erculiani
fef265dab3 [entropy.server] really make sure that db data is flushed to disk during Server._package_injector 2010-08-31 17:41:51 +02:00
Fabio Erculiani
4575a792ef [entropy.server] improve reliability of Server._setup_repository_package_filename
Providing the EntropyRepository instance currently in use is much
better than opening a new one.
2010-08-31 15:22:54 +02:00
Fabio Erculiani
8ad0650dac [entropy.qa] add extra (ldd based) unresolved soname QA check
Using ldd to check if an executable has automagic dependencies
server-side, under controlled circumstances (such as checking against
the files provided by the package it belongs) is a good (not best)
way to make sure there are no breakages visible to user.
Unfortunately, these kind of missing dependencies have to be checked
and verified manually, besides, it's a good thing to have them
reported.
2010-08-30 23:06:02 +02:00
Fabio Erculiani
14bcfbf0ce [entropy.tools] read_elf_real_dynamic_libraries: some final fixes 2010-08-30 23:05:12 +02:00
Fabio Erculiani
b6ca4ed514 [entropy.tools] read_elf_real_dynamic_libraries filter out bogus lines 2010-08-30 21:52:10 +02:00
Fabio Erculiani
6702f7a332 [entropy.tools] some minor fixups to read_elf_dynamic_libraries and resolve_dynamic_library 2010-08-30 21:49:07 +02:00
Fabio Erculiani
0acc74ac62 [entropy.tools] add read_elf_real_dynamic_libraries function 2010-08-30 20:33:09 +02:00
Fabio Erculiani
825d9bd02d [entropy.tools] read_elf_broken_symbols: quote elf_file passed to getstatusoutput 2010-08-30 17:59:14 +02:00
Fabio Erculiani
2c157bc6c5 [entropy.tools] read_elf_dynamic_libraries no need to consider another ROOT= 2010-08-30 16:06:41 +02:00
Fabio Erculiani
2f93f2a214 [entropy.tools] read_elf_broken_symbols: no need to consider another ROOT= 2010-08-30 16:06:08 +02:00
Fabio Erculiani
778fa6c23e [tests] test "content safety" metadata 2010-08-30 12:50:26 +02:00
Fabio Erculiani
21413531fa [entropy.server,entropy.client] complete "content safety" feature support 2010-08-30 12:49:33 +02:00
Fabio Erculiani
80fff1ed39 [entropy.services.interfaces] SocketHost: separate non-SSL and SSL log files 2010-08-29 12:20:11 +02:00
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
70ade04ff6 [entropy.services.interfaces] fix typo in session's stream_stat item 2010-08-28 18:43:39 +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
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