Fabio Erculiani
5b6da64e35
[entropy.db.skel] document further locking infrastructure assumptions
2013-12-07 20:25:55 +01:00
Fabio Erculiani
688b8f9796
[entropy.db.sqlite] clear in-RAM cache after lock acquisition
2013-12-07 20:25:55 +01:00
Fabio Erculiani
df4b71d6a9
[entropy.db.sqlite] use lock_path() instead of self._db for file locking
2013-12-07 20:25:55 +01:00
Fabio Erculiani
5e5b006da0
[entropy.db.skel] expose lock_path() and make file lock path configurable
2013-12-07 20:25:55 +01:00
Fabio Erculiani
58815a17ed
[entropy.const] add /run/entropy directory setup, expose it through etpConst['entropyrundir']
2013-12-07 20:25:55 +01:00
Fabio Erculiani
d9f76137f0
[entropy.db.skel] improve output during lock contention phases
2013-12-07 20:25:55 +01:00
Fabio Erculiani
d5634b2b29
[entropy.db.skel] write locking output to stderr
...
This avoids breaking scriptability of --quiet options
2013-12-07 20:25:55 +01:00
Fabio Erculiani
75b1d8498b
[entropy.db.skel] fix exclusive() wrt acquired bool
2013-12-07 20:25:55 +01:00
Fabio Erculiani
489e48ba46
[entropy.db.skel] warn when repository locks are being acquired
2013-12-07 20:25:55 +01:00
Fabio Erculiani
6f37738781
[entropy.client] always prefer installed_repository() over protected attribute
2013-12-07 20:25:55 +01:00
Fabio Erculiani
366fc37f59
[entropy.db.sqlite] implement locking infrastructure
2013-12-07 20:24:23 +01:00
Fabio Erculiani
a8fd6c52c0
[entropy.db.skel] warn about flock related methods usage
2013-12-07 20:24:23 +01:00
Fabio Erculiani
3d6021042f
[entropy.db.skel] split release() into release_shared() and release_exclusive()
2013-12-07 20:24:23 +01:00
Fabio Erculiani
6206c3de48
[entropy.db.sqlite] add _is_memory() method
2013-12-07 20:24:23 +01:00
Fabio Erculiani
4903d261da
[entropy.db.skel] add base API for handling flock based synchronization
2013-12-07 20:24:22 +01:00
Fabio Erculiani
8852a15913
[entropy.misc] add shared(), release() context managers to FlockFile
2013-12-07 20:24:22 +01:00
Fabio Erculiani
f28ab4f702
Release Entropy 247
2013-12-06 17:49:22 +01:00
Fabio Erculiani
0184dac617
[entropy.db.skel] fix matching of old style virtuals
...
When only a subset of the packages in a given key, slot expose
an old style virtual dep string (like virtual/linux-binary-lts),
make sure not to pull in all of them instead.
2013-12-06 16:13:43 +01:00
Fabio Erculiani
d029f5568c
Release Entropy 246
2013-12-06 09:20:51 +01:00
Fabio Erculiani
5c717701f7
[entropy.client.package.actions] fetch: pass metadata through _check_package_path_download
...
This method is called in the setup phase, when self._meta is still None.
2013-12-06 09:18:23 +01:00
Fabio Erculiani
f85c890f9a
Release Entropy 245
2013-12-05 23:42:17 +01:00
Fabio Erculiani
a2e1e6ba94
[entropy.client] delay installed repository initialization as much as possible
2013-12-05 23:11:36 +01:00
Fabio Erculiani
addd11b191
Release Entropy 243
2013-12-05 22:25:29 +01:00
Fabio Erculiani
9c7fdd5410
[entropy.tools] update docstrings for Entropy Resources Lock methods
2013-12-05 22:12:25 +01:00
Fabio Erculiani
b21eeaf4d2
[entropy.client.methods] make Entropy Resources Lock methods classmethods
2013-12-05 22:05:35 +01:00
Fabio Erculiani
82b85704ce
[entropy.output] make TextInterface methods classmethods
...
This makes possible to fix a circular dependency in the Entropy
Resources Lock management methods
2013-12-05 21:36:30 +01:00
Fabio Erculiani
4d20097e97
Release Entropy 242
2013-12-05 16:34:16 +01:00
Fabio Erculiani
8846e063ae
[entropy.db.sqlite] add preserved_libs related methods for backward schema compat
2013-12-05 16:33:41 +01:00
Fabio Erculiani
c6aced2bdc
Release Entropy 241
2013-12-05 16:23:55 +01:00
Fabio Erculiani
755c751d40
Release Entropy 240
2013-12-04 17:44:24 +01:00
Fabio Erculiani
43992dd452
[entropy.client.package.actions] install: fix entropy_install_unpack_hook() in case of smart packages
2013-12-04 17:43:44 +01:00
Fabio Erculiani
cedee6a35c
[entropy.client.package.actions] install: use the correct package_id
2013-12-04 17:38:56 +01:00
Fabio Erculiani
32027b2449
[entropy.spm] fix vdb handling wrt locking, fix several potential races
2013-12-03 16:29:56 +01:00
Fabio Erculiani
b70ceca1ce
[entropy.db.sqlite] drop retrieveSignatures
...
This is no longer needed here since support for the old schema
has been dropped (the schema update code will update the tables
anyway)
2013-11-30 12:18:39 +01:00
Fabio Erculiani
ec3d091c22
[entropy.db.sqlite] drop retrieveProvide and searchProvidedVirtualPackage
...
They are no longer needed since compatibility with the old metadata
has been dropped.
2013-11-30 12:16:06 +01:00
Fabio Erculiani
c8c20f03aa
[entropy.db] drop support for deprecated eclasses and messages metadata
2013-11-30 12:04:05 +01:00
Fabio Erculiani
c199b6839f
[entropy.db] remove support for deprecated provide metadata
2013-11-30 12:02:07 +01:00
Fabio Erculiani
a54f5b36bc
[entropy.db] drop 'dependencies' metadata support completely
2013-11-30 11:51:06 +01:00
Fabio Erculiani
a42711086b
[tests] tools: mute output
2013-11-30 11:23:40 +01:00
Fabio Erculiani
cd6d6b9d22
[tests] use const_mkdtemp() instead of tempfile.mkdtemp()
2013-11-30 10:54:13 +01:00
Fabio Erculiani
ac1548207d
[entropy.tools] restore python3 compatibility on newly tested functions
2013-11-30 10:53:42 +01:00
Fabio Erculiani
3a05acd16a
[tests] spm: use const_mkdtemp() instead of tempfile.mkdtemp
2013-11-30 08:25:30 +01:00
Fabio Erculiani
d3cfd35bf5
[entropy.client.package] reopen the installed packages repository to trigger schema updates
2013-11-29 21:49:42 +01:00
Fabio Erculiani
4d9397c140
Release Entropy 239
2013-11-29 20:01:22 +01:00
Fabio Erculiani
38810e2c83
[entropy.spm] PortagePlugin: drop dependencies metadata compatibility
2013-11-29 20:00:36 +01:00
Fabio Erculiani
a5761e0302
[entropy.server.db] migrate to pkg_dependencies
2013-11-29 19:57:01 +01:00
Fabio Erculiani
c9809f0775
[entropy.server] migrate to pkg_dependencies metadata
2013-11-29 19:56:20 +01:00
Fabio Erculiani
d10d82bebb
Release Entropy 238
2013-11-29 19:43:21 +01:00
Fabio Erculiani
a01f0bd103
[tests] mute QA and Security test function outputs
2013-11-29 19:41:08 +01:00
Fabio Erculiani
982d99fe30
[tests] client: silence tests
2013-11-29 19:37:24 +01:00