Fabio Erculiani
f225a7dab5
[entropy.fetchers] fix MultipleUrlFetcher output update function
2010-08-16 19:58:09 +02:00
Fabio Erculiani
526da6ba81
[entropy.client] trivial string update
2010-08-16 19:49:24 +02:00
Fabio Erculiani
16ef7d892e
[entropy.db] EntropyRepository: fix bogus implementation of searchKeySlot
2010-08-16 19:29:26 +02:00
Fabio Erculiani
59d499df6f
[entropy.client] when waiting in Client.wait_resources() and resources get unlocked, throw all cache away
2010-08-16 18:31:19 +02:00
Fabio Erculiani
11126779c2
[entropy.db] EntropyRepository: taint live cache items when updating them
2010-08-15 23:23:59 +02:00
Fabio Erculiani
01784d79e1
[entropy.db] update API (changed searchNameCategory arguments) and 2x speed of atomMatch() by caching several functions
2010-08-15 17:29:29 +02:00
Fabio Erculiani
46ba83ace2
[entropy.db] EntropyRepository.retrieveName: use cursor object returned by execute()
2010-08-15 16:59:57 +02:00
Fabio Erculiani
c719ec4f74
[entropy.db] EntropyRepository.addPackage: clear cache at the beginning of the function
2010-08-15 16:25:26 +02:00
Fabio Erculiani
3749ed5486
[entropy.db] EntropyRepository: remove unused attribute
2010-08-15 16:21:59 +02:00
Fabio Erculiani
6b8b7ab3d1
[entropy.spm] PortagePlugin: improve unpack_xpak() reliability
2010-08-15 15:41:32 +02:00
Fabio Erculiani
0d6dbc3f0a
[entropy.server] replace "database" with "repository" in ui messages
2010-08-15 15:32:25 +02:00
Fabio Erculiani
80c85b55d8
[entropy.client.interfaces.repository] move back post update repository hook execution to Repository class
2010-08-15 15:18:01 +02:00
Fabio Erculiani
b7a8dfc30a
[entropy.server] Server.add_packages_to_repository: fix blacklisted dependencies handling
2010-08-15 00:41:17 +02:00
Fabio Erculiani
ab0cc98a52
[entropy.server] repo_blacklist object must be list
2010-08-14 22:32:39 +02:00
Fabio Erculiani
dd622c18e5
[entropy.server] add support for per-package dependency blacklist
2010-08-14 19:18:17 +02:00
Fabio Erculiani
24bb03cffe
Tagging Entropy version 0.99.49.12
2010-08-14 08:42:06 +02:00
Fabio Erculiani
a6aa09f63d
[entropy.server] fix regression, remove duplicated os.remove()
2010-08-14 08:41:11 +02:00
Fabio Erculiani
eb771eee0a
Tagging Entropy version 0.99.49.11
2010-08-14 02:34:51 +02:00
Fabio Erculiani
018b851ce7
[entropy.client.interfaces.package] remove unneeded logging
2010-08-14 02:23:56 +02:00
Fabio Erculiani
73174f96fd
[entropy.client.interfaces.package] properly move preremove step after install
...
In order to avoid issues with Source Package Managers requiring stricter
conditions of live filesystem during install/remove steps, improve
package phases by separating install and removal, preremove and
postremove code.
2010-08-14 02:17:47 +02:00
Fabio Erculiani
0a014d32fb
[tests] also run const tests
2010-08-12 20:58:25 +02:00
Fabio Erculiani
2c46e97d4f
Tagging Entropy version 0.99.49.10
2010-08-12 20:51:22 +02:00
Fabio Erculiani
a09714f49f
[entropy*] improve mkdtemp/mkstemp usage
2010-08-10 18:11:38 +02:00
Fabio Erculiani
cc01fee65b
[entropy.server] dep_rewrite: make possible to remove dependencies by providing "-" as replacement
2010-08-10 08:41:13 +02:00
Fabio Erculiani
3f141d7340
[entropy.client.interfaces.dep] improve dep calculation performance for tagged packages by providing tags in reverse alphabetical order
2010-08-10 08:41:13 +02:00
Fabio Erculiani
bc03f7ef48
[entropy.client] make possible to disable differential repository update feature
2010-08-09 20:37:28 +02:00
Fabio Erculiani
91adc88f1b
[entropy.client.interfaces.db] remove dead code, EntropyRepository.generateReverseDependenciesMetadata does not exist anymore
2010-08-09 20:37:28 +02:00
Fabio Erculiani
7888475850
[entropy.db] EntropyRepository: rename validateDatabase() to validate(), deprecate validateDatabase()
2010-08-08 11:06:29 +02:00
Fabio Erculiani
0c7e75c131
[entropy.output] write warning and error messages to stderr by default
2010-08-08 11:02:15 +02:00
Fabio Erculiani
2fb3f559cb
[entropy.client.interfaces.cache] when checksum() fails in _all_repositories_checksum() report to user
2010-08-08 10:51:50 +02:00
Fabio Erculiani
e7ef727840
[entropy.db] EntropyRepository: when calling validateDatabase() also call checksum()
2010-08-08 10:46:07 +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
a499094ecf
[entropy.const] improve const_drop_privileges and const_regain_privileges reliability and usability
2010-08-07 18:30:12 +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
53f80631ad
[entropy.server] move ServerPackagesRepository and implement basic update() method
2010-08-01 10:23:35 +02:00
Fabio Erculiani
bde58b19a3
[entropy.db] EntropyRepository: remove @deprecated methods
2010-08-01 00:44:16 +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
4fbb068395
[entropy.db.skel] update todos
2010-07-31 16:13:49 +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
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
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