Commit Graph

3400 Commits

Author SHA1 Message Date
Fabio Erculiani
4c3d9fef60 [entropy.cache] EntropyCacher: make possible to specify an alternative cache directory 2010-01-02 17:10:15 +01:00
Fabio Erculiani
c2617870f6 [entropy.dump] make possible to specifify an alternative dump directory 2010-01-02 17:09:49 +01:00
Fabio Erculiani
a707f3d214 [entropy.client.ugc] use autonomous cache directory, there is no need to trash UGC cache every single fart 2010-01-02 16:26:15 +01:00
Fabio Erculiani
8f45d18dcf [entropy.cache] do not use etpConst directly but rather use entropy.dump values 2010-01-02 16:25:38 +01:00
Fabio Erculiani
5ea68c69f0 [entropy.dump] improve dumpobj() 2010-01-02 16:25:05 +01:00
Fabio Erculiani
6e65a7a88e [entropy*] move cache functions to EntropyCacher, remove spaghetti code around 2010-01-02 15:36:27 +01:00
Fabio Erculiani
c2c989dee2 [entropy.const] move const_extract_{cli,srv}* away from entropy.const 2010-01-02 15:11:20 +01:00
Fabio Erculiani
e57b064121 [entropy*] big caching routines cleanup, drop old and duplicated code 2010-01-02 15:00:27 +01:00
Fabio Erculiani
77d66c2e26 [entropy.core] SystemSettings._repositories_parser(): always try to properly setup permissions and cache 2010-01-02 11:53:04 +01:00
Fabio Erculiani
e3c62fdf09 [entropy.client] trivial code style update 2010-01-02 10:03:16 +01:00
Fabio Erculiani
6842e86392 [entropy.client.interfaces.repository] When EAPI=3 syncing repos, use the newly available secure_checksum metadatum 2010-01-02 09:56:38 +01:00
Fabio Erculiani
e72dda3ec2 [entropy.services] (to be backported): improve speed of dbdiff command, add extra checksum metadatum 2010-01-02 09:40:00 +01:00
Fabio Erculiani
6d6f3f30b4 [entropy.db] (to be backported): add include_signatures argument to checksum() 2010-01-02 09:03:25 +01:00
Fabio Erculiani
5486a92b27 [entropy.db] pysqlite is dead, only check inside Python package 2010-01-02 08:53:08 +01:00
Fabio Erculiani
b105af10fb [entropy.client.interfaces] fix GPG verification when GPG is not available 2010-01-02 08:19:34 +01:00
Fabio Erculiani
a7651a843b [entropy.server] fix typo 2010-01-01 16:51:04 +01:00
Fabio Erculiani
5d42234783 [entropy.server] fix undefined variable "err" 2010-01-01 13:59:27 +01:00
Fabio Erculiani
ed794fdaee [entropy.server] when moving packages from repo A to B, also re-GPG-sign package file 2010-01-01 13:53:17 +01:00
Fabio Erculiani
bb3b622a93 [entropy.server] fix missing return 2010-01-01 13:51:00 +01:00
Fabio Erculiani
1a4894ced5 [entropy.db] trivial whitespaces cleanup 2010-01-01 10:13:30 +01:00
Fabio Erculiani
51951d1f3d [entropy.server] execute an extra repository metadata cleanup before packing up :-) 2010-01-01 10:12:49 +01:00
Fabio Erculiani
f5d3b0ef2a [entropy.server] when moving/copying packages over repos, execute metadata cleanup at the end 2010-01-01 09:20:07 +01:00
Fabio Erculiani
e8408387cd [entropy.client] fix some trivial typos 2010-01-01 00:25:44 +01:00
Fabio Erculiani
e4535e3294 [entropy.server] handle Repository.KeyExpired exceptions 2009-12-31 23:56:35 +01:00
Fabio Erculiani
e236d02e5c [entropy.client] properly handle GPG expired keys 2009-12-31 19:24:35 +01:00
Fabio Erculiani
7902b594aa [entropy.security] Repository: initial implementation of repository keys expiration support 2009-12-31 19:17:20 +01:00
Fabio Erculiani
d87b4ee97e [entropy.security] fix __gen_key() 2009-12-31 18:49:07 +01:00
Fabio Erculiani
d8cc786858 [entropy.client.interfaces.repository] small & initial refactoring of Repository class 2009-12-31 18:27:11 +01:00
Fabio Erculiani
86dbbdd94d [entropy.client.interfaces.fetch] small code style update & cleanup 2009-12-31 17:56:41 +01:00
Fabio Erculiani
cd71128692 [entropy.client] make possible to completely disable GPG feature 2009-12-31 17:51:43 +01:00
Fabio Erculiani
951cb8f4db [entropy.client.interfaces.repository] first fetch all the stuff, then md5 check, then GPG check 2009-12-31 13:50:09 +01:00
Fabio Erculiani
7c0edc22ad [entropy.client.interfaces.repository] improve GPG repository files verification 2009-12-31 13:39:49 +01:00
Fabio Erculiani
cb08a8c834 [entropy.server] create metafiles file just right before upload 2009-12-31 13:39:28 +01:00
Fabio Erculiani
62132d75b5 [entropy.server] only GPG sign required files 2009-12-31 11:51:59 +01:00
Fabio Erculiani
47b650bd5f [entropy.server] do not upload signature.asc twice 2009-12-31 11:42:08 +01:00
Fabio Erculiani
bf3d165d4f [entropy.server] add missing function __write_gpg_pubkey() 2009-12-31 11:27:40 +01:00
Fabio Erculiani
483db3fb81 [entropy.server] also pack signature.asc inside packages.db.meta 2009-12-31 11:24:01 +01:00
Fabio Erculiani
54239387d3 [entropy.server] do not GPG sign every file in packages.db.meta but rather sign packages.db.meta directly 2009-12-31 11:09:18 +01:00
Fabio Erculiani
5654097e22 [entropy.server] GPG sign every file being uploaded 2009-12-31 11:05:39 +01:00
Fabio Erculiani
3f925d147b [entropy.client.interfaces.repository] warn user about how to change GPG keys trust level 2009-12-31 11:05:01 +01:00
Fabio Erculiani
4382de0216 [entropy.security] Repository: slightly change private methods API 2009-12-31 11:03:08 +01:00
Fabio Erculiani
5ea3c6bccb [entropy.spm] PortagePlugin: fix source /etc/profile cmd 2009-12-30 21:50:22 +01:00
Fabio Erculiani
780e741b5a [entropy.client] add GPG package signature verification when fetching packages, disable sha256 by default 2009-12-30 18:34:48 +01:00
Fabio Erculiani
1d3c292f13 [entropy.client.interfaces.repository] only catch GPGServiceNotAvailable when calling RepositorySecurity() 2009-12-30 18:33:55 +01:00
Fabio Erculiani
6b8501c056 [entropy.security] Repository: add --debug support 2009-12-30 18:33:13 +01:00
Fabio Erculiani
42b3951ba7 [entropy.client.interfaces.repository] improve Repository class
:: hide non-public methods (make them protected)
:: implement GPG verification for repository files
2009-12-30 16:07:28 +01:00
Fabio Erculiani
86225d4bef [entropy.db] add missing API docstrings 2009-12-30 16:07:28 +01:00
Fabio Erculiani
94ce9ca30b [entropy.security] Repository: change API of verify_file, also return error message 2009-12-30 16:07:28 +01:00
Fabio Erculiani
1eab5b086f [entropy.security/entropy.server] add GPG keys import/export feature 2009-12-29 21:55:07 +01:00
Fabio Erculiani
3b851f5e9e [entropy.security] Repository: update API, fix delete_keypair() 2009-12-29 21:33:04 +01:00