Commit Graph

7365 Commits

Author SHA1 Message Date
Fabio Erculiani a7faac4d03 entropy.server: add support for expiration-based packages removal.
If enabled in server.conf, entropy server side interface can now
allow multiple packages in the same scope without forcefully being
'injected'.
Through packages.db.fatscope in database dir, you can choose what
packages are eligible to this status, you can use '*' wildcard to
enable the feature for all the packages.

Be warned, this feature is EXPERIMENTAL (read server.conf) and not
enabled by default.
2009-04-25 22:32:18 +02:00
Fabio Erculiani 1cf472e97a SystemSettings: external parsers (given by plugins) will run in
alphabetical order
2009-04-25 22:31:08 +02:00
Fabio Erculiani c69f79563f equo: export 'equo database counters' to community tool for clarity 2009-04-25 22:05:27 +02:00
Fabio Erculiani 8c37428a52 entropy.client: remove old configuration files protection and masking code.
Since configuration files protection is now gathered per-package, there is
no more need of having the same (and broken) metadata into SystemSettings.
2009-04-25 19:07:49 +02:00
Fabio Erculiani 0bc96e24d9 entropy.client: fix configuration files protection and masking.
Using a database-wide CONFIG_PROTECT metadata is not wise and triggers
several issues, every package during install and removal should
use their own information (as in CONFIG_PROTECT and CONFIG_PROTECT_MASK)
2009-04-25 18:56:22 +02:00
Fabio Erculiani f34be7c999 move SystemSettings generic file parser to entropy.tools so that
can be reused by other areas of the codebase
2009-04-25 08:41:24 +02:00
Fabio Erculiani 6882ac24f9 entropy.client.misc: do_backup(), change backup files prefix 2009-04-25 07:51:34 +02:00
Fabio Erculiani 39ae6a3bb2 entropy.client.misc: use os.rename instead of shutil.move in scanfs.
Along with using os.rename instead of shutil.move in scanfs, restrict
the range of exceptions catched when calling load_cache.
2009-04-25 07:44:16 +02:00
Fabio Erculiani abf09df435 update TODO 2009-04-24 19:16:05 +02:00
Fabio Erculiani 63e43f2517 entropy.const: use new entropy.tools gzip/bzip2 unpack functions 2009-04-24 17:45:59 +02:00
Fabio Erculiani 9ec0fb3308 update TODO 2009-04-24 01:07:47 +02:00
Fabio Erculiani 37937fb52f equo, text_query: fix search_installed_packages when packages var
is empty
2009-04-24 00:51:43 +02:00
Fabio Erculiani 63f6bfebbc update TODO 2009-04-24 00:44:27 +02:00
Fabio Erculiani 9fbeca2d3e new init service repository_services, rename repository-services-daemon
to repository-services-daemon.example and update Makefile.
2009-04-24 00:41:26 +02:00
Fabio Erculiani 616eb328b8 Makefile: fix man pages install 0.85 2009-04-23 23:49:11 +02:00
Fabio Erculiani 29cbc67ef0 update TODO 2009-04-23 22:13:16 +02:00
Fabio Erculiani 0cfce3ab79 move service scripts to services dir, add repository admin init service 2009-04-23 22:12:41 +02:00
Fabio Erculiani d8a1d90eb7 entropy.const: fix another typo in const_create_working_dirs 2009-04-23 16:09:21 +02:00
Fabio Erculiani b75e26268f entropy.const: fix typo, SyntaxError 2009-04-23 16:08:44 +02:00
Fabio Erculiani 7ad459e7cd update TODO 2009-04-23 13:18:52 +02:00
Fabio Erculiani 983f81368b remove equo option data from gen_manopts.py 2009-04-23 13:18:12 +02:00
Fabio Erculiani b3e98e1d54 complete reagent and activator man pages 2009-04-23 13:17:51 +02:00
Fabio Erculiani 22133c4f1b entropy.const: const_create_working_dirs, improve reliability 2009-04-23 13:08:23 +02:00
Fabio Erculiani 4357eaaf13 equo initial man page complete 2009-04-23 13:07:28 +02:00
Fabio Erculiani bbc7239baf add useful script for man pages (.pod format) generation 2009-04-23 13:06:55 +02:00
Fabio Erculiani 2cca2b7a26 update TODO 2009-04-22 13:39:30 +02:00
Fabio Erculiani fdd6288510 entropy.client.interfaces.package: match_checksum, better workaround
package signatures generated with buggy entropy git versions
2009-04-22 00:25:59 +02:00
Fabio Erculiani de921f39f0 entropy.client.interfaces.package: match_checksum fix
it can happen that no package signatures are available: if this is
the case, completely skip the signature verification.
2009-04-22 00:08:05 +02:00
Fabio Erculiani 814e468c05 rename entropy-repository-daemon to repository-services-daemon 2009-04-21 10:04:31 +02:00
Fabio Erculiani 5a774a4606 entropy-repository-daemon: refresh repository daemon script 2009-04-21 10:03:34 +02:00
Fabio Erculiani a513f12c63 repository-admin-daemon: trivial change 2009-04-21 10:02:39 +02:00
Fabio Erculiani 98fbe0bf9d fix Makefile, rename entropy-system-daemon to repository-admin-daemon 2009-04-21 09:31:40 +02:00
Fabio Erculiani 449b8b4863 rename entropy-system-daemon to repository-admin-daemon 2009-04-21 09:30:54 +02:00
Fabio Erculiani 0ee8a00c4a entropy-system-daemon: improve scriptability and refresh code 2009-04-21 09:30:00 +02:00
Fabio Erculiani 58be209dc6 entropy.client.interfaces.package: trivial match_checksum output change 2009-04-21 08:29:09 +02:00
Fabio Erculiani 97f84255f5 entropy.db: cache unlock message output to avoid to flood the user 2009-04-21 08:28:22 +02:00
Fabio Erculiani cf0f40f109 update TODO 2009-04-21 00:51:37 +02:00
Fabio Erculiani 330b292247 entropy.client.interfaces.package: implement package signatures verification
when available.

SHA1, SHA256 and SHA512 are now checked client side together with MD5. This
improves package download reliability. Moreover, improve match_checksum method
to better handle error cases.
2009-04-21 00:49:54 +02:00
Fabio Erculiani b3424c587f entropy.server.interfaces: properly set signatures on package changes 2009-04-21 00:46:33 +02:00
Fabio Erculiani 96b610a75f entropy.db: new method setSignatures 2009-04-21 00:45:29 +02:00
Fabio Erculiani 13635788e5 entropy.db: retrieveTrigger, return empty string if no trigger is found 2009-04-21 00:29:34 +02:00
Fabio Erculiani 2b0bd68d0b Merge commit 'wael/master' 2009-04-20 22:01:30 +02:00
Fabio Erculiani 157a001354 entropy.services.interfaces: remove variable init which causes class
to fail loading
2009-04-20 21:57:18 +02:00
Fabio Erculiani 0891726abc update TODO 2009-04-20 20:39:44 +02:00
Fabio Erculiani 1c46d90cf9 unit testing: add server unit testing module 2009-04-20 20:39:17 +02:00
Fabio Erculiani 707da3675f entropy.server: ease fake repository init 2009-04-20 20:26:51 +02:00
Fabio Erculiani 125c20754d entropy.server: improve behaviour when server database is not physically
available and when running in fake mode
2009-04-20 20:25:26 +02:00
Fabio Erculiani f1bb40959c entropy.server: fix close_server_databases 2009-04-20 20:04:43 +02:00
Fabio Erculiani 0a28af0ee6 unit testing, db, client: cleanly close Client instances 2009-04-20 20:01:26 +02:00
Fabio Erculiani 437bbec087 entropy.server: add support for in-memory repositories 2009-04-20 20:00:46 +02:00