Fabio Erculiani
e4c25b6e5c
[sulfur] major: run application as unprivileged user, regain privileges only when needed
2010-08-07 19:11:26 +02:00
Fabio Erculiani
cd62ed35b1
[entropy.const] const_regain_privileges: do not raise ValueError if process is already privileged
2010-08-07 19:11:04 +02:00
Fabio Erculiani
721f1439fd
[sulfur.dialogs] catch PermissionDenied exception when storing UGC data fails
2010-08-07 18:30:40 +02:00
Fabio Erculiani
a499094ecf
[entropy.const] improve const_drop_privileges and const_regain_privileges reliability and usability
2010-08-07 18:30:12 +02:00
Fabio Erculiani
47e42eb891
[sulfur.setup] improve const class, make possible to reset variables by calling const.setup()
2010-08-07 18:29:31 +02:00
Fabio Erculiani
4e52e1161c
[entropy.const] const_drop_privileges/const_regain_privileges: keep etpConst['uid'] up-to-date
2010-08-07 16:22:55 +02:00
Fabio Erculiani
4a5f3a5e20
[entropy.const] add built-in drop/gain privileges functions
2010-08-07 16:06:38 +02:00
Fabio Erculiani
e9da541a42
[entropy.exceptions] add SecurityError exception
2010-08-07 15:17:25 +02:00
Fabio Erculiani
eec9d6cdd1
[entropy.const] add unprivileged user/group handling
2010-08-07 15:07:11 +02:00
Fabio Erculiani
d8822d18f1
[conf] add id-REPO mirror to repositories.conf
2010-08-07 09:16:41 +02:00
Fabio Erculiani
ef8929cf8a
[conf] add mirror.aarnet.edu.au to repositories.conf
2010-08-01 22:41:43 +02:00
Fabio Erculiani
53f80631ad
[entropy.server] move ServerPackagesRepository and implement basic update() method
2010-08-01 10:23:35 +02:00
Fabio Erculiani
2a89dde8d8
[todo] update TODO
2010-08-01 01:16:45 +02:00
Fabio Erculiani
0f42721e43
[equo] text_rescue: acquire Entropy locks when needed
2010-08-01 01:16:20 +02:00
Fabio Erculiani
15ff49b82b
[equo] text_smart: acquire Entropy locks when needed
2010-08-01 01:16:02 +02:00
Fabio Erculiani
3277ad4ebc
[equo] text_repositories: add return to _remove_repository and _add_repository
2010-08-01 01:15:14 +02:00
Fabio Erculiani
422aeec80b
[equo] text_security: acquire Entropy locks when calling "equo security install"
2010-08-01 01:04:07 +02:00
Fabio Erculiani
bde58b19a3
[entropy.db] EntropyRepository: remove @deprecated methods
2010-08-01 00:44:16 +02:00
Fabio Erculiani
77c010889c
[todo] update TODO
2010-08-01 00:42:43 +02:00
Fabio Erculiani
0b28ce42ed
[entropy.db] move handlePackage() implementation to entropy.server's ServerPackagesRepository
2010-08-01 00:41:55 +02:00
Fabio Erculiani
571beaaf12
[entropy.db] several EntropyRepository changes, listed below
...
- overridden handlePackage, addPackage, removePackage in respective
entropy.client.interfaces.db classes in a proper, secure way.
- overridden maskFilter in entropy.client.interfaces.db, the final
goal will be removing its logic from EntropyRepository and move
it to AvailablePackagesRepository only.
- removed any evidence of "client_repo" EntropyRepositoryPlugin(s)
metadatum.
2010-08-01 00:29:18 +02:00
Fabio Erculiani
063d6fe740
[todo] update TODO
2010-07-31 16:14:24 +02:00
Fabio Erculiani
4fbb068395
[entropy.db.skel] update todos
2010-07-31 16:13:49 +02:00
Fabio Erculiani
6edf4c331c
[todo] update TODO
2010-07-31 15:15:32 +02:00
Fabio Erculiani
fe18e38f32
[entropy] several QA improvements and API changes (trivial, but still)
2010-07-31 15:14:54 +02:00
Fabio Erculiani
b0a34a77c6
[equo] text_ui: always acquire entropy lock before doing anything
2010-07-31 13:10:30 +02:00
Fabio Erculiani
8782df8ae1
[equo] avoid race condition in try/finally in _do_text_cleanup
2010-07-31 12:57:33 +02:00
Fabio Erculiani
7cd67e4d79
[equo] when running "equo cleanup", make sure no other Entropy instances are running
2010-07-31 12:56:47 +02:00
Fabio Erculiani
71f1b63a13
[text_tools] make acquire_entropy_locks() and release_entropy_locks() actually working
2010-07-31 12:55:04 +02:00
Fabio Erculiani
e21b636bf6
[text_tools] add acquire_entropy_locks() and release_entropy_locks() functions
2010-07-31 12:43:20 +02:00
Fabio Erculiani
6993271143
[services] client-updates-daemon: only release pid lock if it has been acquired
2010-07-31 12:41:39 +02:00
Fabio Erculiani
62b48972d4
[entropy.db] EntropyRepository: listAllFiles() wasn't properly overridden
2010-07-31 10:27:59 +02:00
Fabio Erculiani
07de0b5cc5
[entropy.spm] PortagePlugin: remove linux-info pkg_setup() hack that fixed KV_OUT_DIR, no longer needed
2010-07-31 09:33:18 +02:00
Fabio Erculiani
5c5a6c369a
[equo] when running with --pretend, disable --ask
2010-07-30 23:48:30 +02:00
Fabio Erculiani
c288cd80b6
[entropy.db] remove reverse dependencies SQL, generate reverse dependencies metadata dynamically (also using on-disk cache)
...
This avoids repository database write access requirements and
improves reverse dependencies metadata reliability.
2010-07-29 19:34:04 +02:00
Fabio Erculiani
749a1b8263
[tests] db: add reverse dependencies test
2010-07-29 19:33:45 +02:00
Fabio Erculiani
b95ec5d4f1
[entropy.db] EntropyRepositoryBase: directly use checksum value returned by checksum()
2010-07-29 19:07:14 +02:00
Fabio Erculiani
4e003f81bc
[entropy.db] EntropyRepositoryBase.checksum() make "strings" the default
2010-07-29 19:06:49 +02:00
Fabio Erculiani
bba8ab945d
[entropy.const] add const_get_int() and use it in const_convert_to_unicode
2010-07-29 11:23:57 +02:00
Fabio Erculiani
09f5c76b91
Tagging Entropy version 0.99.49.6
0.99.49.6
2010-07-28 08:19:38 +02:00
Fabio Erculiani
9af987aa8c
[entropy.client.interfaces.dep] _generate_dependency_tree: catch TypeError when calling retrieveKeySlot with invalid data
2010-07-28 08:18:26 +02:00
Fabio Erculiani
aee668be7b
[entropy.tools] fix is_valid_path_string regexp
2010-07-28 07:24:30 +02:00
Fabio Erculiani
546e634b46
[magneto] move --startup-delay handling early in the pipe
2010-07-27 19:45:27 +02:00
Fabio Erculiani
bf78609ef1
Tagging Entropy version 0.99.49.5
0.99.49.5
2010-07-27 18:59:50 +02:00
Fabio Erculiani
57838fabdc
[entropy.misc] LogFile: re-add fileno() method
2010-07-27 18:56:21 +02:00
Fabio Erculiani
5be17018bd
Tagging Entropy version 0.99.49.4
0.99.49.4
2010-07-27 16:05:13 +02:00
Fabio Erculiani
b186bd2558
[magneto] add --startup-delay switch support, delay magneto startup by 30 seconds by default
2010-07-27 16:03:51 +02:00
Fabio Erculiani
ab8dc91766
[services] client-updates-daemon: fix available updates signalling when Sulfur is running
...
Sulfur holds Entropy general lock, which caused the daemon to not
run its duties whenever the installed packages repository is changed
(due to pkg updates/install/removal). Just skip the lock check since
it is not going to alter the content of available repositories in
any case.
2010-07-27 15:52:49 +02:00
Fabio Erculiani
92a53212ef
[entropy.tools] is_valid_path_string: also allow "_"
2010-07-25 23:04:21 +02:00
Fabio Erculiani
4c6eae07ca
[entropy.tools] make unpack_gzip and unpack_bzip2 atomic
2010-07-25 23:03:31 +02:00