Commit Graph

5188 Commits

Author SHA1 Message Date
Fabio Erculiani cb66bf460a client updates daemon: new updates signal works as expected 2009-04-30 11:24:47 +02:00
Fabio Erculiani 615d4cac1b entropy.client.interfaces.Client: properly fill validRepositories
When repo_validation is False, validRepositories list was not filled
properly on __init__. This commit fixes the issue.
2009-04-30 11:21:10 +02:00
Fabio Erculiani 623e6769a7 client updates daemon: fix dbus signature of compare_repositories_status 2009-04-30 10:58:56 +02:00
Fabio Erculiani f04d3a3cd1 client updates daemon: phase 2.
Make the client update daemon a dbus system service, provide policy,
update Makefile. More to come (phase 3).
2009-04-30 10:39:17 +02:00
Fabio Erculiani e47d1c4f3d entropy.misc: LogFile, fix write to non-existent files (crate them) 2009-04-30 10:20:33 +02:00
Fabio Erculiani 58d92bf271 entropy client updates daemon: misc code cleanup and improvements. 2009-04-30 01:42:12 +02:00
Fabio Erculiani dd4d378f76 entropy.spm: fix PortagePlugin.use_reduce to work with unicode too 2009-04-29 15:47:33 +02:00
Fabio Erculiani ab237ea0d4 entropy.db: regenerateCountersTable, open counter file safely 2009-04-29 15:44:52 +02:00
Fabio Erculiani e894e9254f unit testing, db: add another package metadata handling test 2009-04-29 15:42:15 +02:00
Fabio Erculiani d1f1ff1c00 entropy.client.interfaces.metadata: when extracting license, make sure
that it is read correctly.

It can happen that licenses are written in UTF-8 directly, as previous
commit states.
Moreover, make sure that there's a perfect match between what is returned
by get_pkg_metadata and entropy.db.getPackageData
2009-04-29 15:40:25 +02:00
Fabio Erculiani 86347bf7da entropy.db: improve retrieveChangelog and retrieveLicensedata methods
There are certain changelogs and licenses which are written in UTF-8
directly, so, we should consider this case too
2009-04-29 15:39:18 +02:00
Fabio Erculiani 823882278a fix issue that caused the client repository to not being loaded
because of db errors in LocalRepository.__init__()
2009-04-29 15:09:07 +02:00
Fabio Erculiani 8649b444b8 entropy.client.interfaces.dep: remove deprecated methods 2009-04-29 15:00:54 +02:00
Fabio Erculiani 0a24291320 entropy.client.interfaces.methods: remove deprecated methods 2009-04-29 14:59:48 +02:00
Fabio Erculiani 472366c966 unit testing, db: add 2 new tests 2009-04-29 14:52:17 +02:00
Fabio Erculiani dc18e0f36b entropy.client/server/db: improve non-ASCII metadata handling.
extract_pkg_metadata now returns data in UTF-8 format and does it
correctly. This avoids failures on 'equo database generate' and
weird conversion conditions. Moreover, this commit should not break
backward compatibility since this is properly handled in entropy.db
methods.
2009-04-29 14:50:21 +02:00
Michele Tameni f20a8226be First draft uo update daemon 2009-04-28 17:43:23 +00:00
Fabio Erculiani 67181d308e 'equo help' support, thanks Ian Whyman for the suggestion 2009-04-27 17:28:19 +02:00
Fabio Erculiani fb5bf099e2 update TODO 0.88 2009-04-26 01:26:22 +02:00
Fabio Erculiani ee96eadb6f update translations 2009-04-26 01:26:14 +02:00
Fabio Erculiani a37c9f2198 entropy.server: improve support for expiration based packages removal 2009-04-26 01:01:25 +02:00
Fabio Erculiani 2deebc2ab6 Community Repositories: make it back working.
Community Repositories support was broken due to codebase changes
and introduction of SystemSettings, which now overwrites any
overridden setting. This commit fixes all the issues and also
improves the current support.
2009-04-25 23:21:30 +02:00
Fabio Erculiani 6cf7bd9ed1 update TODO 2009-04-25 22:36:29 +02:00
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